# QR code vs barcode

> A traditional barcode stores about 20 characters in one dimension and must be scanned in roughly the right orientation. A QR code stores up to 2,953 bytes in two dimensions, reads at any angle, and survives up to 30% damage. Retail is now migrating from one to the other.

Source: https://useqr.app/docs/basics/qr-code-vs-barcode · Last reviewed 2026-08-21 · UseQR is free forever, MIT licensed, no signup.

---

## The comparison

| | 1D barcode (EAN/UPC/Code 128) | QR code |
|---|---|---|
| Dimensions | One — width only | Two |
| Typical capacity | 12–20 characters | up to 2,953 bytes |
| Orientation | Must be roughly aligned | Any angle |
| Damage tolerance | Very low | 7–30% depending on level |
| Reader | Laser or imager | Imager or any camera |
| Size for the same data | Wide | Compact |
| Consumer readable | No — needs dedicated hardware | Yes — any phone |

## Why 1D barcodes still dominate retail

Speed and cost at the till. A laser scanner sweeps a line and decodes in milliseconds, and
the entire global product-identification system (GTIN) is built on them. Inertia here is
measured in billions of items.

## Why that is changing

The **GS1 Sunrise 2027** initiative aims for point-of-sale systems worldwide to accept 2D
codes. The driver is data: a 1D barcode identifies a product, while a
[GS1 Digital Link](/glossary/gs1-digital-link) QR code identifies *this specific batch of
this product* and links to a web page at the same time.

That single change enables batch-level recalls, expiry-aware discounting, and a consumer
route to provenance and allergen data — all from the code already on the pack.

The **EU Digital Product Passport** pushes the same way for regulated categories.

## Which to use

- **A till scans it** → 1D today, plan for 2D. Print both during the transition.
- **A consumer scans it** → QR code. A phone cannot usefully read an EAN.
- **You need more than 20 characters** → QR code.
- **The surface is small and square** → QR code, or [Micro QR](/glossary/micro-qr).
- **The surface is long and thin** → 1D barcode, or [rMQR](/glossary/rmqr).

## FAQ

### Can a phone read a normal barcode?
Most phone cameras can read EAN and UPC codes, but the result is just a number with no context, and the phone has nothing useful to do with it. QR codes are designed to carry an action.

### Is a QR code better than a barcode?
For consumer-facing use and for anything needing more than about twenty characters, yes. For high-speed till scanning of a product identifier, a 1D barcode is still faster and universally supported.

### What is Sunrise 2027?
A GS1 initiative for point-of-sale systems worldwide to accept two-dimensional codes such as GS1 Digital Link QR codes alongside traditional barcodes, enabling batch-level data on consumer packaging.

### Do QR codes replace product barcodes?
Not yet. During the transition, packaging typically carries both — the 1D code for existing tills and a QR code carrying a Digital Link for everything else.

## Try it

- https://useqr.app/url
- https://useqr.app/text
