Articles

bulk qr code generator from csv

How I use a CSV to make bulk QR codes

A practical CSV workflow for bulk QR codes: columns, validation, a three-location example with named PNGs and a manifest, and print-proof checks.

Bulk QR code generation is mostly a spreadsheet problem. If the CSV is clean, the QR codes are boring to create. If the CSV is messy, every downstream file name, destination, and print proof becomes suspect.

I use a small CSV with one row per QR code, then generate the batch from that file. Nothing fancy. The discipline is in the columns.

The CSV columns I use

Keep the batch readable before generating anything

  • `name` for the campaign, location, asset, or person.
  • `url` for the destination that goes into the QR code.
  • `file_name` for the exported PNG.

The minimum is a name and a URL. I still like a file name column because exported files need to be usable by designers, printers, and clients. `downtown-lunch-menu.png` beats `qr-17.png` every time.

The LocalQRCode bulk generator reads `name`, `url`, and an optional `file_name` column. It ignores other columns, so a `notes` column can stay in the sheet as long as every row has the same number of cells. I still keep planning notes out of the upload file when nobody needs them for this batch.

For agencies, I usually add client or location context to the name: Orchard menu, Orchard review card, Katong appointment QR. The extra words save time when someone asks for one code out of a batch months later.

For multi-location work, I sort the CSV by location before export. That makes the exported folder easier to compare against the print layout. If the designer is placing codes by branch, the file order should match how the job is reviewed.

CSV formatting details that matter

Commas and line breaks are where batches break

CSV looks simple until a field contains a comma, quote, or line break. RFC 4180 documents the common CSV format and registers the `text/csv` media type. Its rules cover headers, records, fields, and quoted fields.

My practical rule: export the CSV from a spreadsheet app and do not hand-edit complicated rows unless I have to. If a business name contains a comma, the field should be quoted. If a quote appears inside a quoted field, it needs to be escaped correctly.

I also avoid putting long notes, pasted email threads, or multi-line instructions into the upload file. The CSV should describe the QR batch, not become the project archive.

Character encoding is another quiet source of mistakes. I check names with accents, apostrophes, ampersands, and non-English characters before exporting a final batch. If those names only appear in file names, I simplify them. If they appear in campaign names, I keep them readable and verify the import result.

Validate before generating

Bad rows should fail early

  • Every row needs a destination URL.
  • Every URL should include `https://` unless there is a specific reason not to.
  • File names should be unique after cleanup.
  • Empty rows should be removed.
  • Duplicate destinations should be intentional, not accidental.

I want the generator to show bad rows before it creates files. Fixing a CSV is cheaper than matching broken codes to print artwork after export.

For web uploads, I still treat the browser file picker as convenience, not validation. The W3C File API describes how web apps receive file objects from file inputs. An app still has to parse and validate the contents. LocalQRCode's bulk generator reads the CSV in the browser, so the file is not uploaded to a server.

The error report should point back to row numbers. A message like `Row 14 has an invalid URL` is useful. A message like `Import failed` sends everyone back to manual inspection. The LocalQRCode bulk generator stops at the first bad row with messages such as `CSV row 3 needs a name and URL.` It accepts up to 100 rows and a CSV file up to 1 MB per ZIP.

For client work, I keep the corrected CSV next to the exported QR folder so the batch can be regenerated later.

I also check for rows that are technically valid but suspicious. A URL with a private staging domain, a file name that says `draft`, or a destination that opens a login screen may pass syntax validation and still be wrong for print.

Static or dynamic for bulk batches

The answer depends on who maintains the list

Static bulk generation is fine for stable URLs: branch homepages, permanent staff pages, one-off event links, or internal labels. The CSV URL goes into each QR code, and the exported files are ready for print.

Dynamic bulk generation is better when destinations change. A restaurant group may update menu PDFs. A property manager may swap listing videos. An agency may need to fix a client's landing page after the posters are already printed.

A dynamic QR code points to a stable short link, and the destination can be edited later in a campaign dashboard. In LocalQRCode, the CSV export makes static codes only. Dynamic codes are separate campaigns on the paid plan, created one at a time.

Dynamic batches need one more ownership check. If the agency creates 80 codes for a client, someone needs to know who can edit those destinations later. The answer should be clear before the posters, table cards, or stickers are printed.

Keep URLs short when possible

Dense codes are harder to print small

DENSO WAVE documents that QR code capacity depends on the symbol version, data type, and error correction level. More data means more modules. Long URLs with tracking parameters can make the QR code denser than it needs to be.

For bulk batches, I strip unnecessary tracking parameters before generating static codes. If analytics are needed, I use dynamic links instead of stuffing every tracking detail into the printed symbol.

