Skip to content

Barcode vs QR Code: Which to Put on a Product or a Case

Barcode vs QR code for a small business: what each holds, who can scan it, which one a store's checkout needs and which suits inventory. With a free sheet.

By Koa Sterling. Product specialist at TaroStack and small business owner. Yes, I am a real human, and I actually sit in front of a computer and write these articles. Reviewed November 25, 2026 · 6 min read

A barcode is a row of lines that holds a short number. A QR code is a square grid that holds much more: a long number, a lot, a date, a web address. A barcode needs a scanner or a scanning app pointed along it. A QR code is read by any phone camera from any angle. Neither is better. They do different jobs, and most products end up carrying both. A store's checkout wants the barcode. Your customer's phone wants the QR code. Your stockroom can use either. Below is how they differ, which goes where, and a sheet.

The short version

  • Barcode: lines, one direction, a short number. The UPC at a checkout is one.
  • QR code: a square, two directions, room for text and links. Any phone reads it.
  • For retail checkout today, you need a UPC barcode.
  • For a link to a web page, you need a QR code.
  • For inventory, either works. What matters is what the code has to carry.
  • TaroStack prints lot labels with a GS1-128 barcode and scans with a phone camera. More below.

How they differ

Barcode QR code
Also called 1D or linear barcode 2D code
Looks like Parallel lines A square of small blocks
Holds A short string, often just digits A long string: digits, letters, a link
Read by A laser or camera scanner, or an app A camera: a scanner, or any phone
Direction Must be read across the lines Any angle
If part is damaged Often unreadable Built to be read with some damage
Space for the same data Grows wider as data is added Stays compact
A store's checkout Yes, as a UPC Depends on the store's scanners

"Barcode" covers several kinds. The UPC on a jar holds 12 digits and nothing else. Code 128 and GS1-128 are linear barcodes too, and they hold letters and more characters, at the price of getting wider.

"QR code" is one kind of 2D code. Data Matrix is another, common on small parts and medicine.

Which goes where

Where What it has to do Use
The retail unit Ring up at a checkout UPC barcode
The retail unit, for shoppers Open a page: story, recipes, allergens QR code, as well
The shipping case Tell a warehouse the product, lot and date GS1-128 barcode
Your own shelf or bin Tell your own system which item or lot Either
A batch sheet or a work order Open the record Either

The checkout. If you sell through stores, the unit needs a UPC barcode. Where those come from is in GS1 barcodes for small food producers.

This is slowly changing. GS1 US describes its Sunrise 2027 program as "a global transition from 1D UPC barcodes to 2D barcodes", and asks retailers to make their checkout scanners able to read 2D codes. Its page doesn't say the UPC is being withdrawn, and it says retailers needn't have every 2D capability in place by that date. So for now: keep the UPC, and add a 2D code if you have a use for one.

The shopper. A QR code that opens a web page costs nothing to make and needs no registration. Point it at a page you control, so the printed label stays right when the page changes.

The case. A warehouse wants the product number, the lot and the date in one scan. That's a GS1-128 barcode: see case label template.

For inventory

Inside your own four walls, nobody tells you which to use. Three questions settle it.

What does the code have to carry? An item number alone fits a plain barcode. An item, a lot and a date together are a long string. In a linear barcode that's a wide label. In a 2D code it's a small square.

What will read it? A phone camera reads both, through an app. An older laser scanner reads only linear barcodes. Check what you own.

How small is the label? On a spice jar lid or a sample vial, a 2D code fits where a barcode won't.

What the code carries Characters A 12-digit number? A code that fits
012345678905 12 Yes UPC barcode
(01)10012345678902(17)270331(10)L0914 37 No GS1-128 barcode, or a 2D code
https://example.com/sauces/habanero 35 No QR code

The second row is a case's GTIN-14, a use-by date and a lot. How the first part is built is in GTIN-14.

A third technology, RFID, is read by radio and doesn't need to be seen at all. It's compared in RFID vs barcode.

Get the sheet

Download the sheet. One sheet and a read-me: type what each label has to carry, and it counts the characters and says whether a UPC could hold it. The three rows above are filled in. It's an ordinary Excel file with no macros, and it works in Google Sheets, LibreOffice and Numbers.

Where this stops working

The code is the easy part. A barcode or a QR code holds a few characters, and everything useful is in the record those characters point to: what the item is, which lot, when it expires, where it sits, what it cost. Print codes without that record and a scan tells you a number you then look up by hand.

How TaroStack does it

TaroStack puts the record behind the scan.

Scanning works with the phone's camera or a USB or Bluetooth scanner, for counting, receiving, picking and batch recording. Counting works with no signal and sends itself later.

Lot labels print with GS1-128 barcodes, and there's a ZPL file for Zebra printers. When an item has a 14-digit GTIN, the label carries the GTIN, the use-by date and the lot in one code. When it doesn't, the label carries the lot code alone.

At receiving, scanning a supplier's GS1-128 case label fills in its lot and use-by date.

TaroStack doesn't issue barcodes or GTINs. Those come from GS1.

The job Clipboard In TaroStack
Counting a shelf Write, then type Scan with a phone, even with no signal
Receiving a supplier's case Copy the lot and date Scan the case label
A label for your own lot Handwritten GS1-128, printed
What a scan tells you A number The item, lot, date and place

Scanning, lots and labels are on every plan, from $9.99 a month. The first 14 days are free, with no credit card. If you'd like a hand setting up, ask, and we'll do it with you.

Questions people also ask

What is the difference between a barcode and a QR code?

A barcode stores a short string in a row of lines and is read in one direction. A QR code stores much more in a square grid and is read from any angle by a camera.

Which is better for inventory, a barcode or a QR code?

Either works. Use a barcode when the code only carries an item or lot number and your scanners are linear. Use a 2D code when it has to carry more, or the label is small.

Can a QR code replace a UPC barcode?

Not at most checkouts today. Keep the UPC for retail, and add a QR code for anything you want a phone to open.

How do a barcode, a QR code and RFID differ?

Barcodes and QR codes are printed and read by sight. RFID is a tag read by radio, many at once, without line of sight.

Sources

  1. GS1 US: Sunrise 2027 · read November 25, 2026

We use AI to help with the research for these articles. Every one is read, checked against its sources and edited by Koa before it's published. Spot a mistake? Tell us and we'll fix it and say so. How we write these.

Let’s get your stack in order.

Get TaroStack

Sign up now for your free 14 day trial. No credit card required.