The invention provides a carton marking device, which belongs to the technical field of marking machinery. It includes an L-shaped pressure plate, a marking head, a connecting rod, a support screw, and a top pin. The middle end of the L-shaped pressure plate is hinged on the support lug through the first pin shaft. A long U-shaped groove is provided, the left end of the connecting rod is hinged on the second pin shaft, and the circular ring at the left end of the connecting rod is located in the annular groove of the left support, and the left end of the piston rod is connected with the long U-shaped groove at the right end of the connecting rod , the lower end of the L-shaped pressure plate is hinged on the connecting rod through the connecting rod pin, an elastic washer is arranged between the supporting screw and the left support, and the upper end of the supporting screw is provided with an arc fitting groove and is connected with the circular ring at the left end of the connecting rod. Fitting, the ejector pin can slide up and down and be arranged on the ejector pin supporting groove, and an ejector pin spring is arranged between the ejector pin and the ejector pin supporting groove. The invention not only realizes rapid marking on the carton, but also has reasonable structure, good reliability and long service life.