This matters most on small labels, receipts, stickers, badges, and business cards. A code that scans on a large monitor can still fail when it is printed at 18 mm on textured stock.

I also avoid mixing URL styles in the same batch. If half the rows use full campaign URLs and half use short links, the printed QR codes may have noticeably different densities. That can look sloppy on a sheet of labels and it makes proofing harder.

Export files printers can use

Names and formats save the handoff

The export should match the next person in the workflow. Designers usually want clearly named files. Printers may ask for vector files or high-resolution PNGs. The business owner wants enough context to know which code belongs to which location. The LocalQRCode bulk generator exports 960 × 960 pixel PNGs, so ask the printer before the batch if they need SVG or PDF.

I avoid clever naming. Lowercase words, hyphens, and a short location or campaign name are enough. If the QR code is tied to a physical asset, I include that asset in the name: `orchard-window-decal`, `downtown-receipt`, `katong-table-card`.

If the export includes a ZIP file, I open it before sending it on. I check that the expected count matches the CSV row count, that no files were overwritten by duplicate names, and that the file extensions match what the printer or designer asked for.

Example: three locations, one CSV

From CSV rows to named PNGs and a manifest

Here is a small example batch. A made-up cafe has three locations, and each counter card should open that location's menu. The names are fictional, and the URLs are placeholders on example.com, a domain reserved for documentation. Replace the URLs with your own pages before printing anything.

Download the example CSV (3 rows)

Example CSV rows
nameurlfile_name
Harbour Road, counter cardhttps://example.com/?menu=harbour-roadharbour-road-counter-card
Mill Lane, counter cardhttps://example.com/?menu=mill-lanemill-lane-counter-card
Station Square, counter cardhttps://example.com/?menu=station-squarestation-square-counter-card

Each name contains a comma, so the CSV quotes the `name` field. Without the quotes, `Harbour Road, counter card` would split into two cells and the row would fail with a wrong column count.

In the bulk generator, I choose Import CSV and pick the file. The page shows `3 QR codes ready` and previews the first code. Download ZIP saves `bulk-qr-codes.zip`.

Files in the example ZIP
FileContents
001-harbour-road-counter-card.png960 × 960 PNG for https://example.com/?menu=harbour-road
002-mill-lane-counter-card.png960 × 960 PNG for https://example.com/?menu=mill-lane
003-station-square-counter-card.png960 × 960 PNG for https://example.com/?menu=station-square
manifest.csvOne row per PNG: file_name, name, url

The generator adds a three-digit prefix in CSV order, so the folder sorts the same way as the spreadsheet. The manifest keeps the full name, comma included, next to the exact URL in each file.

The three PNGs look almost the same. Each URL is short enough to fit the same QR size (version 3, 29 × 29 modules), and nobody can tell Harbour Road from Mill Lane by looking at the pattern. That is why the matching step below matters more than the export.

Match every QR code to the right printed item

Use the manifest as the placement sheet

Placement sheet for the example batch
Printed itemPlace this fileA scan should open
Harbour Road counter card001-harbour-road-counter-card.pnghttps://example.com/?menu=harbour-road
Mill Lane counter card002-mill-lane-counter-card.pnghttps://example.com/?menu=mill-lane
Station Square counter card003-station-square-counter-card.pnghttps://example.com/?menu=station-square
  • Count the ZIP: three PNGs plus `manifest.csv` for three CSV rows.
  • Send the designer the ZIP with the manifest, not loose PNGs.
  • Ask for the file name printed small beside each code on the proof, outside the white border.
  • Scan each code on the proof and compare the opened URL with the `url` column for that file name.
  • Fix a mismatch in the artwork, not by renaming PNGs, so the manifest stays true.

A ZIP that downloads and a PNG that scans on screen only prove the files match the CSV. Print size, paper, contrast, and placement decide whether the printed card scans, so I still scan a printed proof before the full run.

How I size a QR code for print

My batch proof

Spot-checking is not enough for small batches

For a batch of 10 or 20, I scan every code before print. For a larger batch, I scan representative samples and any row that looks unusual: long URL, special characters, non-English text, duplicate name, or custom file name.

I also open the exported folder and sort by file name. Missing numbers, duplicate names, and weird characters show up quickly there. That check catches boring mistakes before the designer places the wrong file.

For print proofs, I write the campaign name or file name next to the QR code in the proof sheet. Then I can scan a code and compare the opened destination to the label beside it. Without that label, a batch proof turns into guessing from thumbnails.

The workflow is simple: clean CSV, validate rows, generate codes, check the manifest, scan printed proofs. The free bulk generator below validates the rows and makes the PNGs and manifest in the browser, without an account. Try it with the example CSV first, then with your own rows.

Sources checked

Create bulk QR codes