Render ZPL Labels to PNG & PDF via API
Convert Zebra Programming Language (ZPL) code to pixel-perfect label images. Support for 20+ barcode types, 203-600 DPI, and real-time rendering. No Zebra printer required.
Complete ZPL Rendering Engine
A full-featured label rendering API that handles the complexity of ZPL so you don't have to.
Full ZPL Support
Parse and render ZPL commands including ^FD, ^FO, ^BY, ^BC, ^BQ, ^GB, ^GF, and more. Handles complex multi-element label layouts.
Multi-DPI Rendering
Render labels at 203 DPI (standard), 300 DPI, or 600 DPI. Automatic DPI scaling ensures accurate output for any thermal printer resolution.
20+ Barcode Types
Code 128, Code 39, EAN-13, UPC-A, ITF-14, QR Code, DataMatrix, PDF417, and more. All rendered with pixel-perfect accuracy.
PNG & PDF Output
Get label images as high-resolution PNG for screen display or print-ready PDF for direct printing. Choose the format that fits your workflow.
Shipping Labels
Render 4x6 shipping labels with carrier barcodes, addresses, and routing codes. Perfect for e-commerce fulfillment and warehouse operations.
Real-Time Rendering
Object-pooled SkiaSharp surfaces and caching deliver consistent sub-200ms response times, even for complex multi-barcode labels.
Simple API, Powerful Results
Send ZPL code, get a rendered label image back instantly.
curl -X POST https://api.printivo.cloud/api/v1/labels \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"zpl": "^XA^FO50,50^A0N,40,40^FDShipping Label^FS^FO50,120^BY3^BCN,100,Y,N,N^FD12345678^FS^FO50,260^FDJohn Doe^FS^FO50,310^FD123 Main Street^FS^FO50,360^FDNew York, NY 10001^FS^XZ",
"dpi": 203,
"format": "png",
"width": 4,
"height": 6
}'
# Response: PNG image binary (Content-Type: image/png)
# Label dimensions in inches (4x6 = standard shipping label)
ZPL Input
Send any valid ZPL code as a string. Supports text, barcodes, graphics, boxes, and field positioning.
DPI Control
Specify 203, 300, or 600 DPI. The engine automatically scales all elements for accurate reproduction.
Label Sizing
Set width and height in inches. Common sizes include 4x6 (shipping), 2x1 (product), and 4x3 (retail).
Comprehensive ZPL Command Support
Our engine handles the most commonly used ZPL commands for label design.
Text & Fonts
^AScalable/Bitmap Font^FDField Data^FOField Origin^FBField Block^CFChange Default Font
Barcodes
^BCCode 128^B3Code 39^BEEAN-13^BQQR Code^BYBar Code Field Default
Graphics
^GBGraphic Box^GFGraphic Field^GDGraphic Diagonal Line^GCGraphic Circle^GEGraphic Ellipse
Control
^XAStart Format^XZEnd Format^FSField Separator^FRField Reverse Print^FWField Orientation
Start Rendering Labels Today
Get your free API key and render your first label in under 2 minutes. No Zebra printer needed.