The invention discloses a universal automatic pipe making machine. The universal automatic pipe making machine comprises a steel belt clamping and conveying device, horizontal rolling devices, foldingrolling devices, a shaping device, an automatic grinding device and a straightening device, wherein the steel belt clamping and conveying device, the horizontal rolling devices, the folding rolling devices, the shaping device, the automatic grinding device and the straightening device are sequentially arranged, and the horizontal rolling devices, the folding rolling devices, the shaping device and the straightening device are each of an adjustable rolling structure. The universal automatic pipe making machine is high in universality degree, when products with different pipe diameters are made, it is only needed to adjust the transverse and longitudinal positions of rolling dies of the horizontal rolling devices, the folding rolling devices, the shaping device and the straightening device,and it is not needed to replace roller shaft dies, so that the production efficiency is high; each device can be automatically adjusted by using a servo motor and a central control system, so that the automation degree of the equipment is high; and the straightening device is arranged, so that finally discharged pipes can have high straightness and excellent quality.