Skip to main content

ZPL to JPG / JPEG

Render ZPL to a JPEG when the image is for people, not scanners: a preview to email a customer, a thumbnail on an order page, an attachment in a support ticket. JPEG gives you the smallest file of any format here — at the cost of lossy compression that softens the hard black-and-white edges a barcode is made of.

If the image might be scanned, use lossless PNG. For printing or sharing multi-label jobs, use PDF. Also available: BMP and GIF.

Paste your ZPL code

Render Settings

Label Size

Preview

JPEG • 4 × 6 in

Note on Watermarks: Free online conversions include a LabelZoom watermark. Need to remove watermarks for production, or process thousands of labels per minute? Check out our REST API subscriptions

The smallest file of any label image format — ideal for email and chat.

Opens everywhere: mail clients, ticketing systems, phones, web pages.

Rendered by the same engine as our PDF and PNG output.

How to convert ZPL to JPG

  1. 1

    Paste your ZPL into the box above, or upload a .zpl, .txt or .prn file (a ZIP works too).

  2. 2

    In Render Settings, set the dpi and label size the ZPL was written for. 203 dpi and 4 × 6 inches cover most shipping labels.

  3. 3

    Click Quick Preview and download the .jpg. If a barcode in the image ever needs to be scanned, switch to PNG before you send it.

When lossy is fine — JPEG against the alternatives

JPEG trades exactness for size. That is the right trade for a preview and the wrong one for anything a scanner will read.

FormatFile size (4 × 6 label, 203 dpi)Barcode fidelityUse it when
JPEGSmallestSlight ringing on bar edgesPeople look at the image: email, tickets, order pages
PNGSmallExactThe image may be scanned, archived or reused
GIFSmallExactThe destination prefers GIF (wikis, older CMSs)
BMPLargest (uncompressed)ExactLegacy tools that only import bitmaps
PDFSmallExact, scalablePrinting on any printer or sending multi-label jobs
Start converting now

Frequently Asked Questions

Everything you need to know about rendering ZPL labels as JPEG images.

Why do barcodes look slightly fuzzy in a JPEG?
JPEG compresses the image in 8 × 8 pixel blocks and discards high-frequency detail, which is exactly what a barcode is made of: hard black-to-white transitions. The result is faint ringing on either side of every bar. Most scanners still read a 203 dpi Code 128 from a good-quality JPEG, but thin bars and quiet zones are the first thing to degrade. If anyone might scan the image rather than just look at it, render a PNG instead.
JPG or JPEG — is there a difference?
No. They are the same format; .jpg is the three-letter extension inherited from DOS-era Windows, and .jpeg is the full name. LabelZoom downloads the file as .jpg, and /zpl-to-jpg brings you to this page.
Does the JPEG have a transparent background?
JPEG has no transparency, so the label is rendered on white — which is what a thermal label looks like anyway. If you need transparency, PNG and GIF support it, though a rendered label is still delivered on a white background.
Is the JPEG watermarked?
Free conversions on this page include a LabelZoom watermark. REST API subscriptions render the same JPEG without it, and can return any of the other formats from the same request.