In this research, a new nonlinear and adaptive state feedback controller with a fast-adaptive robust differentiator is presented for grid-tied inverters. All parameters and external disturbances are taken as uncertain in the design of the proposed controller without the disadvantages of singularity and over-parameterization. A robust differentiator based on the second order sliding mode is also developed with a fast-adaptive structure to be able to consider the time derivative of the virtual control input. Unlike the conventional backstepping, the proposed differentiator overcomes the problem of explosion of complexity. In the closed-loop control system, the three phase source currents and direct current (DC) bus voltage are assumed to be available for feedback. Using the Lyapunov stability theory, it is proven that the overall control system has the global asymptotic stability. In addition, a new simple L filter design method based on the total harmonic distortion approach is also proposed. Simulations and experimental results show that the proposed controller assurances drive the tracking errors to zero with better performance, and it is robust against all uncertainties. Moreover, the proposed L filter design method matches the total harmonic distortion (THD) aim in the design with the experimental result.