How to open a ZPL file
A .zpl file is plain text, so any text editor (Notepad, TextEdit, VS Code) opens it — but that only shows you printer commands like ^XA and ^FO, not the label. To see what the label actually looks like, paste the file’s contents into the free LabelZoom ZPL viewer, which renders it exactly as a Zebra printer would print it. No printer or installation needed.
First, check which kind of .zpl you have
Section titled “First, check which kind of .zpl you have”Two unrelated programs use the .zpl extension:
- Zebra ZPL label files — plain text starting with
^XAand ending with^XZ. This guide is about these. - Zemax lens design files — binary optical design data. If your file opens as unreadable characters and doesn’t contain
^XA, it’s a Zemax file and needs Zemax/OpticStudio, not a label tool.
Shipping platforms and marketplaces also deliver ZPL inside .txt files — same content, different extension.
Steps: view the label
Section titled “Steps: view the label”- Open the
.zpl(or.txt) file in any text editor. - Select all and copy — the code starts with
^XA. - Paste it into the ZPL viewer.
- Pick your printer’s density (8 dpmm / 203 dpi is the most common) and click Quick Preview.
The label renders on screen. From there you can download it as a PNG, or use ZPL to PDF if you need a printable document.
Just need to print it?
Section titled “Just need to print it?”If your goal is printing rather than viewing, see How to print ZPL from a .txt file.