FREE TOOL / NO SIGNUP / RUNS IN YOUR BROWSER

CSV to ZPL. One label per row.

Paste a spreadsheet and get Zebra label code back, with text and a Code 128 barcode, sized in dots for your printer. Your file never leaves the browser.

04 / Output

Your file is read and converted in your browser. Nothing is sent to LabelInn or anyone else.

01 / HOW IT WORKS

From spreadsheet to label code

Comma, semicolon and tab separated files are detected automatically.

01

Paste or choose the file.Quotes, escaped quotes and Excel's UTF-8 marker are handled.

02

Set size and resolution.The template is laid out in printer dots: 50 × 25 mm at 203 dpi is 400 × 200.

03

Edit the template.Every {{column}} is replaced with that row's value.

02 / SAFE OUTPUT

What the template does

  • ^CI28 switches the printer to UTF-8, and every value is written with ^FH hex escapes, so a ^ or ~ in your data cannot end a field or start a command.
  • ^PW and ^LL set print width and label length in dots, so the label does not depend on whatever the printer was last set to.
  • The barcode is Code 128 with the human-readable line underneath.

03 / BEYOND THREE ROWS

When a converter stops being enough

Generating ZPL is the easy part. Keeping it working is not: the layout lives in a text template, a TSC printer needs TSPL instead, and someone still has to send the file and check it printed. In LabelInn the CSV columns bind to a label you design visually, every row prints, and the same design runs on Zebra, TSC, Toshiba and Epson printers. See printing labels from CSV and, to stop handling files by hand, hot folder printing.

THE PROBLEM, THEN THE FIX

Your CSV is ready, but the printer wants a label

You should not have to hand-write printer code for every row.

The problemA spreadsheet of data and a printer that only understands its own language.

  1. Point the label at your data: LabelInn screenshot
    1Point the label at your dataUpload an Excel or CSV file, or fetch from a database.
  2. Pick a column for each field: LabelInn screenshot
    2Pick a column for each fieldChoose the column from the field data-source dropdown. The mapping is saved with the design.
  3. Check the real rows: LabelInn screenshot
    3Check the real rowsThe sheet and its header row are shown before anything prints.
  4. Preview, then print: LabelInn screenshot
    4Preview, then printCheck the real label, choose the printer and the number of copies, and print.

The fixDesign the label, map the columns, print. LabelInn produces the printer language for you.Get LabelInn free

WORKED EXAMPLE

The sample CSV, converted and rendered

The converter was run on the 8-product sample file at 60 x 40 mm, 203 dpi. This is the ZPL it wrote for row 1, and how an independent ZPL renderer draws it.

EXAMPLEZPL
^XA
^CI28
^PW480
^LL320
^FO20,20^A0N,25,25^FH^FDCrème brûlée mix 250 g^FS
^FO20,49^A0N,25,25^FH^FD4.90^FS
^FO20,78^A0N,25,25^FH^FD5901234123457^FS
^FO20,107^A0N,25,25^FH^FDL2610-A^FS
^FO20,136^A0N,25,25^FH^FD2027-03-31^FS
^FO20,188^BY2^BCN,92,Y,N,N^FH^FD00417^FS
^XZ
Label drawn from the ZPL above: Crème brûlée mix 250 g, 4.90, 5901234123457, L2610-A, 2027-03-31 and a Code 128 barcode of 00417
Row 1 drawn by Labelary's free ZPL renderer (8 dots per mm). Accented letters print because the template sets ^CI28. The dash spacing is how Labelary draws that font, not a property of your printer.

Things worth noticing in the output: ^PW480 and ^LL320 are 60 mm and 40 mm at 203 dpi; every value sits in ^FH^FD...^FS, so a ^ or ~ in your data is hex-escaped and cannot start a command; the barcode encodes the first column (SKU) and the other columns are printed as text lines. If you want a different layout, edit the template in the tool: {{Product}} style placeholders are replaced per row.

BEFORE YOU SEND IT

What a converter cannot know

  • It cannot check that your printer has a font with the characters you used. ^CI28 switches to UTF-8, but the glyph must exist in the printer font.
  • It writes dots for the size you typed. If the printer is set to another label length, set ^LL to match or calibrate the printer first.
  • Long text is not shrunk or wrapped. A product name wider than the label runs off the edge; the sample row 3 ("Oat bar, honey (6 pack)") fits at 25 dots on 60 mm, a longer name would not.
  • It does not talk to the printer. Send the file with the commands on how to send ZPL to a Zebra printer, or check it first in the ZPL viewer.

QUESTIONS / FAQ

Frequently asked questions

How do I convert a CSV file to ZPL?

Paste the CSV or choose the file, set the label size and printer resolution, and the converter writes one ZPL label per row using a template with a {{column}} placeholder for each column. Edit the template to change the layout.

Is my CSV uploaded anywhere?

No. The file is read and converted in your browser.

Why does the converter only produce three labels?

The free converter shows the first three rows so you can check the layout. LabelInn prints the whole file, binds columns to a visual design, and sends it to the printer without a driver.

Will special characters print correctly?

The template sets UTF-8 (^CI28) and writes values with ^FH hex escapes, so characters such as ^ and ~ in your data cannot break the label. Printing accented or non-Latin text also needs a printer font that contains those characters.

How do I convert a CSV to ZPL without installing anything?

Paste the CSV or choose the file in the tool on this page, set the label size and dpi, and copy or download the ZPL. The first three rows are free in the browser; the whole file prints from LabelInn.

Which CSV formats does the converter accept?

Comma, semicolon or tab separated text, with or without a header row, quoted fields, and a UTF-8 byte order mark. The same rules LabelInn uses when it imports a CSV.

NEXT STEP / LABELINN

Print every row, not just three.

CSV and Excel columns bound to a visual design · Zebra, TSC, Toshiba, Epson — no driver · Free trial

Start free →