The invention discloses a pile driver. The pile driver comprises a platform, a pile driving device, a walking device and a clamping device. Wherein the piling device is connected to the upper portion of the platform and comprises a piling device used for installing a pile and a pressurizing device connected with the piling device, and the pressurizing device is used for providing vertical acting force for the piling device to pile the pile; the walking device is connected below the platform and used for walking on the ground; the clamping device is connected to the lower portion of the platform and comprises a fixed clamping device, a sliding clamping device and a clamping driving part, the fixed clamping device and the sliding clamping device are both used for clamping the pile wall, the fixed clamping device is fixedly connected to the platform, the sliding clamping device is slidably connected to the platform, and the clamping driving part is connected to the platform. The clamping driving part is connected with the sliding clamping device so as to drive the sliding clamping device to slide along the platform. By applying the pile driver provided by the invention, ground construction and water construction can be realized, the breaches of a polder embankment can be quickly blocked, the life safety of construction rescue personnel is guaranteed, and the life and property loss of people in a flood discharge area is reduced.