QR code and barcode generator

Make a QR code or barcode, or many at once from a list or CSV file. It’s all made in your browser.

Loading the tool…

How it works

Codes are made in your browser as you type. What you enter, including a Wi-Fi password, and any file you open aren’t sent anywhere.

A QR code holds your link, text or Wi-Fi details itself, so it never expires and nobody tracks who scans it. Some QR code websites send scans through a short link of their own, which can stop working if you stop paying.

For an EAN or UPC barcode, type the number without its last digit and the check digit is worked out, or type the whole number and it’s checked. Shop scanners reject a barcode whose check digit is wrong, so the tool won’t draw one.

Which barcode to use

Barcode numbers for products

Making a barcode doesn’t give you a barcode number. The numbers in EAN and UPC barcodes, called GTINs, identify a product worldwide, and shops and marketplaces expect them to come from GS1, the organisation that issues them. In the UK, that’s GS1 UK.

This tool draws the barcode for a number you already have and checks its last digit. It doesn’t issue or register numbers, and a made-up number may already belong to another product. For labels used only within your business, such as on stock bins and parts, use Code 128 or Data Matrix with your own codes.

Many codes at once

In the Bulk tab, paste your codes one to a line, or open a CSV file and choose the column they’re in. Every row is checked first: rows that can’t make a code are listed with the reason, and so are rows worth checking, such as repeats. The ZIP holds a PNG or SVG file for each code, and codes.csv, a list of every row, its file and what happened to it.

Files are named after what each code holds, such as SKU-0042.png, after another column, such as a product name, or after the row number. Leading zeros stay. Accents are dropped, and characters that can’t go in a file name become hyphens. When two files would have the same name, the second gets -2 on the end.

It reads up to 10,000 rows at a time, from files of up to 5 MB, and puts up to 1,000 codes in each ZIP, so each is made in seconds, even on a phone. For more, download each ZIP in turn.

CSV files from spreadsheets

In Excel, save the sheet as CSV UTF-8. In Google Sheets, choose File, Download, then Comma-separated values. Files separated by semicolons or tabs work too.

Spreadsheets drop leading zeros from numbers, so 036000291452 becomes 36000291452. Format the column as Text before you save the CSV. If shop product numbers look as if they’ve lost a 0, the tool says so and can put it back.

In codes.csv, a cell that starts with =, +, - or @ begins with an apostrophe, so spreadsheets show it as text rather than run it as a formula.

Tips for printing

Want codes on cards, labels or products? Ciconiq Studio makes NFC cards and counter stands that people can tap as well as scan, and does UV printing and laser engraving in Leeds.

Open-source credits

QR codes are made with uqr, based on Project Nayuki’s QR code generator. Barcodes are drawn with bwip-js by Mark Warren, a JavaScript version of Terry Burton’s Barcode Writer in Pure PostScript. ZIP files are made with fflate by Arjun Barrett. All are used under the MIT Licence.