The invention relates to a hydraulic ripper for excavators used to break up and remove hard elements from the ground, such as stone, concrete, asphalt or similar elements, which includes a shank (1) connected to the head (5) of the excavator by means of a plurality of attachment elements (6) and which includes at least one shank (1) with an actuator means (2, 3) secured to a battery (4), wherein the assembly of the shank (1), the actuator means (2, 3) and the battery (4) is secured to said shank (1) and positioned on the longitudinal axis (7) of the shank (1), and wherein said axis (7) is the axis on which the ground is ripped between the retracted (A) and extended (B) positions of the shank (1).