A device for marking natural and artificial grass surfaces, which comprises a mowing drum linked to a chassis, wherein the mowing drum comprises a plurality of cutting elements and can rotate around a main shaft, where a perforated sheet is arranged between the mowing drum and the grass surface, with said perforated sheet comprising a plurality of holes cut to an appropriate size so as to allow blades of grass to pass through them, in addition to an opening configured to facilitate the passage blades of grass to be cut by the cutting element.