The invention discloses a method for binding files through binding equipment. The binding equipment comprises a binding machine body, a binding cavity is formed inside the binding machine body, the top of the binding cavity is provided with a fixed oil cylinder, a two-stage punching mechanism is arranged in the fixed oil cylinder, the binding equipment further comprises a first-stage fixing mechanism and a second-stage fixing mechanism, and the first-stage fixing mechanism further comprises a fixed oil cylinder piston and a fixed pressing rod. By means of the equipment, mechanical design is reasonable and ingenious, installation, maintenance and overhaul are quite convenient, meanwhile, accurate positioning is achieved through butt connection, binding precision is improved, packaging torque is effectively controlled, file safety is improved, economic loss is prevented from being caused to enterprises, files are subjected to step-by-step operation, operation steps are reduced, operationexperience is improved, binding efficiency is improved, and completeness and attractiveness of top decoration are ensured after installation.