How to Make QR Codes in Bulk From a Spreadsheet (CSV)

By Nate Blevins • Published Oct 31, 2026 • 10 min read

Put one code per row in a spreadsheet, with a header row and a column holding each link or ID, save it as a CSV file, and upload it to our free batch QR code generator. It builds every code in your browser and gives you a ZIP of PNG or SVG files numbered in row order. Each file can hold up to 500 rows.

How do you make QR codes in bulk from a spreadsheet?

Save your list as a CSV, upload it to the batch tool, check the preview, and download the ZIP. The exact steps:

  1. Lay out the sheet. First row is the header, then one row per code. For links, name the column url and it gets matched automatically.
  2. Save it as CSV. In Excel use File > Save As > CSV UTF-8. In Google Sheets use File > Download > Comma Separated Values (.csv).
  3. Pick the QR type. URL, Text, Email, WiFi, vCard, Phone or SMS.
  4. Upload the file. Drop it on the upload box or click to browse. It accepts .csv, .tsv and .txt, separated by commas, semicolons or tabs.
  5. Check the mapping and preview. Each field gets a dropdown of your column names. The preview's "QR Data" column shows exactly what the first 5 codes will contain.
  6. Generate and download. Choose PNG or SVG and 300, 500 or 1000 px, set colors or a logo if you want, click Generate QR Codes, then Download ZIP.
  7. Scan a few before printing. Try the first, the last and one from the middle with your phone.

What should the CSV file look like?

One header row, then one row per code, with plain values and no formulas. Here are the first rows of the 25-row asset tag file we used for testing. Copy it, swap in your own data, and save it as a .csv file:

asset_id,name,url
AT-0001,Dell Latitude 5440,https://assets.example.com/item/AT-0001
AT-0002,HP LaserJet M404,https://assets.example.com/item/AT-0002
AT-0003,Projector Epson EB-X51,https://assets.example.com/item/AT-0003
AT-0004,iPad 10th gen,https://assets.example.com/item/AT-0004

Columns you don't map are ignored. Auto-matching ignores case and anything that isn't a letter, so URL and first_name match too. Other names you pick from the dropdown. Starred fields are required:

QR typeColumn names that auto-match
URLurl*
Texttext*
Emailaddress*, subject, body
WiFissid*, password, security (WPA, WEP or nopass)
vCardfirstName*, lastName, phone, email, org, url
Phonephone*
SMSphone*, message

The header row is not optional. We uploaded three URLs with no header, and the first URL became the column name, so we got 2 codes instead of 3. The "Download example CSV template" link under the upload box gives you a starter file for the selected type. Its label column is only for your own notes.

What do you get back, and how are the files named?

A ZIP named like qr-codes-batch-url-1793480318948.zip (the type plus a timestamp) with one image per row. Each file starts with qr- and a four-digit row number, so qr-0001 is the first row under your header, which is row 2 in Excel or Sheets.

After the number come up to 25 characters of the first mapped field, with symbols turned into _. For the URL type that field is the URL, so all our files looked like qr-0001-https___assets_example_co.png and the asset ID never appeared. The Text type mapped to asset_id gave qr-0001-AT-0001.png, and vCard uses the first name: qr-0001-Maria.png.

Skipped rows keep their number, so gaps show which rows failed (we got qr-0001, qr-0004, qr-0005 when rows 2 and 3 were bad). Completely empty lines are dropped before counting, though, so a blank line shifts every number after it. Our test runs:

RunTime to buildZIP sizeDecoded to the right row
25 URLs, PNG 300 px0.46 s113 KB25 of 25
25 URLs, PNG 500 px0.46 s216 KB25 of 25
25 URLs, PNG 1000 px0.46 s639 KB25 of 25
25 URLs, SVG0.19 s711 KB25 of 25
500 URLs, PNG 500 px8.5 s4.1 MB500 of 500
501 URLsRefused: "CSV exceeds the 500-row limit. Please split the file into smaller batches."

SVG files are bigger because every module is its own shape, but they scale to any print size. The images have almost no white border (at 500 px the code starts 3 px from the edge), so leave white space around each one in your layout.

How we tested. We served the site locally and drove the real batch.html with Playwright in headless Chromium on a Windows desktop, uploading each CSV and saving the ZIP. We unzipped it, decoded every image with the jsQR decoder and compared each result to its row, then decoded the PNGs again with OpenCV, which matched too. Times run from clicking Generate to the "Done!" message. Software decoders are not phones, so still scan a few printed codes before printing hundreds.

How do you export a CSV from Excel or Google Sheets?

In Excel, go to File > Save As and choose CSV UTF-8 (Comma delimited). In Google Sheets, go to File > Download > Comma Separated Values (.csv). Both export one sheet only, so open the tab with your list first.

Excel on Windows. Per Microsoft's guide to importing and exporting CSV files: File > Save As (in Office 2016, Save As > Browse), then pick a CSV type under Save as type. Excel warns that only the current worksheet will be saved and some features may be lost; confirm it. Choose CSV UTF-8 (Comma delimited) (*.csv), the type Microsoft recommends in its Outlook CSV import guide because UTF-8 works for all languages.

Fix number columns before you save. Microsoft's page on keeping leading zeros and large numbers says Excel removes leading zeros, keeps only 15 significant digits, and turns large numbers into scientific notation like 1.23E+15. Select the column, press Ctrl+1 and choose Text on the Number tab, or type an apostrophe before the number. Formatting later won't restore lost zeros. If an ID list arrives as a CSV from another system, don't double-click it open: use Data > From Text/CSV and set those columns to Text.

