The invention relates to a pipeline robot. The pipeline robot comprises a pipeline robot body, wherein the pipeline robot body comprises a moving carrier, the moving carrier comprises a vehicle body, wheels, flexible axles for connecting the vehicle body with the wheels as well as a swing rod and slider mechanism, and the swing rod and slider mechanism is connected with the vehicle body and the flexible axles and used for adjusting an included angle between each wheel and the vehicle body; the pipeline robot body further comprises a base arranged on the moving carrier, a pan-tilt, lever mechanisms for connecting the pan-tilt with the base, an illuminating lamp on the pan-tilt and a camera connected with the pan-tilt. According to the pipeline robot, the included angle between each wheel and the vehicle body is adjustable, so that the outer edge of the wheel is still directly contacted with the wall surface when the robot works in pipelines with different pipe diameters, the contact area of the outer edge of the wheel and the wall surface of a pipeline is increased, the robot operates more stably in the pipeline, and further, larger driving force can be supplied by means of the structure; the driving wheels and the vehicle body are connected through the flexible axles, accordingly, the included angle between each wheel and the pipeline robot is adjustable, and sufficient driving force can be guaranteed.