TSPL to ZPL converter
Paste TSPL code, check the preview, and get ZPL that prints the same label on a Zebra printer. The label is drawn by the engine and written as a ^GFA graphic, one per label.
Convert to ZPL
Each label is drawn at the size and density above and written as one ^GFA graphic: it prints the same on any ZPL printer.
How to use it
- Paste your TSPL and pick the label size and density.
- Check the preview.
- Press Convert to ZPL, then copy the ZPL or download the .zpl file.
From your own code
curl https://api.openzpl.com/v1/printers/8dpmm/labels/4x6/ \ -H "X-Language: tspl" -H "Accept: application/pdf" \ --data-binary @label.tspl > label.pdf
More tools
Questions
How does the conversion work?
The engine draws each TSPL label at your printer's density and the result is written as one ^GFA graphic per label. It prints exactly what the preview shows on any ZPL printer, at the density you picked.
Can I edit the text in the ZPL afterwards?
No. The text and barcodes are part of the graphic, not ZPL fields. To edit them, change the TSPL and convert again, or rebuild the label in the ZPL viewer.