Google Sheets. Click the tab you want, then File > Download > Comma Separated Values (.csv). That's the path Google gives in its Google Contacts help on importing from a spreadsheet. A CSV holds a single table, so other tabs aren't included.

Then open the file in Notepad or TextEdit. Spreadsheets reformat numbers on screen; a text editor shows exactly what the batch tool will read.

Why did some of my QR codes come out wrong?

Usually it's the CSV. We built a small file for each common problem, ran it through batch.html and decoded the output. Watch for the first one most, because it fails silently:

Problem in the fileWhat happened in our testFix
Comma inside a value with no quotes: Room 4, Shelf BThe code held only Room 4. A URL with ?ids=12,13,14 became ?ids=12. No warning either time.Wrap the value in double quotes. Quoted versions decoded correctly, and "" inside quotes became one ".
Spaces before or after a valueURL type trimmed them, tabs too. Text type kept them: the code held "  AT-0001  ".Clean IDs with =TRIM(A2) in a helper column, then paste as values.
URL without https://, like example.com/menu or www.example.com/menuRow skipped and listed as "Empty or invalid data". http:// and capitalized HTTPS:// were accepted.Add the prefix with ="https://"&A2.
Long numbers and leading zerosThe tool reads every cell as text: 000417 and an 18-digit number came through exactly. But a cell already saved as 1.23457E+11 was encoded as that literal text.The damage happens in Excel. Format ID columns as Text before saving.
File saved in an older Windows encoding (Windows-1252)Café Señor came through as unreadable characters. UTF-8 files read fine, with or without a byte order mark at the start.Save as CSV UTF-8.
Semicolon or tab separatorsDetected automatically. Both worked.None needed.

The quoting rule comes from RFC 4180, the IETF memo that documents the CSV format: fields containing commas, quotes or line breaks go in double quotes, and a quote inside one is written twice. This mostly bites hand-typed or script-made files.

One limit is on our side. The generator currently writes each character as a single byte, which is fine for plain English letters, digits and symbols. In our tests a curly apostrophe (the kind Word inserts, often pasted into sheets) became a control character, so did an en dash, and Chinese text and emoji came out garbled. An accented é is stored in the older Latin-1 form, which neither decoder we tried could read. Keep encoded cells to plain ASCII: straight quotes, hyphens, unaccented letters. Most URLs already are.

What can you use bulk QR codes for?

Asset tags

Decide whether the code holds the ID or a link. An ID alone (Text type, mapped to your ID column) makes a smaller, simpler code: AT-0001 fit in a 21 x 21 module grid, while the 39-character URL needed 29 x 29. An inventory app or a 2D barcode scanner reads the text directly, but a phone camera just shows it. A link to the item's record page opens on any phone, but your system needs one page per item at a URL that won't change, since the tag can't be edited.

Event badges

For contact swapping, use the vCard type with firstName, lastName, email, phone, org and url columns. Scanning saves the person as a contact, and files are named by first name, which helps when matching codes to badges. Our event badge template makes one 3 x 4 inch badge per PDF, so for a full attendee list, generate the codes here and place them into your own badge layout.

Product labels

If every label is the same product, you don't need batch at all. The QR label template repeats one code across a standard sheet, such as 30 per sheet on Avery 5160. When each label needs its own code, use batch and place the images into a table matching your label grid, or use a merge tool. Avery's help article on merging QR and barcodes describes importing a spreadsheet into its Design & Print editor. We haven't tested that one.

Classroom handouts

Two columns, student and url, give each student a code to their own document or folder. The code is just the link, so whether a stranger who finds the handout can open it depends on the document's sharing settings.

How small can you print codes on a sheet of labels?

For a short URL, about 0.6 inch (1.5 cm) is the floor for a product label scanned from 3 to 6 inches away, according to our QR code size guide. Print at 300 DPI or better, and go bigger when the code holds more data.

At 300 DPI, 300 px prints 1 inch wide, 500 px prints 1.67 inches and 1000 px prints 3.33 inches. SVG has no limit. At 1 inch, our 29-module asset URL has modules about 0.88 mm wide, while the 21-module ID-only code gets about 1.2 mm, which is why short data prints smaller.

The size guide also asks for a quiet zone of 4 modules of white on every side, about 3.5 mm for that 1-inch URL code. Print one sheet on plain paper first and hold it against the label sheet to check alignment.

What are the limits of the batch generator?

The codes are static, scans aren't tracked, and each file is capped at 500 rows. Your data stays in your browser.

On privacy: the page parses your file with PapaParse inside the browser, draws the codes with the same library as our main generator and zips them with JSZip. There's no upload step in the code, and when we logged every network request, we saw zero after the file was chosen, on a local copy and on the live site.

Frequently asked questions

How many QR codes can I make at once?

Up to 500 per CSV file. A 501-row file is refused with a message asking you to split it. In our test, 500 PNG codes at 500 px took 8.5 seconds and made a 4.1 MB ZIP, so splitting a long list costs little time.

Can I paste my list instead of uploading a file?

No. The batch generator only takes a file, either dropped on the upload box or picked with the file browser. It accepts .csv, .tsv and .txt files separated by commas, semicolons or tabs.

Is my spreadsheet uploaded to your server?

No. The file is read, turned into codes and zipped inside your browser. In our tests, no network requests were made after the file was chosen.

Can I change where the codes point after I print them?

No. They are static codes, so the link is stored in the pattern itself. If a link might change, point the codes at a page you control and update that page instead.

Can I put my logo on every code?

Yes. Open Design Options, click Upload Logo and pick a PNG, JPG, GIF or WebP image up to 5 MB. The same logo goes on every code, and error correction switches to level H so the codes still scan.

Related reading

Have your CSV ready?

Open the batch generator →