An electrical connector for connecting an electrical component to a printed circuit board through a flexible printed circuit comprises a shell defining a receiving space and a spring plate assembled in a bottom of the shell. The spring plate includes a main section extending in the longitudinal direction and against the bottom of the shell and contact sections extending from the two opposite sides of the main section. The main section defines a protrusion towards the receiving space in order to prevent the electrical component from overcompressing the spring plate.