The invention relates to a forklift which is mainly formed by a forklift body, a lifting frame, horizontal guide rails, longitudinal guide rails, horizontal drive cylinders, forks, longitudinal drivecylinders, clamping blocks, clamping drive cylinders and clamping block rotating drive devices. According to the forklift, the two forks can be driven to move horizontally through the horizontal drivecylinders, so that a forking position can be adjusted, an opening range of the forks can be adjusted, and the working efficiency is improved. In addition, due to the longitudinal guide rails, the twoforks can move up and down within a certain range, so that the carrying requirement of special cargoes is met, and the application range of the forklift is increased. Meanwhile, the clamping blocks are additionally arranged at the front ends of the forks so as to clamp a cargo, so that the safety of the cargo to be transferred is improved. The clamping blocks are stretched and retracted through lateral rotating, so that the capability of the clamping devices on bearing an overturning moment produced by a counterforce of a cargo clamping force is better.