Quick switch

Tools

Pages

PDF to ZPL & Image to ZPL (^GFA) Converter

Convert a PDF or image into ZPL graphic commands.

No file ready?Load a synthetic label to explore the converter.

PDF uses page 1; supported files are PDF, PNG or JPG up to 5 MiB. Conversion runs locally in your browser.

Technical Specifications & Implementation Guide

Convert PDF shipping labels, PNGs, and JPEGs into native Zebra ^GFA Graphic Field ASCII ZPL commands with adjustable monochrome thresholding and Floyd–Steinberg dithering.

Technical specifications

PDF / Image → ZPL specifications
ParameterSpecification
Accepted InputsPDF (Page 1 rasterization), PNG, JPG / JPEG up to 5 MiB
Binarization ModesAdjustable Grayscale Threshold (0–255) & Floyd–Steinberg Halftone Dithering
Target ZPL Command^GFA,totalBytes,totalBytes,rowBytes,HEX (MSB-first 1-bit monochrome bitmap)
Row Stride Alignmentceil(widthDots / 8) bytes per row with deterministic zero-padding

Printer settings use 8 / 12 / 24 dots per millimeter. Nominal 203 / 300 / 600 DPI names correspond to effective 203.2 / 304.8 / 609.6 DPI device grids. Screen dimensions use the CSS reference of 96 px/in.

Operating procedure

  1. Drop a local PDF, PNG, or JPEG; the document stays in the browser and its first page is rendered at the target print grid.

  2. Choose threshold or Floyd–Steinberg dithering, then tune the monochrome conversion until the print preview is clean.

  3. Inspect the generated ^GFA source, run preflight, and export the physical label as PDF, PNG, SVG, or raw ZPL.

Preflight validates supported identifiers and geometry; it does not certify scanner grades. Fix every red error before exporting.

Frequently asked questions