This paper presents a real-time identification method for LCL filters used with three-phase grid converters. The method can be applied to identify both the inductance and capacitance values of the filter and the series resistance seen by the converter. As a side-product, an estimate of the grid inductance seen from the point of connection is also obtained. A wideband excitation signal is added to the converter voltage reference. During the excitation, converter current and converter voltage reference samples are used for identification. The samples are preprocessed in real time by removing DC biases and significant grid-frequency harmonics. Parameters of two discrete-time models are estimated at each sampling instant with a recursive estimation algorithm. Depending on the estimated model, the model parameter estimates are translated to either the resistance or the inductance and capacitance values of the system. The method can be embedded to a control system of pulse-width-modulation (PWM) based converters in a plug-in manner. Only the DC-link voltage and converter currents need to be measured. Simulation and experimental results are presented for a 12.5-kVA grid converter system to evaluate the proposed method.