Automatic bending mechanism

The utility model discloses an automatic bending mechanism. The automatic bending mechanism comprises a machine frame, a top flattening mechanism and a clamping mechanism, the top flattening mechanism and the clamping mechanism are respectively arranged on the machine frame, the clamping mechanism comprises an upper clamping plate and a lower clamping plate, the upper clamping plate is parallel to the lower clamping plate, a gap is arranged between the upper clamping plate and the lower clamping plate, and is used for placing products, and the top flattening mechanism is arranged at one side of the gap. By adopting the technical scheme, the automatic bending mechanism has the beneficial effects of capability of automatically bending pins of capacitor products, high positioning accuracy and high working efficiency, and moreover labor cost is effectively saved.