The invention relates to automatic vehicle positioning pin switching equipment in a flexible welding line. The equipment is formed by connecting a driving assembly, H-direction gripper assemblies, B-direction gripper assemblies and a T-direction gripper assembly. The driving assembly comprises a T-direction driving component, B-direction driving components, H-direction driving components, a T-direction linear guide rail, a T-direction driving bracket A, a T-direction driving bracket B, a B-direction and H-direction driving bracket, a T-direction and B-direction driving bracket A, a T-direction and B-direction driving bracket B, a fixed connecting frame A, a fixed connecting frame B, a cover plate, a switch bracket and a ranging switch; each H-direction gripper assembly comprises a transition bracket, a cylinder mounting board I, a cylinder I, a limiting stopper and a pressing block; each B-direction gripper assembly comprises a cylinder II, a cylinder mounting board II a positioning plate I, a connecting rod I, a pressing header I and a swinging arm I; the T-direction gripper assembly comprises a cylinder III, a positioning plate II, a cylinder head, a swinging arm II, a connecting rod II, a pressing header II, a connecting frame and a breathing block. The automatic vehicle positioning pin switching equipment is simple in structure and reliable in performance, can switch a positioning pin position at will, and is high in speed and switching precision, and very significant in the application effect.