An apparatus for bending ends, arranged in at least four annular layers (L1-L4), of straight or bent bar conductors of a stator of an electrical machine, in particular of an electric motor or generator, wherein the apparatus comprises a holder, in particular a clamping holder, for the stator, wherein the apparatus comprises at least four coupling members which are arranged concentrically with respect to a center axis and which each have at a front end a plurality of annularly arranged coupling recesses for gripping the ends of the bar conductors of one of the annular layers (L1-L4), respectively, and wherein the apparatus has for each coupling member a respective first drive device for displacing the coupling member in an axial direction of the center axis and a second drive device for rotating the coupling member about the center axis so that all the coupling members can be axially displaced and rotated independently of each other, characterized in that for each coupling member an individual drive platform is provided, wherein the coupling member is supported on the respective drive platform such that it can be rotated about the center axis, but is axially fixed on the drive platform, in that the drive platforms are individually displaceably arranged on a common fixed jacking rod assembly along the center axis, wherein the jacking rod assembly comprises at least two jacking rods which are arranged parallel with the center axis, and in that a respective drive platform comprises - the first drive device and the second drive device of the coupling member which belongs to the drive platform; - at least two jacking pieces for axially displacing the drive platform, wherein the jacking pieces are axially secured to the drive platform and are each coupled to one of the jacking rods, and wherein the jacking pieces are driven by the first drive device, and - a gear mechanism for rotating the coupling member relative to the drive platform, wherein the gear mechanism is coupled to the coupling member and is driven by the second drive device. wherein the apparatus comprises a holder, in particular a clamping holder, for the stator, wherein the apparatus comprises at least four coupling members which are arranged concentrically with respect to a center axis and which each have at a front end a plurality of annularly arranged coupling recesses for gripping the ends of the bar conductors of one of the annular layers (L1-L4), respectively, and wherein the apparatus has for each coupling member a respective first drive device for displacing the coupling member in an axial direction of the center axis and a second drive device for rotating the coupling member about the center axis so that all the coupling members can be axially displaced and rotated independently of each other, characterized in that for each coupling member an individual drive platform is provided, wherein the coupling member is supported on the respective drive platform such that it can be rotated about the center axis, but is axially fixed on the drive platform, in that the drive platforms are individually displaceably arranged on a common fixed jacking rod assembly along the center axis, wherein the jacking rod assembly comprises at least two jacking rods which are arranged parallel with the center axis, and in that a respective drive platform comprises - the first drive device and the second drive device of the coupling member which belongs to the drive platform; - at least two jacking pieces for axially displacing the drive platform, wherein the jacking pieces are axially secured to the drive platform and are each coupled to one of the jacking rods, and - the first drive device and the second drive device of the coupling member which belongs to the drive platform; - at least two jacking pieces for axially displacing the drive platform, wherein the jacking pieces are axially secured to the drive platform and are each coupled to one of the jacking rods, and wherein the jacking pieces are driven by the first drive device, and - a gear mechanism for rotating the coupling member relative to the drive platform, wherein the gear mechanism is coupled to the coupling member and is driven by the second drive device.