ZPL editor online: design the label, get the ZPL

This ZPL editor works like a label designer. Place text, a barcode, a QR code or an image on the label, and mylabelmaker turns the whole label into ZPL for your Zebra. Already have ZPL code to check? Paste it into the ZPL viewer online.

Think of it as a ZPL designer online: pick your Zebra's DPI (203, 300 or 600), then print the label to the Zebra or download a .zpl file. Designing labels is free. Printing, downloading, exporting or batch printing may need a payment. The price, and how long access lasts, are shown before you pay.

How it works

Place text, a barcode and a QR code, then get one ZPL graphic

You lay the label out with words, bars and a QR code. mylabelmaker draws it at your Zebra's DPI and writes the whole label as one ^GFA graphic.

1Design it

Design a Zebra label and get ZPL

Five steps, from a blank label to ZPL your Zebra can print.

  1. Click Open the ZPL editor above. https://app.mylabelmaker.com opens with a 4 x 6 shipping label.
  2. Pick your roll from the size menu, or choose Custom size and type the width and height in inches.
  3. Add text, a barcode, a QR code or an image, and drag each one where you want it.
  4. Under Choose a printer, pick Zebra Printer. In Zebra settings, set the DPI your printer has: 203, 300 or 600.
  5. Click Print to send it to the Zebra through Zebra Browser Print. Or open Options and click Download ZPL (.zpl) to save the file.

2Editor or viewer

ZPL editor or ZPL viewer: which one do you need?

Designing a label from scratch, or changing the layout of one you made before? Use this editor. You place the text, barcodes and images where you want them, and mylabelmaker writes the ZPL.

Already have code that a shipping app or an ERP made, and you only want to check it, preview it or print it? Use the ZPL viewer. It takes the code as it is and shows you the label.

3Inside the file

What the ZPL looks like

Open the .zpl file in a text editor and you see a short list of commands with one long block of letters and numbers.

^XA
^MD{darkness}
^PR{speed}
^PW{label width in dots}
^PQ{copies}
^FO0,0
^GFA,{total bytes},{total bytes},{bytes per row},{hex data}^FS
^XZ

^XA starts the label and ^XZ ends it. ^MD and ^PR are the darkness and speed from Zebra settings. ^PW is the label width in dots, and ^PQ is how many copies to print. ^FO0,0 puts the graphic in the top left corner.

^GFA is a graphic field written in ASCII hex. The first two numbers are the total bytes, the third is the bytes per row, and then comes the hex data: two characters per byte, each byte eight dots, black or white. So the whole label, text, barcode and all, is one picture drawn at your printer's DPI.

When mylabelmaker prints through Zebra Browser Print, it sends that same picture compressed (Z64), which is much smaller than hex. The .zpl file you download keeps the plain ^GFA hex, so any system that sends ZPL can use it.

4From a spreadsheet

ZPL generator from a spreadsheet

Have a list of products, bins or orders? Load it once and every row becomes its own label.

The full walkthrough for a Zebra list is on print a list of labels on a Zebra.

  • Your list: open an Excel file, a CSV, a published Google Sheets link, or paste the rows.
  • Place the columns: put each column on the label from Variables. A barcode or QR code can take its value from a column too.
  • Pick the rows: rows start unchecked, so tick the ones you want and click Print.
  • One job per row: on a Zebra, each row goes out as its own ^XA to ^XZ label.

5Editor or code

The editor or hand-written ZPL?

Both end up as ZPL. Which one you want depends on who fills in the words.

ZPL from the editor is one picture, which is why it prints exactly what you drew. It also means the words in it are not ^FD text you can edit in the file. To change a word, change the design and download the .zpl again. If your warehouse system has to fill fields itself, write the ZPL by hand and check it in the ZPL viewer before it prints.

You wantUse
A label that looks exactly right, with your fonts, logo and layoutThis editor
Fields that a WMS or ERP fills in with ^FDHand-written ZPL
To change one word laterThis editor: change it and export again
To check code someone sent youThe ZPL viewer

6Sharp barcodes

Barcodes stay sharp

mylabelmaker draws the label at the DPI you pick, 203, 300 or 600. The barcodes and QR codes are built again at that size, from the printer's own dots, instead of being stretched from the picture on your screen.

So set the DPI your Zebra really has. A label made for 203 dpi and sent to a 300 dpi printer comes out about two thirds of the size. The DPI calculator shows the dots for each roll.

Questions about the ZPL editor

Is there a ZPL editor online?

Yes. Click Open the ZPL editor on this page. app.mylabelmaker.com opens with a 4 x 6 label you can change, right in your browser.

Can I edit ZPL code by hand in this editor?

No. The editor builds the label visually, and its ZPL output is the whole label as one graphic (^GF). To change code by hand, paste it into the ZPL viewer.

Can I edit the ZPL text later?

Not inside the .zpl file. The whole label is one ^GF graphic, so the words are dots, not ^FD text. Change the design in mylabelmaker and download the ZPL again.

Which DPI should I pick?

The DPI of your Zebra. Most desktop shipping printers are 203 dpi. Some ZD421 and ZT411 printers are 300 dpi.

Does the ZPL editor work on a Mac?

Yes. It runs in your browser on a Mac. Printing to a Zebra goes through Zebra Browser Print. The Zebra label maker for Mac guide walks through the setup.

Can I save the label as a .zpl file?

Yes. Open Options and click Download ZPL (.zpl). Designing labels is free. Printing, downloading, exporting or batch printing may need a payment. The price, and how long access lasts, are shown before you pay.