The clamping and transferring device comprises a fixing plate, and the two sides of the top end and the two sides of the bottom end of the front face of the fixing plate are fixedly connected with side plates and side frames respectively. When the clamping device is used, the clamping hand is located at the top end of a product, then the third motor drives the eccentric rotating rod to rotate, the eccentric rotating rod presses the sliding rod downwards through the fisheye bearing, clamping plates of the clamping hand are located on the two sides of the product, then the first motor drives the clamping plates through the lead screw to clamp the product, and then the eccentric rotating rod rotates; the clamping hand drives the product to ascend, then the clamping hand slides towards the side face, the eccentric rotating rod rotates by 180 degrees in the sliding process, when the clamping hand slides to the middle section, the product is lifted by a certain height, and the product is transferred to the target position, the eccentric rotating rod rotates, the sliding rod drives the clamping hand to descend, the clamping hand is opened, and the product is separated. The clamp can flexibly lift and slide left and right, the use cost is low, and the structure is simple.