Skip to content
Utilerio
All endpoints

ZPL Viewer

POST/api/v1/zpl/render

Paste Zebra ZPL code and see the rendered label instantly.

Authentication

Requires an API key in the X-API-Key header.

Try it

POST/api/v1/zpl/render

Parameters

zplstringrequired

ZPL label code to render.

dpiintegeroptional

Print density. Default 203.

203300600
widthnumberoptional

Label width in inches. Default 4.

heightnumberoptional

Label height in inches. Default 6.

rotationintegeroptional

Rotation in degrees. Default 0.

090180270
formatstringoptional

Output format. Default png.

pngpdf
allLabelsbooleanoptional

Render every label in the document.

Request body

{
  "zpl": "^XA^FO50,50^ADN,36,20^FDHello^FS^XZ",
  "format": "png"
}

Response codes

  • 200Success.
  • 400Invalid request — check your body or parameters.
  • 401Missing or invalid API key.
  • 403The API key is not scoped to this endpoint.
  • 429Rate limit exceeded — retry after a short wait.

Language

cURL

Request

curl -X POST https://utilerio.com/api/v1/zpl/render \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"zpl":"^XA^FO50,50^ADN,36,20^FDHello^FS^XZ","format":"png"}'

Response

binary image/png (or application/pdf)