The invention discloses a clamping device with flipping function, which comprises a frame, a servo motor is arranged under the frame, a driving gear is arranged on the output shaft of the servo motor, a first driven gear is arranged on one side of the driving gear, and a first driven gear is arranged on the side of the driving gear. The second driven gear on the other side of a driven gear, the first driven gear and the second driven gear are symmetrically provided with the same grabbing assembly, the grabbing assembly includes a first connecting rod assembly, the first connecting rod assembly One end is hinged with a second connecting rod, the other end of the second connecting rod is provided with a clamping part, the clamping part is connected to the clamping assembly, the clamping assembly includes a square base, the center of the square base is provided with a rotating table, and the end of the rotating table is provided with Clamping claws, a vertical rotation device is provided outside the square base, and the vertical rotation device is connected with the center of the rotating table. The invention realizes the controllable grasping force and the overturning operation of the articles, improves the reliability and stability of the overall device, makes the use more convenient, and saves time and effort.