PDF to ZPL Converter Online Demo
Convert a PDF to ZPL in the browser. You can crop margins, scale and rotate the page, then preview the label before sending it to a printer.
For a first try, click Use sample 4×6″ label — it loads our sample shipping label. Then experiment with the crop presets (⅛″, ¼″, ½″) and compare the preview.
If you upload your own file, crop trims the PDF page before scaling. Use Contain if you still want the remaining content to fill the label.
Step 1: Upload PDF File
Drop a PDF here or click to browse
Click to select a PDF file (up to 1 MB):
Step 2: Adjust Settings
Crop PDF margins
Crop is applied to the PDF page before scaling. Use it to trim unwanted whitespace or letterheads. The diagram uses the label size (PDF page size unknown).
Remaining after crop: 4″ × 6″ → scaled to label 4″ × 6″
Step 3: Generate ZPL
Step 4: Preview ZPL
The label preview will appear here after generating ZPL.
Step 5: Send Generated ZPL to Zebra Label Printer
This ZPL code can be sent directly to the Zebra printer for printing. If the printer is connected via network, you can send the string directly over a TCP socket (default port 9100) to the printer. Please check the FAQ for code samples.
Crop, scale, and the other fields map 1:1 to the PDF to ZPL API.