Barcode Ready
← Barcode Guides

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 barcodeQR code
CapacityTypically 10 to 50 charactersUp to 7,089 digits or 4,296 letters and digits
What it holdsAn ID numberURLs, text, contact cards, Wi-Fi details
Error correctionNone (check digit only)Four levels, recovering 7 to 30 percent damage
ScanningLaser and imaging scannersCamera phones and imagers
OrientationMust be alignedAny angle
SizeWide, shortSquare

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:

1D barcodes work best for:

Which should you pick?

Ask what the scanner needs to do:

  1. If the reader is a customer's phone, use a QR code. Create one in the QR code generator.
  2. If the reader is a retail point of sale, use a UPC or EAN. The UPC barcode generator handles that.
  3. 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.
  4. 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

Barcode Ready draws all of these in your browser, so the content you enter stays on your device.

Try it