The invention discloses a molding device for an electrical connector buckle of a switch cabinet. The molding device comprises a base and a molding mechanism, and further comprises a positioning mechanism and a conveying mechanism, wherein the molding mechanism is arranged on the base used for molding a connector on the base; the positioning mechanism is arranged on one side of the base, and used for guiding and limiting a coiled material; and the conveying mechanism is arranged on the base, used for conveying the coiled material, and arranged between the positioning mechanism and the molding m...