The invention is suitable for laser marking and provides a laser marking machine. The laser marking machine comprises a laser, a beam expander, a scanning galvanometer assembly and a flat field focusing lens. Laser light emitted by the laser is expanded by the beam expander, then enters the scanning galvanometer assembly, passes through the flat field focusing lens, and then is projected to the surface of a workpiece. A zoom lens assembly is arranged on a transmission light path of the laser light. The zoom lens assembly is arranged between the laser and the beam expander or between the beam expander and the scanning galvanometer assembly.