Modular extractor device for removing bone cement from a bone cavity (C), including an elongated body with an axis of symmetry (X-X), a proximal end, arranged during use at the opening of the bone cavity (C), and a distal end, arranged during use at the innermost part of the bone cavity (C). The elongated body is partially hollow and is adapted to be inserted in said bone cavity (C) filled with bone cement. The elongated body includes a plurality of rigid elements coaxial to the axis (X-X) of said elongated body, partially hollow and anchored together. At least two adjacent rigid elements include a first main section, a second main section and a flange. A main section of at least one rigid element is inserted and held in position in a main section of the other rigid element of the at least two rigid elements.