Free barcodes in your browser — no sign-up, no upload.

Barcode vs QR Code: Which to Use

A barcode and a QR code are not two versions of the same thing. One is a number a till reads; the other is a data carrier a phone reads. Most products that need both will end up printing both.

Linear barcode (EAN / UPC / Code 128)QR code
What it holdsOne number or short text (up to ~48 characters)Up to roughly 4,000 characters — a web address, text, Wi-Fi details
Who scans itTill scanners, warehouse handheldsPhone cameras, 2D imagers
NeedsLine of sight, one sweepLine of sight, a camera and light
Damage toleranceLow — a cut bar can kill the readHigh — error correction rebuilds up to ~30% damage
IdentityGTIN from GS1 (retail) or your own SKU (internal)Whatever you encode; no central registry
Print sizeWidth grows with data; height fixed by standardGrows in both directions with data

Use a barcode when…

Use a QR code when…

Use both when…

This is the direction the industry is going. Under GS1's Sunrise 2027 initiative, the goal is for retail checkouts worldwide to be able to read GS1 2D codes — a QR code carrying a GS1 Digital Link, or a GS1 DataMatrix — in addition to the linear barcode, by the end of 2027. The 2D code carries the same GTIN plus extra data (batch, expiry) for supply-chain and consumer use; the linear barcode stays for tills that cannot read 2D yet. GS1 is explicit that the linear barcode is not being switched off in 2027, and that until 90% of checkout systems can process GS1 2D codes, products using a retail 2D code still need the linear barcode alongside. For now, the safe rule is: print the linear barcode your customers' systems already read, and add a QR code only for something the barcode cannot do.

What a QR code cannot do

A QR code cannot replace a GTIN. A QR code holding your product number is still just your number in a square — no retailer will list it, because their system keys on the GTIN from GS1. And a QR code is slower to scan in bulk: a warehouse worker scanning 200 cartons wants a laser sweep, not a camera aim. Conversely, a linear barcode cannot hold a link, so a customer who should land on your website needs the QR code. Pick by the reader and the job, not by which looks more modern.

Related

Frequently asked questions

Can a QR code replace my product barcode?

Not for retail. Tills and retailer systems key on the EAN/UPC GTIN from GS1. A QR code can be printed alongside it for customers and extra data, but it does not replace it.

Which holds more data, a barcode or a QR code?

A QR code, by far — up to roughly 4,000 characters against a few dozen for a linear barcode. That is why QR codes carry links and batch data.

What is GS1 Sunrise 2027?

An industry goal (not a law) for retail checkouts to be able to read GS1 2D barcodes — QR with GS1 Digital Link or GS1 DataMatrix — by the end of 2027, in addition to linear barcodes. The linear EAN/UPC is not switched off.

Do I need a special barcode for Amazon?

For the product: a GTIN (EAN-13 or UPC-A from GS1). For FBA stock: an FNSKU label, usually Code 128. Neither is a QR code.