This research paper proposes the shunt active filter (SHAF), which is used to improve the power quality of the electrical network by mitigating the harmonics with the help of Types-1 and -2 fuzzy logic controllers (Types-1 and -2 FLC) using different fuzzy membership functions (MFs). To carry out this analysis, active and reactive current (I d -I q ) control strategy is chosen. Threephase reference current waveforms generated by proposed scheme are tracked by the three-phase voltage source converter in a hysteresis band control scheme. The performance of the proposed control strategy has been evaluated in terms of harmonic mitigation and DC-link voltage regulation under various source conditions. To maintain DC-link voltage constant and to generate the compensating reference currents, the authors have developed Types-1 and -2 FLC with different fuzzy MFs (trapezoidal, triangular and Gaussian). The I d -I q control strategy with proposed Type-2 FLC is able to eliminate the uncertainty in the system and SHAF gains outstanding compensation abilities. The detailed real-time results using real-time digital simulator are presented to support the feasibility of proposed control strategy.