The invention provides an inverter welding machine which comprises a switch, a driving circuit, a main circuit, a control circuit, a pulse width modulation (PWM) output circuit and a detection circuit, wherein the switch is respectively and electrically connected with the driving circuit, the main circuit, the control circuit, the PWM output circuit and the detection circuit; and the main circuit consists of a first rectifier circuit, a filter circuit, an inverter circuit, a transformer circuit, a second rectifier circuit and an output circuit. According to the inverter welding machine disclosed by the invention, a current peak is reduced, and thus the impact on a powder grid is reduced; input current harmonics are reduced, and thus the pollution to the power grid is greatly reduced; and in addition, compared with a electrolytic capacitor, a non-polarized capacitor has the characteristic that the service life is greatly prolonged, so that the cost is saved.