A leveling tool configured to be releasably attached to a pipe includes a level carried by a main body and a pair of first and second articulating arms extending from the main body. One or more magnets are carried by the arms. Each of the first and second arms is configured articulate so as wrap at least part way around a pipe. The first and second magnets are configured to releasably attach the first and second arms to the pipe.