The invention relates to the technical field of connectors, and particularly discloses a connector with a shielding function, which comprises a shell and a circuit board accommodated in the shell, the circuit board is provided with conductive
welding spots and a grounding part, the circuit board is connected with an external cable through a conductive group, the circuit board is provided with a housing used for separating the plurality of conductive
welding spots, the housing is provided with a shielding
assembly used for covering the conductive
welding spots, and the shielding
assembly comprises a cover body made of a
magnetic isolation material. The arrangement of the housing can effectively separate and protect a plurality of conductive welding spots on the circuit board, prevents
short circuit or mutual interference among the conductive welding spots, improves the reliability and stability of the circuit board, and the shielding
assembly can further enhance the protection of the conductive welding spots, reduces the interference of an external
electromagnetic field on the conductive welding spots through the
shielding effect, and improves the reliability of the circuit board. And meanwhile, an
electromagnetic field generated by the conductive welding spot is prevented from influencing the external environment.