A
transformer with an anti-theft function comprises a protection box and a supporting plate, a 4G communication module is fixedly connected to the middle end at the top of an inner cavity of the protection box, and two movable
doors with handles fixedly installed on the front surfaces are movably connected to the upper end of the front surface of the protection box through hinges, and a movable door is located at the left side of the protection box. According to the invention, by arranging a
fingerprint unlocking device, a
password unlocking device and an
electromagnetic lock, the safety can be improved; by arranging a
vibration sensor, and when the protection box is vibrated, a camera can be automatically started to
record the surrounding environment, so that the movable
doors are prevented from being opened forcedly; and by arranging the supporting plate, a first connecting rod, a first electric telescopic rod, a second connecting rod, a second sliding block, a rotating shaft, a second electric telescopic rod, a fourth connecting rod, a third connecting rod, a first stop rod, a fifth connecting rod and a second stop rod are arranged, lawbreakers can be trapped between the secondstop rod and the protection box, and the polices are convenient to capture the lawbreakers.