A device for bending tubular workpieces includes a straight workpiece section that extends in a longitudinal direction and is held in a clamping device. A bending tool for bending the workpiece around a bending axis, running transversely to the longitudinal direction, has a radial part and a bending part. The radial part is rotatable about the bending axis. The bending part can be pivoted relative to the radial part for bending the workpiece about the bending axis. For rotatable driving, a radial driveshaft is coupled to the radial part, and a bending driveshaft is coupled to the bending part. To very flexibly create a plurality of different bends and to be able to use variable bend geometries, the radial driveshaft and the bending driveshaft extend in the longitudinal direction. The radial driveshaft and/or the bending driveshaft are designed as a hollow shaft, and one is arranged coaxially around the other.