A U-beam clamp with a floating guide device is introduced,which can float both in the width direction of the U-beam and in the vertical direction of the U-beam's web to adapt to the side bending of the U-beam's flanks and the bending demand of the web to ensure the feeding positioning accuracy and the accuracy of the subsequent punching process.