The invention discloses automatic online feeding and welding equipment. The automatic online feeding and welding equipment comprises a workbench and a controller, wherein a push-and-pull mechanism, a lifting mechanism and a four-axis module mechanism are sequentially arranged on the workbench in the length direction of the workbench, a tin soldering mechanism is connected on the four-axis module mechanism, a blocking mechanism is arranged at the position, corresponding to the joint of an assembly line and the workbench, of the workbench, and a bearing tool for bearing a PCB is arranged on the assembly line. An automatic online feeding and welding method comprises the following steps of S1, conveying the bearing tool to the workbench; S2, stopping the bearing tool moving continuously; S3, soldering tin; and S4, feeding the bearing tool into the assembly line. According to the automatic online feeding and welding equipment and method, high-precision positioning is achieved, the whole operation process is fully automatic, manual intervention is not needed, the workload of operators and the required cost are reduced, the occupied space ratio of the equipment is reduced, and the product quality and the working efficiency are improved; and the automatic online feeding and welding equipment not only can meet the requirements of a current production assembly line, but also can adapt to different welding procedures without changing the assembly line equipment.