The utility model discloses an electrical connector comprises an insulating body and a metal casing coating the insulating body. Multiple terminals are fixed into the insulating body. A shielding plate in contact with the metal casing is fixed to the insulating body. The end of the shielding plate close to a plugging interface is of a continuous S-shaped bending structure. Due to the structure, functions such as positioning and grounding are reasonably arranged, the area of the insulating body occupied by the shielding plate is reduced, more room is made for the insulating body, the strength of the insulating body is enhanced, and the shielding performance of the electrical connector is ensured.