The invention discloses welding equipment with a smearing mechanism for exhaust pipes of upper shells of air-conditioning compressors. The welding equipment comprise a bearing pond and controllers. Abase, a nitrogen supply device and a worktable are sequentially arranged in the bearing pond from bottom to top, a plurality of base plates are arranged on the worktable, clearing stations, smearing stations and welding stations are arranged on the bearing pond, a support plate is arranged at the end, which is close to the clearing stations, of the bearing pond, a clearing mechanism and a dust collection mechanism are arranged on the support plate, the smearing mechanism is arranged on the side, which is close to the smearing stations, of the bearing pond, a welding mechanism is arranged on the side, which is close to the welding stations, of the bearing pond, gas outlet assemblies are arranged on the base plates and are connected with the nitrogen supply device by nitrogen delivery pipes,nitrogen electromagnetic valves are arranged between the nitrogen supply device and the nitrogen delivery pipes, and stepper motors, the nitrogen electromagnetic valves, the nitrogen supply device, the clearing mechanism, the smearing mechanism and the welding mechanism are electrically connected with the controllers. The welding equipment has the advantages that that welding paste can be automatically smeared by the welding equipment, accordingly, the smearing efficiency can be improved, and the brightness of the exhaust pipes and the upper shells can be guaranteed.