Batch QR codes and label printing

Paste or import CSV, generate QR codes and A4 labels, then download a print PDF or ZIP.

  • Runs locally
  • Free

Use the tool

Your files are processed in your browser and are not uploaded to a server.

About this tool

Paste lines or import CSV to generate QR codes in bulk and lay them out on A4 label sheets, then download a print-ready PDF or a PNG ZIP. Captions, copy counts and starting from a partly used sheet are supported.

Typical uses

  • Print QR asset tags for equipment
  • Generate name-labelled check-in codes for attendees
  • Make QR stickers for products or storage bins

How to use

  1. Paste one value per line or import UTF-8 CSV and select content, caption, filename and copy-count columns.

  2. Generate a preview, choose an A4 preset or custom millimeter layout and download the print PDF. Print at actual size (100%) and test on plain paper first. PNG ZIP export is also available.

Example

Import a CSV with URL, equipment name and copies columns, assign them and choose a 24- or 21-label preset. Check the first-sheet preview, download the PDF and print at actual size (100%). Test scanning and alignment first.

Good to know

Up to 1 MB, 300 input rows and 300 labels including copies. Four quiet-zone modules are preserved. Dense codes need larger print dimensions. Captions load same-origin fonts on demand; unsupported glyphs prompt you to change or disable captions. Presets do not fit every label-paper brand. Save layouts and column bindings; new files match unique headings. Templates exclude QR contents and reset the starting slot to 1, so check remaining label stock.

QR content is static; dynamic links and scan analytics are not provided. Four quiet-zone modules remain around codes; dense data may need larger labels. Calibrate printer margins, fonts and paper dimensions with a test print.

How rows become labels: columns, copies and filenames

In “One per line” mode every non-blank line is one record, and spaces at either end are encoded into the QR code as they are; lines containing only whitespace are skipped. “␣x␣, empty line, two spaces, y” gives two records: “␣x␣” and “y”. CSV / TSV mode detects comma, tab or semicolon delimiters, and quoted cells may contain commas. Take this CSV, tick “First row contains headers”, pick the content, caption, filename and copies columns, and set “Copies per record” to 3:

CSV line
url,label,filename,copies
https://example.com/a/1,Desk 1,desk-01,2
https://example.com/a/2,"Desk 2, window",,1
RowQR contentCaptionFilenameLabels
2https://example.com/a/1Desk 1desk-016
3https://example.com/a/2Desk 2, windowqr-33

Labels = copies column × copies per record, so row 2 gives 2 × 3 = 6 and row 3 gives 1 × 3 = 3, 9 in total. An empty filename becomes “qr-” plus the row number (qr-3 here). Row numbers count the header as row 1, so “Row N” in a message matches your spreadsheet.

“Download PNG ZIP” holds one file per label, numbered across the batch: 001-desk-01.png … 006-desk-01.png, then 007-qr-3.png … 009-qr-3.png. Filenames are NFKC-normalized, spaces become “-” and forbidden characters are replaced: “Desk 1 / 窗边” → “Desk-1---窗边”, “ABC1” → “ABC1”, and a name of only dots, “...”, → “qr”.

  • With “Import CSV”, if the first column is named content, text, url or value (any case), the header box is ticked automatically and “Caption column” (caption, label), “PNG filename column” (filename, file name, name) and “Copies column” (count, copies) are filled in by name. Pasted text is not detected this way.
  • Imported files must be UTF-8. A CSV may have up to 50 columns, and each content cell up to 1200 UTF-8 bytes (an accented letter takes 2 bytes, a Chinese character 3).
  • Line breaks and tabs in captions become spaces and control characters are removed; the QR content itself is never altered.

The three A4 presets: real grids and QR limits

For “A4 label layout”, printLayout rounds down (sheet width − 2 × margin + gap) ÷ (label width + gap) for columns, and the same for rows, on a 210 × 297 mm portrait A4 page. With captions on, two text lines are reserved under the code: 7.49 mm at 8 pt. The QR side may not exceed the smaller of label width − 4 mm and label height − 4 mm − caption height, or you get “The QR code and two caption lines do not fit. Reduce QR/font size or use larger labels.”.

PresetMargins L-R / T-B (mm)Gaps col / row (mm)Columns × rowsDefault QRMax with captionsMax bytes at default
A4 · 24 labels · 60 × 32 mm10 / 105 / 23 × 8 = 2420 mm20.51 mm331
A4 · 21 labels · 63.5 × 38.1 mm7.25 / 15.152.5 / 03 × 7 = 2126 mm26.61 mm624
A4 · 8 labels · 90 × 60 mm10 / 1010 / 52 × 4 = 844 mm48.51 mm1200*

