ZPL Viewer & PDF Converter

Open a ZPL file or paste Zebra label code. Preview shipping labels at your label size and printer DPI, then convert them to a PDF in your browser.

Label preview

Open a ZPL file or load the sample, then preview the labels here.

Preview ZPL shipping labels before printing

ZPL (Zebra Programming Language) describes what a thermal printer should print, including text, barcodes, and graphics. Open a .zpl or .txt file exported by a shipping or warehouse system, or paste the code directly. Use Load sample to try a 4 × 6 in shipping label. Your files and labels are processed in your browser.

Match your label size and printer DPI

Enter the width and height of your label roll in inches or millimeters, select the printer resolution, and choose Preview labels. For example, a 4 × 6 in label at 203 DPI spans 812 × 1,218 printer dots. ZPL positions are in dots, so the same code can take up a different amount of space at 300 DPI.

Check that barcodes and text fit within the white label area. If content reaches an edge, check the selected media size and printer resolution, then check commands such as ^FO (field origin), ^PW (print width), and ^LL (label length). Labels that use fonts, graphics, or formats stored only on the printer may look different in the preview.

Convert ZPL to a label-size PDF

Choose Download PDF after checking the preview. The PDF has one page per label, with the physical dimensions you entered. If you print the PDF, choose Actual size or 100% so the print dialog preserves those dimensions. If the file contains several labels, use the preview controls to check each one before you download.

Show more related tools