In this study, a filter-based control scheme is developed for a single-phase grid-connected inverter system with the local load. Improving the quality of the local load voltage in the grid-connected mode and injecting clean current to the grid at the same time is the main objective of the proposed scheme. Moreover, unity power factor at the grid side for different types of the local load is ensured by the proposed controller. Furthermore, this control approach ensures the seamless transfer between grid-connected and stand-alone operation modes without adjusting the controller structure and without any resynchronisation scheme. The proposed scheme is validated by the Lyapunov stability analysis. Moreover, an experimental testbed has been implemented to further validate the controller in the real-time environment, as well as, the performance is compared to a conventional approach.