Skip to content

How to open a ZPL file

A .zpl file is plain text. A text editor such as Notepad, TextEdit, or VS Code shows the ZPL commands, but not the label. To see the label, use the free LabelZoom ZPL viewer. You don’t need a printer or any installed software.

Two kinds of files use the .zpl extension:

File type How to recognize it Open it with
Zebra ZPL label Plain text that starts with ^XA and ends with ^XZ A ZPL viewer
Zemax lens design Unreadable characters and no ^XA Zemax OpticStudio

Shipping platforms and marketplaces also deliver ZPL in .txt files.

To view the label, follow these steps:

  1. Open the .zpl or .txt file in a text editor.
  2. Copy all of the text. The code starts with ^XA.
  3. Paste the text into the ZPL viewer.
  4. Select your printer’s density. The most common is 8 dpmm (203 dpi); for others, see Printer density.
  5. Click Quick Preview.

The label appears on screen, and you can download it as a PNG. For a printable document, use ZPL to PDF.