Barcodes and QR codes are both ways to put data on a product for a machine to read. The plain barcode is a product number for the checkout. The QR code is a small web address with room for much more, and the first thing a shopper's phone can open. With the industry's 2027 move to 2D, the two are starting to merge.
QR code and barcode side by side
| Barcode (EAN/UPC) | QR code | |
|---|---|---|
| Shape | Lines in one direction | Square grid of modules |
| Data | A GTIN, 12–13 digits | Up to 7,089 digits or 4,296 characters |
| Batch, expiry, serial | No | Yes, with GS1 Digital Link |
| Read by | Checkout scanners | Phones, and newer checkout scanners |
| Opens a web page | No | Yes |
| Damage tolerance | Low | Error correction up to about 30% |
What a barcode does
An EAN-13 or UPC-A barcode carries one number: the product's GTIN. The checkout looks it up to find the price. It says nothing about which batch or unit you're holding, so recalls, expiry checks and warranties need other data. See GTIN vs EAN vs UPC.
What a QR code does
A QR code holds text, usually a web address. With GS1 Digital Link, that address is built from the GTIN plus optional batch, expiry and serial number, for example https://example.com/01/09506000134369/10/LOT42. A phone opens the product's page, and a GS1-ready scanner reads the GTIN from the same code.
Sunrise 2027: one code for the till and the shopper
GS1's Sunrise 2027 in the US, and Ambition 2027 globally, aims for retail scanners to read 2D barcodes by the end of 2027. QR codes with GS1 Digital Link and GS1 DataMatrix both count. For brands, that means one code on the pack can do the price lookup, batch tracking and the customer experience. Linear barcodes stay accepted, so most packs will carry both for a while.
What to put on your product
- Keep the EAN or UPC that retailers expect today.
- Add a GS1 Digital Link QR code for customers: product page, manuals, warranty registration, support and the Digital Product Passport.
- Encode batch or serial in the QR code if you need recalls, warranties or passports per batch or unit.
- Put it where people look after buying, on the product, label or quick-start card.
Official sources
Frequently asked questions
Is a QR code a barcode?
Yes, a QR code is a two-dimensional barcode. In everyday speech, though, 'barcode' usually means the one-dimensional EAN or UPC lines printed on products.
Which holds more data, a barcode or a QR code?
A QR code, by far. An EAN-13 holds 13 digits. A QR code can hold up to 7,089 digits or 4,296 characters, enough for a full web address with a product number, batch, expiry date and serial number.
Will QR codes replace barcodes in 2027?
Not right away. GS1's Sunrise 2027 target is that retail scanners can read 2D codes by the end of 2027. Linear EAN and UPC barcodes stay accepted, and many products will carry both during the transition.
Can a checkout scanner read a QR code?
Many modern image-based scanners can. For the till to find the product, the QR code should use GS1 Digital Link, which puts the GTIN in the web address in a standard way.
Should I put a QR code or a barcode on my product?
Keep the EAN or UPC barcode retailers expect, and add a QR code with GS1 Digital Link for customers. Over time, one GS1 QR code can serve both the checkout and the customer.
