A tube bender includes a worktable, a rail on the worktable, a tube-pushing device and a tube-bending device. The tube-pushing device is positioned on the worktable, having a moving base and a clamper at one side of the moving device. The clamper clamps a tube being bent, and a push driver moves the moving base together with the tube work to a preset location. The tube-bending device consists of a base unit, a guide unit and a driving unit, and when the tube work is moved to the tube-bending device, it is bent by the tube-bending device, with a guide roller and a main roller sandwiching the tube for preventing the bent section of the finished tube from disfiguring.