Guide
QR code vs barcode vs NFC
Three ways to attach data to an object, with genuinely different economics. The choice usually comes down to cost per unit and whether the reader is a phone or a scanner.
Linear barcodes are cheapest and best for retail checkout. QR codes hold far more data, work with any phone camera and cost nothing to print. NFC tags need no camera and work in the dark, but cost money per unit and are not readable by all devices.
The full comparison
| Linear barcode | QR code | NFC tag | |
|---|---|---|---|
| Data capacity | ~20 characters | Up to 2,953 bytes | Typically 144–888 bytes |
| Cost per unit | Printing only | Printing only | 5p–50p each |
| Read by a phone | With an app | Native camera | Native, on supported phones |
| Read in the dark | No | No | Yes |
| Range | Line of sight | Line of sight | 1–4 cm |
| Works when damaged | Poorly | Up to 30% recoverable | Fails if the antenna breaks |
| Rewritable | No | No | Yes |
| Works on metal or liquid | Yes | Yes | Needs a special tag |
| Checkout scanner support | Universal | Growing | No |
Which one fits the job
- Retail checkout — linear barcode. Universal till support, and nothing else comes close on cost.
- Consumer engagement from print — QR code. Any phone, no app, no per-unit cost.
- Tap-to-act in a fixed location — NFC. Posters, museum exhibits, access control. No aiming, works in the dark.
- Product traceability with batch data — QR code, or GS1 Digital Link where retail systems need to read it too.
- Asset tracking in a warehouse — QR code. Cheap, printable in bulk, tolerant of damage.
- Reusable or updatable tags — NFC. It is the only one of the three you can rewrite.
- Anything at scale on packaging — QR code. Per-unit cost of NFC is prohibitive above modest volumes.
2D codes at the checkout
GS1, the organisation behind retail barcodes, is coordinating a migration towards 2D codes at point of sale. The aim is a single code carrying the product identifier plus batch, expiry and a web link — replacing the linear barcode's twenty digits with something that can also serve consumers.
This is a slow, hardware-bound transition: every till scanner in the world has to support it. If you are designing packaging with a long print run, it is worth asking your retail partners where they are on that timetable rather than assuming either format is safe for a decade.
Frequently asked
Is NFC better than a QR code?
Can a phone read a barcode?
Will QR codes replace barcodes at the checkout?
Which holds more data, QR or NFC?
Last reviewed 24 August 2026 · Written and reviewed by the QR Code Builder team