A tool for extracting a pin from a substrate comprises a first lever arm with a body part having a cavity in which the free end of a pin can be received, and a second lever arm which can pivot relative to the first lever arm. A jaw component is provided within the body part which can be actuated from an unlocked position in which a pin within the jaw component can slide freely past the jaw component, and a locked position in which the pin is gripped by engagement of the jaw component with the side wall of the pin, and a support is provided which can slide relative to the body part, in a direction towards the substrate from which the pin is to be extracted. Initial movement of the first lever arm relative to the second lever arm causes the jaw component to be actuated from its unlocked position to its locked position so that an inserted pin is gripped by the jaw component. Continued movement of the first lever arm relative to the second lever arm causes the support to slide relative to the body part, so that an inserted pin which is gripped by the jaw component is displaced relative to the substrate.