We developed a compact, diode-end-pumped, eye-safe laser rangefinder transmitter, which is based on the passively Q-switched Er–Yb:glass laser with a Co:Spinel plate as a saturable absorber (SA). The linear cavity laser considers a concave and a plane mirror with the cavity length is only 20 mm. The repetition rate can be tuned from 1 Hz to 8 Hz at the wavelength of 1535 nm. Our laser system operates stably at peak power > 250 kW and pulse width of 4.5 ns.