The invention discloses a digital printing machine. The digital printing machine comprises a machine frame, a printing trolley, an operation platform and a conveying mechanism, wherein the printing trolley, the operation platform and the conveying mechanism are arranged on the machine frame; the machine frame comprises a first side plate, a second side plate opposite to the first side plate, a first lower side plate and a second lower side plate opposite to the first lower side plate. A containing space is defined by the first side plate and the second side plate jointly. The operation platform is located on the upper portion of the containing space. The conveying mechanism is used for conveying paper and comprises a paper conveying roller, a transition roller, a first tensioning roller, afirst guide roller, a tension roller, a rubber roller, a first spreading roller, a second tensioning roller, a second guide roller and a paper collection roller. The paper conveying roller, the transition roller, the first tensioning roller, the first guide roller, the tension roller, the rubber roller, the first spreading roller, the second tensioning roller and the second guide roller are contained in the containing space. Thus, the effect that paper is tensioned in the conveying process can be effectively ensured, paper is prevented from winkled, and meanwhile, the overall structure is more compact.