The last column is the longest ASCII content (in bytes) that keeps modules at 0.25 mm or more at the default QR size; * means the 1200-byte input limit is reached first. Without captions, the first preset allows a QR code up to 28 mm.

A partly used sheet can be continued: on the default preset set “First sheet starting slot (from 1)” to 5 and 30 labels fill 2 pages — 20 on the first (starting at row 2, column 2; slots run left to right, then top to bottom) and 10 on the second, the last in slot 10 with its top-left corner 10 × 112 mm from the sheet edge. The starting slot only applies to the first sheet, and applying a template resets it to 1.

Print scale

The PDF page is exactly 210 × 297 mm. QR codes are vector paths; captions are embedded as images at 2.5× resolution. Print at “Actual size” or 100% with “Fit to page” off. “Include cutting guides” draws 0.25 pt grey dashed boxes for lining up a plain-paper test print with the label sheet. Take margins and gaps from your label packaging.

Error correction, quiet zone and module size

Every code uses error correction level M in byte mode with a four-module quiet zone; none of this is adjustable. “QR size (mm, including quiet zone)” includes the quiet zone, so one module = QR size ÷ (modules + 8). Below 0.25 mm the tool reports “QR modules would be smaller than 0.25 mm. Increase QR size or shorten this row.” before export. At the default 20 mm:

ContentBytesVersion · modulesModule at 20 mmPNG size in ZIP
https://www.doc80.com/222 · 25 × 250.606 mm528 × 528 px
https://example.com/asset/A-000123343 · 29 × 290.541 mm518 × 518 px
https://example.com/inventory/warehouse-3/shelf-12/bin-0457?ref=label-print-2026805 · 37 × 370.444 mm540 × 540 px

Longer content means a higher version and smaller modules. Content at the 1200-byte limit needs version 29 (133 × 133 modules) and a QR size of at least 35.25 mm to pass the 0.25 mm check. In the PNG ZIP each module is a whole number of pixels and each image at least 512 px wide, independent of print size. Identical content is encoded once and reused for all its copies.

Messages and what to change

MessageCause and fix
Invalid CSV. Check quotes and delimiters.Unbalanced quotes, such as a stray double quote inside a cell. A single-column file with no detectable delimiter is not an error.
Copies must be integers from 1 to 100, with at most 300 labels in total.A copies cell is not a whole number from 1 to 100 (decimals and blanks included), or the multiplied total passes 300 labels. The first failing row is named.
Content is empty, invalid Unicode, or exceeds 1200 UTF-8 bytes.The content cell is empty or only spaces, exceeds 1200 bytes, or contains an unpaired surrogate.
Captions support at most 120 characters. Disable captions or choose a separate caption column for long content.A caption is longer than 120 characters. Without a caption column the caption is the content itself, so long URLs hit this.
Invalid layout. At least one label must fit on A4, and the starting slot must be on the first sheet.Custom sizes fit no label, exceed 150 labels per sheet, or the starting slot is beyond the first sheet.
The QR code and two caption lines do not fit. Reduce QR/font size or use larger labels.QR code plus two caption lines are taller than the label. Shrink the code or font, or turn captions off.
QR modules would be smaller than 0.25 mm. Increase QR size or shorten this row.One row is too long for the current size and its modules drop below 0.25 mm. The row number points to it.
This batch is too large. Use fewer rows or shorter content.All codes together exceed 3 million modules, or the PDF / ZIP would exceed 25 MB.
The label font does not support some characters. Change or disable captions; QR content stays unchanged.The caption font lacks some characters, such as rare symbols. The QR code is unaffected; edit the text or turn captions off.

“Download A4 print PDF” saves doc80-qr-labels-a4.pdf and “Download PNG ZIP” saves doc80-qr-codes.zip. Everything runs in the browser; templates keep layout, copies and column bindings, never the content.

Frequently asked questions

How many codes at once?

Up to 300 input rows and 300 labels including copies, from files up to 1 MB.

How do I get the print size right?

Print at actual size (100%) and test on plain paper against your label sheet first. Some label brands need a custom millimeter layout.

Can captions use any language?

Yes. Fonts load from the site when needed; unsupported characters are flagged so you can change or disable captions.