QR Code vs Barcode: Differences, Capacity and Best Uses
A QR code stores far more data than a traditional barcode and can be scanned by any phone camera. A traditional (1D) barcode stores a short identifier and works with the laser and imager scanners in stores and warehouses. Use a QR code to send people somewhere or share a lot of data, and a 1D barcode to look up a record in a database.
How they differ
A 1D barcode, such as UPC, EAN, Code 128 or Code 39, is a row of vertical bars that is read in one direction. A QR code is a 2D matrix of squares that carries data in both directions. The extra dimension is why it holds so much more.
| 1D barcode | QR code | |
|---|---|---|
| Capacity | Typically 10 to 50 characters | Up to 7,089 digits or 4,296 letters and digits |
| What it holds | An ID number | URLs, text, contact cards, Wi-Fi details |
| Error correction | None (check digit only) | Four levels, recovering 7 to 30 percent damage |
| Scanning | Laser and imaging scanners | Camera phones and imagers |
| Orientation | Must be aligned | Any angle |
| Size | Wide, short | Square |
Data capacity
A UPC holds 12 digits. A QR code can hold a full web address, a block of text or a vCard. Even a small QR code of version 1 holds a few dozen characters, and it grows as you add data. The more data, the denser the code and the larger it needs to be printed.
Scanning
QR codes can be read by a phone camera without any app in most cases, which is why they are used in marketing. Retail laser scanners often cannot read 2D codes, though many newer imagers can. That is why a product you buy in a store still carries a UPC, although the industry is working to move retail to 2D codes in the longer term.
A QR code can be scanned at an angle or when partly damaged thanks to error correction. A 1D barcode with a scratch through it usually will not scan.
Typical uses
QR codes work best for:
- links to websites, menus, app stores and forms,
- Wi-Fi sign-in and contact details,
- tickets, event passes and payments,
- packaging that points to instructions.
1D barcodes work best for:
- retail products (UPC and EAN),
- inventory, shipping and warehouse labels (Code 128, GS1-128),
- library books, ID badges and asset tags,
- anywhere existing scanners and software already expect them.
Which should you pick?
Ask what the scanner needs to do:
- If the reader is a customer's phone, use a QR code. Create one in the QR code generator.
- If the reader is a retail point of sale, use a UPC or EAN. The UPC barcode generator handles that.
- If it is an internal system with a lookup table, a 1D barcode is simpler and faster to read. The Code 128 generator is a good choice.
- If you need to store a lot of data directly in the label, use a 2D code.
You are not limited to one. Many packages carry both a UPC for the till and a QR code for marketing.
Tips for either type
- Test by scanning the printed result, not the screen.
- Keep a clear blank margin around the code.
- Use dark on light with good contrast.
- Do not stretch or recolor it unevenly.
Barcode Ready draws all of these in your browser, so the content you enter stays on your device.