Printed a code and need to change the link? QR Gen makes codes you can edit later.Edit codes after printing with QR Gen.See QR Gen

Open on your phone

QR code vs barcode: what is the difference?

QR code vs barcode compared on capacity, scanning direction, damage and shop checkouts, with measured sizes and what GS1's move to 2D codes by 2027 means.

A barcode is a row of bars that stores a short number, usually the identity of a product. A QR code is a square grid that can store a whole web address, a contact or a paragraph of text. In the qr code vs barcode question, the shop till still runs on the barcode today, and GS1, the body that issues retail numbers, is working to get tills reading 2D codes like QR by the end of 2027, alongside the old bars rather than instead of them.

So the two are not rivals. They do different jobs, and for many products you will end up printing both. Here is how they differ in the ways that affect a purchase, a print run or a label design. For the wider family of barcode types, see barcodes explained.

Capacity, in numbers

An EAN-13 holds 12 digits plus a check digit. That is the whole payload. There is no room for a link, a batch number or a name, only the number a shop looks up in its own records.

A QR code scales. Denso Wave, the company that invented it, lists these maximums for the largest symbol: 7,089 numerals, 4,296 alphanumeric characters, 2,953 bytes, in symbols from 21 by 21 to 177 by 177 modules.

We measured what that means at the small end, using the same generator as our free tool. Here is a 13-digit product number as a QR code:

5901234123457

That is version 1, 21 by 21 modules, at every error correction level. The EAN-13 of the same digits is 95 modules wide. Now a web address in the GS1 Digital Link style, which carries the product number inside the link (the domain is a placeholder):

https://example.com/01/05901234123457

That is 37 bytes, and it comes out as version 3, 29 by 29 modules, at error correction M. For a code that holds a link to a page about the product, the batch and the shop’s return policy, it is still a small square.

How each one is read, and what damage does

A barcode is read along a line. The scanner measures the widths of bars and gaps from one end to the other, so the scan line must cross every bar from end to end, and a sweep at too steep an angle misses some. A QR code is read as a picture. Denso Wave lists reading from any direction in 360 degrees as a feature, which is why people can point a phone at a code lying flat on a table at any angle.

Damage is the other difference. The check digit on a barcode detects a misread. It cannot repair one. Seagull’s notes on the UPC/EAN family say a reader that recomputes a mismatched check digit reports a read error. A smear across the bars gives you no scan and a shop assistant typing the digits by hand.

A QR code carries extra data for repair. Denso Wave’s own wording is that even if a code is partly smeared or damaged, it can correct itself and restore the original data. The generator on this site lets you pick error correction L, M, Q or H, shown as 7, 15, 25 and 30 per cent, and how those levels trade size for repair is worth a few minutes before you print on a pack that will be handled and crumpled.

One caveat for shops: a phone reads both a barcode and a QR code, but a till is not a phone. GS1’s retail guideline warns that moving to 2D will require software upgrades and may require equipment upgrades where the scanner is not already an imager, which is the kind that takes a picture rather than sweeping a laser.

What a shop needs, and the 2027 date

If you sell through a retailer today, the retailer wants your EAN-13 or UPC-A, from a registered GS1 number. A QR code on your pack does not replace it. A plain QR code carrying your website address will make a phone open your site. It will not make a till ring up the product, because the till expects to find a product number in a standard structure.

That is what “Sunrise 2027” is about. GS1’s guideline states the initial goal as point-of-sale scanning able to read and process the product number from both linear and 2D barcodes by the end of 2027. GS1 India describes the same target and says that the industry has set the date to move to 2D barcodes at the point of sale by the end of 2027, citing Mother Dairy, Baggrys, Pepsi and Del Monte as brands that already put QR codes on their packs.

Three points from the guideline and from GS1 US keep this in proportion:

  • The old bars stay. The guideline says linear barcodes such as EAN and UPC will not go away and will coexist with 2D codes for as long as they are useful.
  • Both go on the pack for now. Until 90 per cent of point-of-sale systems can read the 2D codes, products carrying one need a linear barcode as well.
  • It is not a deadline for every brand. GS1 US says it is not necessary to implement all the capabilities of 2D by that date, and advises brands to add 2D barcodes to existing packaging and update any existing QR codes to the GS1 Digital Link standard.

For a small Indian maker, our reading is simple. Register your numbers with GS1 India, print an EAN-13 now, and if you add a QR code to the pack, build its link in the GS1 style so the same code can later ring up at a till. The route to the number is in how to get a barcode for your product in India.

Which one for which job

You want to… Use Why
Sell a packaged product in shops or on a marketplace Barcode (EAN-13 or UPC-A) The till and the listing form look up a registered number
Tag your own stock, bins and parcels Barcode (Code 128) Short, cheap, and scanners at your counter read it
Label cartons that carry retail packs Barcode (ITF-14) Built for cartons and pallets
Open a menu, a payment, a Wi-Fi login or a web page QR code It stores the link and any phone reads it
Put a contact on a visiting card QR code It holds a whole vCard
Tell the customer more about the product on the pack QR code beside the barcode The barcode is for the till, the QR is for the person

For the last row there is one planning point. A normal QR code stores its address permanently. If the page behind it moves, the printed packs point at nothing. A dynamic code, which is a short redirect you can repoint, avoids that, and QR Gen makes them. For something printed on 10,000 boxes, that is the case where it earns its keep. For a menu on one table, a static code is fine.

What to print

  • A product for retail: EAN-13 from your GS1 India number, made in the barcode maker.
  • A link to a product page too: a QR code beside it, made in the QR generator, printed large enough that your printer keeps the squares sharp.
  • Your own stock: Code 128 barcodes. They hold text, so they are enough for most inventory.
  • If you are curious how a QR code packs 29 by 29 squares into a link: how QR codes work takes one apart.

Ready to try it? Free, no sign-up, made in your browser.

Open the barcode maker