Skip to content
Utilerio

ZPL to PNG

Export a ZPL label as a PNG image you can drop into docs or tickets.

Output size: 812 × 1,218 pixels

Image preview

The generated PNG will appear here.

Was this tool useful?

About this tool

A PNG of a label is the format everything else accepts: a support ticket, a wiki page, a supplier email, a slide showing the new packaging. It is also the fastest way to record what a label looked like at a point in time.

The converter renders your ZPL at the density and physical size you choose, so the pixel dimensions of the image match what the printer would produce. A 4×6 label at 203 dpi becomes an 812 × 1218 pixel image.

How to use it

  1. Paste your ZPL or upload a .zpl file.
  2. Pick the print density. This directly sets the output resolution: higher density means a larger, sharper image.
  3. Enter the label width and height in inches. The pixel size shown below the options updates as you change them.
  4. Press Convert, check the preview, and download the PNG.

Examples

Product label with a box and a barcode

^GB draws the border, ^BY sets the module width and ^BCN renders the Code 128 symbol inside it.

^XA
^FO20,20^GB380,180,3^FS
^FO40,45^A0N,36,36^FDTL-001 Label roll^FS
^FO40,100^BY2^BCN,60,Y,N,N^FD8691234567890^FS
^XZ

Common problems

The image is enormous.
600 dpi on a 4×6 label produces a 2400 × 3600 pixel PNG. Drop to 203 or 300 dpi unless you specifically need that resolution.
The barcode looks blurry when zoomed.
PNG is a raster format, so zooming past the rendered resolution softens the bars. Render at a higher density, or use the PDF converter for vector output.
The label content sits in the top-left corner with empty space around it.
The label size you entered is larger than the design. Set the width and height to the media you actually print on.

Frequently asked questions