ZPL to PDF in milliseconds.
A fast, accurate ZPL rendering API, hosted in the EU. PDFs are real vectors, not images.
Test keys are free. Live labels cost €0.002.
; label.zpl
^XA
^CI28
^FO40,40^A0N,24,24^FDFrom: Demo Shop B.V.^FS
^FO40,72^A0N,24,24^FDKeizersgracht 1, Amsterdam^FS
^FO40,150^A0N,48,48^FDJ. Jansen^FS
^FO40,206^A0N,36,36^FDVoorbeeldstraat 12^FS
^FO40,250^A0N,36,36^FD3511 AB Utrecht NL^FS
^FO560,150^BQN,2,5^FDQA,3SDEMO012345678^FS
^FO40,340^BY3^BCN,150,Y,N,N
^FD3SDEMO012345678^FS
^PQ1
^XZ
Keizersgracht 1, Amsterdam
Request
Send ZPL as the request body. Get a print-ready PDF or PNG back. No printer, no driver.
curl -X POST "https://caretly.dev/render?format=pdf" \
-H "Authorization: Bearer $CARETLY_API_KEY" \
--data-binary @label.zpl -o label.pdf
import { readFile, writeFile } from "node:fs/promises";
const res = await fetch("https://caretly.dev/render?format=pdf", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.CARETLY_API_KEY}` },
body: await readFile("label.zpl"),
});
await writeFile("label.pdf", Buffer.from(await res.arrayBuffer()));
import os, requests
with open("label.zpl", "rb") as f:
r = requests.post(
"https://caretly.dev/render",
params={"format": "pdf"},
headers={"Authorization": f"Bearer {os.environ['CARETLY_API_KEY']}"},
data=f,
)
r.raise_for_status()
open("label.pdf", "wb").write(r.content)
Specifications
- Vector PDF
- Text, lines and barcodes are drawn as native PDF vectors, not a raster image wrapped in a PDF. Barcodes stay sharp at any zoom or print size, text can be selected and searched, and files stay small. Only
^GFgraphics are embedded as 1-bit images. - Speed
- 500 real carrier labels, bitmaps included, rendered into one PDF in about 0.4 s on the server.
- Accuracy
- Follows the ZPL spec and how printers actually behave: fonts, graphics,
^PQcopies, serial numbers. Barcodes include Code 128, QR, DataMatrix, PDF417, MaxiCode and Aztec. - Batches
- Many labels or files in one multipart request. Gzip-compressed uploads. Up to 100 MB per request.
- Output
- Vector PDF or PNG, at 6, 8, 12 or 24 dots/mm.
- Privacy
- Hosted in the EU. Labels are rendered and not stored. We keep only usage metadata, the label counts, for billing.
- Reliability
- The renderer checks API keys itself, so rendering keeps working even if the dashboard is down. Retries are safe with
Idempotency-Key.
Getting started
- 1
Create an account. You get a free test key right away.
- 2
Integrate. Test labels render normally, with a TEST watermark.
- 3
Go live. Swap in a live key and pay per label.
Playground
Edit ZPL in the browser and watch the label update. Click a field on the label to jump to its code.
Free to use. Output is marked PREVIEW. Open the playground full screen
For developers
Every response says how many pages it holds and how many labels it billed.
The docs cover the API, ZPL coverage and batching. Use the usage API to pull label counts into your own systems.
HTTP/1.1 200 OK
Content-Type: application/pdf
X-Page-Count: 3
X-Labels-Billed: 3
X-Page-Count- Pages in the response.
X-Labels-Billed- Labels counted for billing on this request.
Idempotency-Key- Send one with each request. A retry with the same key is billed once.
Pricing
€0.002 per label.
No subscription tiers.
Test keys are always free. See how pricing works