A power tool is provided with an indicator with a light source for generating a marking. A holding device is secured on the power tool by positive fit. The indicator is releasably secured on the holding device, wherein the holding device is secured to a grip pipe. The holding device has a geometry that is matched to the geometry of the grip pipe such that the holding device is securable in only one position on the grip pipe.