The invention discloses a driving device, a transmission device and a power tool for linear motion. The driving device comprises a power source, an actuator and a transmission part driven by the powersource to reciprocate linearly, the transmission part comprises an input part, a support part and an output part, a first sliding groove is formed in one of the input part and the support part, a shaft hole is formed in the other one of the input part and the support part, a second sliding groove or a circular hole is formed in the position of the output part, a driving shaft driven by the powersource to reciprocate linearly is arranged in one of the first sliding groove and the shaft hole, a fixed support shaft is arranged in the other one of the first sliding groove and the shaft hole, a driven shaft connected with the actuator is arranged in the second sliding groove or the circular hole, and all shafts are parallel to each other. According to the scheme, when the power source drivesthe transmission part, the shafts can move in the first sliding groove, so that the rotation of the transmission part is not restricted, the second sliding groove always exerts downward pressure or upward lifting force on an output shaft, the impact on the actuator can be reduced, the vibration of the actuator is reduced, and the impact strength is increased.