Pipeline inspection robots play a crucial role in maintaining the integrity of pipeline systems across various industries. In this paper, a novel pipeline inspection robot is designed based on a four degrees-of-freedom (DOF) generalized parallel mechanism (GPM). First, a four DOF mechanism is introduced using numerical and graph synthesis. The design employs numerical and graph synthesis methods to achieve an ideal symmetric configuration, enhancing the robot’s adaptability and mobility. The coupling mid-platform, inspired by parallelogram mechanisms, enables synchronized contraction motion, allowing the robot to adjust to different pipe diameters. Then, the constraints of the pipeline inspection robot in the elbow are analyzed based on task requirements. Through kinematic and performance analyses using screw theory, the mechanism’s feasibility in practical applications is confirmed. Theoretical analysis, simulations, and experiments demonstrate the robot’s ability to achieve active steering in T-branches and elbows. Experimental validation in straight and bent pipes shows that the robot meets the expected speed targets and can successfully navigate complex pipeline environments. This research highlights the potential of GPMs in advancing the capabilities of pipeline inspection robots for real-world applications.