Pipe climbing robots are helpful for pipe inspection and repair and have attracted much attention over the years. However, most of them were either tethered or bulky. In this thesis, we demonstrate a compact untethered pipe climbing robot, actuated by a battery-powered electromagnetic actuator, that has the advantage of being untethered, small in size, light-weighted, and fast crawling. The robot can climb within pipes with a diameter of 42 mm, positioned in a horizontal or an inclined orientation, with the fastest speed of 96 mm/s, and the robot can also climb vertically, pulling a relatively heavy load (battery). The robot body consists of two 3D-printed segments with two sets of tailored, flexible metal bristles attached to each segment, which provide anisotropic friction to allow the robot to move forward effectively and efficiently.