When you scan a tin of baked beans at a supermarket self-checkout, tap a restaurant table stand to pay your bill, or tap your phone against a London Underground oyster reader, you are interacting with three fundamentally different automatic identification technologies: 1D Linear Barcodes, 2D Matrix QR Codes, and Near-Field Communication (NFC).
Why hasn't one single technology replaced the other two? Because each operates on different physical principles, cost structures, storage capacities, and security models. This guide compares 1D barcodes, 2D QR codes, and NFC across retail, logistics, and contactless payments.
1. 1D Linear Barcodes vs 2D Matrix QR Codes
The traditional retail barcode (UPC-A in North America, EAN-13 in the UK and Europe) was commercialised in the 1970s to speed up grocery checkouts. It encodes data horizontally in a single dimension by varying the width of parallel black bars and white spaces.
- Data Capacity Limit: An EAN-13 barcode holds exactly 13 numeric digits—just enough for a GS1 country prefix, manufacturer code, product item number, and a modulo-10 check digit. It contains zero information about the product's ingredients, batch number, expiry date, or URL; the checkout till must look up those 13 digits in an internal store database.
- Directional Vulnerability: If a 1D barcode is scratched vertically or wrinkled along the bars, a single-line laser scanner cannot read it.
In 1994, Denso Wave engineer Masahiro Hara invented the QR (Quick Response) Code to track automotive components through high-speed manufacturing lines. By encoding data in two dimensions (both horizontally and vertically across a square grid of modules), QR codes achieved an exponential leap in capability:
| Technical Specification | 1D Barcode (EAN-13 / Code 128) | 2D QR Code (ISO/IEC 18004) | NFC Tag (ISO/IEC 14443) |
|---|---|---|---|
| Maximum Data Capacity | 13 digits (EAN) to ~80 chars (Code 128) | 7,089 numeric / 4,296 alphanumeric chars | 144 bytes (NTAG213) to 8 KB+ (DESFire) |
| Error Correction / Damage Tolerance | Single checksum digit only (no recovery) | Reed-Solomon recovery up to 30% area loss | RF induction (unaffected by surface dirt/wear) |
| Scanning / Read Distance | 5 cm – 60 cm (line of sight) | 2 cm to 15+ metres (scales with print size) | 1 cm – 4 cm (requires physical proximity tap) |
| Unit Deployment Cost | Virtually £0 (ink on packaging) | Virtually £0 (ink or digital screen) | £0.15 – £1.50+ per physical microchip tag |
| Cryptographic Handshake | None (static optical symbol) | Static symbol (or dynamic screen TOTP) | Active bidirectional cryptographic challenge (EMV) |
2. QR Codes vs NFC in Contactless Payments
In the UK and Europe, tap-to-pay (Apple Pay, Google Pay, and contactless debit cards) uses NFC at 13.56 MHz over the EMVCo protocol. When your phone comes within 2 centimetres of the payment terminal, an electromagnetic field powers a secure element handshake that generates a one-time cryptographic cryptogram in under 300 milliseconds.
Why, then, do hospitality venues, car parks, peer-to-peer payment apps, and major Asian payment networks (Alipay, WeChat Pay, UPI in India, Pix in Brazil) rely heavily on QR code payments?
- Zero Hardware Terminal Cost for Merchants: Accepting NFC card payments requires either a dedicated POS terminal (Verifone, Ingenico, Square, SumUp) or Tap-to-Pay hardware certification. A QR payment system requires nothing more than a printed laminated card on a market stall or an invoice PDF on a screen.
- Self-Service Table Ordering & Bill Splitting: At a busy pub or restaurant, an NFC terminal must be carried to the table by a waiter. A table-printed QR code lets four diners view the menu, order drinks, split the bill individually, and pay via Apple Pay or Google Pay in their mobile browser simultaneously without waiting for staff.
- Distance & Broadcast Capability: Only one person can tap an NFC tag at a time from 2 cm away. A single QR code displayed on a charity telethon broadcast or lecture hall projector screen can be scanned by 500 people simultaneously from 20 metres away.
3. The GS1 "Sunrise 2027" Retail Transition
The global retail industry (led by GS1) is currently executing the largest barcode migration in 50 years: Sunrise 2027. By the end of 2027, retail point-of-sale scanners worldwide are transitioning from legacy 1D EAN/UPC barcodes to GS1 Digital Link QR codes. A single QR code on a milk carton or medicine box will simultaneously ring up the price at the checkout till, prevent expired batch sales automatically, and allow consumers at home to scan the exact same code with QR Scanner AI to view allergen tables, recycling instructions, and authenticity certificates.