No upload, 100% local, no account

ZPL Label Viewer and Converter

Preview Zebra ZPL II code offline with barcode, QR, and graphic rendering plus SVG, PNG, or PDF export.

Developer · No upload, 100% local, no account

ZPL Viewer: how it works

Preview and debug Zebra Programming Language (ZPL II) labels right inside your browser without sending customer addresses, SKU tracking numbers, or warehouse manifests to remote rendering APIs. The local parser interprets common layout, text block, graphic box, compressed Z64/hex bitmap, Code 128, EAN-13, UPC-A, Code 39, and QR commands at 203 or 300 DPI, flags unsupported commands transparently, and exports crisp PNG, SVG, or exact-size thermal PDF files.

How to use ZPL Viewer, step by step

  1. Paste ZPL II code starting with ^XA, drop a local .zpl or .txt file, or load one of the built-in shipping or warehouse templates.
  2. Select your target label dimensions (4x6 in, 4x2 in, 100x150 mm, or custom inches) and print density (203 or 300 DPI).
  3. Inspect element diagnostics, parser warnings for any unsupported commands (such as ^BX DataMatrix), and reverse-field positioning.
  4. Navigate between multiple ^XA / ^XZ labels when inspecting multi-label ZPL scripts or repeat ^PQ counts.
  5. Click Download PDF, Download PNG, or Download SVG to export your rendered label locally.

Common use cases

  • Warehouse Label Template Debugging: Verify ^FO coordinates, ^FB text wrapping, and barcode sizing before wasting thermal rolls.
  • PII-Safe Address Inspection: Preview live carrier ZPL payloads locally without transmitting recipient names to cloud converters.
  • Archive Print Proofs: Convert generated ZPL dispatch labels into physical 4x6 in PDF proofs for support tickets or ERP docs.
  • Multi-DPI Scaling Check: Compare 203 DPI and 300 DPI label dimensions cleanly in real time.

Frequently asked questions

Does this ZPL viewer send label code to Labelary or any remote API?

No. Parsing, barcode module encoding, SVG rendering, PNG rasterization, and PDF creation run 100% locally in your browser with zero external requests.

Which ZPL II commands and barcodes are supported?

The parser supports ^XA/^XZ, ^PW/^LL/^LH, ^FO/^FT, ^FD/^FV/^FH, ^A0/^CF/^FB, ^GB/^GC/^GE/^GD, ^GF (ASCII hex & Z64/B64), ^FR, ^BC Code 128, ^BE EAN-13, ^BU UPC-A, ^B3 Code 39, ^BQ QR, ^CI28, and ^PQ.

What happens if my ZPL file contains an unsupported command like ^BX or ^B7?

Instead of silently dropping geometry, the viewer lists each unsupported command and line offset clearly in the diagnostics warning banner.

Does the exported PDF match real physical label dimensions?

Yes. Selecting a 4x6 inch label exports an exact 288 x 432 pt PDF page ready for direct printing.

Can I preview compressed ^GF graphic logos inside ZPL scripts?

Yes. Both ASCII hex ^GF blocks and Z64 zlib-compressed bitmap blocks decode and render directly in memory.

Sources