This study is aimed at improving the power quality of an onshore wind turbine connected to the grid, using a Unified Power Factor Controller. A six parallel operated onshore wind turbine is used as a model to demonstrate the effectiveness of the proposed system. The wind generating system consists of doubly fed induction generator connected to the wind turbine. An average model of the doubly fed induction generator is used and the control signals are generated using closed loop control. The unified power factor controller is modeled using grid and rotor side converters and controlled using closed loop pulse width modulated signals. The proposed system reduces the reactive power of the system, which is proved by simulating the system using MATLAB SIMULINK environment.