An indicator device is used in a machine for indicating the operation status of the machine. The indicator device includes a body detachably mounted to the machine, a plurality of circuit boards, which are detachably electrically coupled together, mounted inside the body and each provided with a plurality of light emitting elements arranged in a line, and a controller electrically connected to the circuit boards for controlling on/off status of the light emitting elements subject to the operation status of the machine.