ZPL Viewer — Preview Zebra Labels Online
Paste your Zebra ZPL II code below (or load an example) to preview the rendered label in real time. Adjust the label size and print density (dpmm) to match your printer, then download the result as a PDF. A free online ZPL viewer — no printer or install needed.
ZPL code
Label preview
How to view a ZPL label online
- Paste your ZPL into the code box, or pick one from the Examples dropdown.
- Set the size (width × height in inches) to match your label media.
- Pick the density in dpmm to match your printer (203 dpi = 8 dpmm is the most common).
- Read the preview on the right — it redraws automatically as you type, or click Update preview.
To save the result, use the ZPL to PDF converter for a print-ready PDF or PNG.
Related ZPL tools
What Is ZPL?
Zebra Programming Language explained: syntax, essential commands, and a minimal label example.
ZPL to PDF
Convert Zebra ZPL labels to PDF or PNG and download them in one click.
ZPL Fonts
Built-in fonts A–H and the scalable font 0, with the ^A and ^CF commands.
ZPL Barcode Commands
Code 128, QR, Data Matrix and more — the ^BC, ^BQ, ^BX and ^BY commands.
Frequently Asked Questions
How do I view ZPL online?
Paste your ZPL code into the box above (or load an example) and the rendered label appears on the right instantly. The viewer sends your code to a rendering engine and shows the resulting image — no Zebra printer or software install required.
Is this a Labelary ZPL viewer?
It works the same way: your ZPL is rendered server-side into an exact label image, just like the Labelary engine. You get a live preview plus one-click PDF and PNG export.
Can I open a .zpl file?
Yes — open your .zpl (or .txt) file in any text editor, copy its contents, and paste them into the box. The viewer treats the text as a single label format (everything between ^XA and ^XZ).
What label size and density should I use?
Set the width and height in inches to match your media, and the density in dpmm to match your printer: 6 dpmm = 152 dpi, 8 dpmm = 203 dpi (most common), 12 dpmm = 300 dpi, 24 dpmm = 600 dpi. The wrong density makes the label look too big or too small.
Why is my label blank or cut off?
Common causes: the code is missing ^XA/^XZ, the ^FO position places the field outside the label area, or the density is wrong for the chosen size. Lower the ^FO values or increase the label size and re-render.