ZPL Viewer
See your label before you send it to print.
Code changed — this preview shows the previous code. Press Generate preview.
Keep your label in your account and go back to earlier versions when you change it next time.
If your payment just went through, the plan is activated by Stripe's confirmation within seconds — reload the page and the save panel appears.
This free online ZPL viewer renders Zebra ZPL code in your browser — no printer and no installation. Use it as a ZPL file viewer to open .zpl or .txt files, or paste code directly; the label is drawn to scale, following Zebra's published ZPL command reference.
What is a ZPL viewer?
A ZPL viewer takes Zebra Programming Language text — the ^XA…^XZ commands a thermal printer executes — and draws the label those commands would produce, so layout, fonts and barcodes can be checked before anything is printed. Labelixa's viewer runs in the browser and renders on the server: nothing to install and no Zebra printer required.
Facts at a glance
- Input
- ZPL text, pasted or opened from a .zpl / .txt file; up to 1 MB per request.
- Output
- PNG and PDF download; multi-label ZPL becomes one page per ^XA…^XZ block.
- Resolution
- 6, 8, 12 and 24 dpmm (152, 203, 300 and 600 dpi), drawn at real size.
- Validation
- Inline diagnostics with line numbers: missing ^FS, unknown commands, fields outside the label bounds.
- Installation
- None — it runs in the browser. Anonymous use is free: 3 requests per second, 5,000 labels and 10,000 API requests per month, up to 50 labels per request.
- Watermark-free
- On every plan, including the free tier.
- API
- The same renderer over REST: POST /v1/printers/{dpmm}dpmm/labels/{width}x{height}/{index} with the ZPL as the body returns PNG, or PDF with Accept: application/pdf. See the API reference.
- MCP
- A remote MCP server at api.labelixa.com/mcp exposes preview and validation as tools for MCP-capable AI clients. See the MCP server page.
- Fidelity
- The preview is a server-side interpretation of the published ZPL command reference — not a guarantee of a specific printer's physical output.
How to use the ZPL viewer
- Paste your ZPL code into the editor, or open a .zpl / .txt file with the Open file button.
- Pick the label size and the printer density (6, 8, 12 or 24 dpmm) that match your printer.
- The label renders instantly at its real size; structural problems are listed with their line numbers.
- Download the result as PNG or PDF, or copy a permalink that restores the exact editor state — code, size and density included.
Troubleshooting
- Half of the label is missing — Usually a missing ^FS: the field never closes, so the following commands write into it. The diagnostics panel points at the exact line.
- Content is silently cut off — A field placed outside the ^PW/^LL bounds is clipped without an error. Check the overflow warnings in the panel.
- The label looks too small or too large — ZPL coordinates are dots, and a dot's physical size depends on density. The same code targets fewer millimetres on a 12 dpmm printer than on an 8 dpmm one — make sure the density here matches your printer.
Frequently asked questions
Can I preview ZPL without a Zebra printer?
Yes. Paste the ZPL here and the label is rendered on the server and shown in the browser; no printer, driver or installation is involved.
Can I convert ZPL to PNG or PDF?
Yes. Render the label, then download it as PNG or PDF; the same conversion is available over the REST API for automation.
Does the viewer validate or debug ZPL?
It lints as you type: missing ^FS, unknown commands and fields outside the label are listed with their line numbers so they can be fixed before printing.
Is the output watermark-free, and is it free of charge?
No watermark on any plan. Anonymous use is free within the rate limit; a free account keeps 5 saved labels; paid plans raise the monthly label and request quotas and add templates, assets and bulk production.
Can an AI assistant use this renderer?
Yes, through the remote MCP server: an MCP-capable client such as Claude Desktop connected to api.labelixa.com/mcp can call zpl_validate and zpl_preview as tools. Details are on the MCP server page.
Related: browse the ZPL commands reference to look up every ^ command this viewer supports, and read the custom fonts in ZPL guide before using the font embed button. Switching from Labelary? See the honest Labelary comparison.
Same engine, same result: REST API, command line, or an AI assistant over MCP. Anonymous calls work; an API key raises the quota.
curl -X POST "https://api.labelixa.com/v1/printers/8dpmm/labels/4x6/0" --data-binary @label.zpl -o label.pngnpx labelixa preview label.zpl --out label.pngclaude mcp add --transport http labelixa https://api.labelixa.com/mcp # zpl_previewAPI reference · MCP setup · ZPL preview API overview
Need it on paper? Send labels to your own printer with DirectPrint