The invention discloses equipment for performing on-line 360-degree up, down, left and right omnidirectional grinding and polishing on a pipe making machine. The equipment comprises a mounting frame with the effect of mounting a foundation as well as a right grinding head, a left grinding head, an upper grinding head and a lower grinding head with grinding effect; the mounting frame is a rectangular frame welded by steel plates; disks are welded and fixed at the two ends of the rectangular frame; four grinding head mounting plates are welded and fixed on the mounting frame; the right grindinghead, the left grinding head, the upper grinding head and the lower grinding head have the same structure; each of the right grinding head, the left grinding head, the upper grinding head and the lower grinding head consists of a guide rod, a main motor, a sliding box, a high-speed shaft, a grinding wheel, a screw rod, a lifting machine and a screw rod motor; and a stainless steel pipe is subjected to 360-degree omnidirectional grinding, polishing and sand pulling through the upper, lower, left and right grinding head structures, automatic down-pressing grinding is conducted according to the wearing capacity of a grinding wheel after the grinding wheel is worn, and the grinding action force on the pipe by up, down, right and right opposite arrangement of the four grinding heads has great assistance effect on pipe formation, so that the pressing force of a mold can be reduced, mold pulling damage and pulling scratching can be avoided, and abrasion of machine parts can be reduced.