QR Code vs UPC vs EAN: Understanding Barcode Differences
UPC vs EAN vs QR code: how many digits each holds, where each is used, whether US stores scan EAN-13, and when a QR code belongs on your packaging.
By StylQR Editorial TeamPublished 5 min read

Table of contents
UPC and EAN are the same kind of barcode with a different number of digits. UPC-A carries a 12-digit product number and is standard in the US and Canada; EAN-13 carries 13 digits and is used almost everywhere else. A QR code is a 2D code that holds much more, such as a web link, and isn't a product number by itself.
Below is how the three compare in practice, which one your product needs, and how the newer GS1 QR codes are starting to blur the line.
The short comparison
| UPC-A | EAN-13 | QR code | |
|---|---|---|---|
| Type | 1D linear | 1D linear | 2D matrix |
| Data | 12 digits | 13 digits | Up to 7,089 digits or 2,953 bytes |
| Content | GTIN-12 product number | GTIN-13 product number | Any text, link or structured data |
| Main region | US and Canada | Rest of the world, and accepted in North America | Worldwide |
| Who issues numbers | GS1 US, GS1 Canada | National GS1 organizations | Nobody, unless it carries a GS1 Digital Link |
| Read by checkout laser scanners | Yes | Yes | No, needs a camera-type imager |
| Check digit | Yes, mod 10 | Yes, mod 10 | Error correction instead |
The QR capacity figure is for the largest version at the lowest error correction, from Denso Wave's specification.
UPC vs EAN: one system, two lengths
The UPC was adopted in the US in 1973, and Europe followed with EAN (originally European Article Number) in 1977. EAN-13 was designed as a superset: put a 0 in front of any 12-digit UPC and you have a valid 13-digit EAN with the same check digit. So 098765432105 as a UPC is 0098765432105 as an EAN-13.
Both now live inside one numbering system, the GTIN (Global Trade Item Number), managed by GS1. GS1 US describes GTIN-12 as the only number that can go in a UPC-A barcode, and GTIN-13 as the only one that can go in an EAN-13 (GS1 US on GTINs).
The bars themselves are built the same way: 95 modules wide, with guard bars at the left, center and right. EAN-13 fits its extra digit in by changing the pattern of the left six digits, so it's the same physical width.
For the anatomy of each, see what a UPC barcode is and the EAN-13 barcode guide.
Do US stores scan EAN-13?
Yes. The Uniform Code Council (now GS1 US) set 1 January 2005, known as Sunrise 2005, as the date by which US and Canadian retailers should be able to scan and process 13-digit codes as well as 12-digit UPCs. GS1 guidance is to store every GTIN in a 14-digit field, padding shorter numbers with leading zeros, so a well-built system treats 12- and 13-digit numbers alike.
In practice, some North American buyers still ask suppliers for a UPC-A, often out of habit or because an older system expects 12 digits. If you sell mainly in the US or Canada, licensing from GS1 US gets you GTIN-12 numbers. If you sell mainly elsewhere, your national GS1 organization issues GTIN-13 numbers, which work in North America too. Ask your key retailers before you print.
Choosing between UPC and EAN for your product
The deciding factor is where your company licenses its numbers, not a design choice:
- Find your national GS1 organization (GS1 US, GS1 India, GS1 UK and so on) and license a company prefix or individual GTINs.
- Use the format your numbers come in. GS1 US issues 12-digit numbers for UPC-A; most others issue 13-digit numbers for EAN-13.
- Assign one number per product variant. Each size, color and pack count needs its own GTIN.
- Generate the barcode with the UPC-A generator or the EAN-13 generator, which validate the check digit as you type.
Where QR codes fit
A QR code on a pack usually does something different from the UPC: it opens a web page with instructions, recipes, warranty registration or a video. Phone cameras read it directly, which a UPC can't do in any useful way for shoppers.
The newer development is the GS1 Digital Link QR code. It encodes a web address that contains the product's GTIN, such as a link with /01/ followed by the 14-digit GTIN. One code can then serve both the checkout (which extracts the GTIN) and the shopper (whose phone opens the page). GS1 US's Sunrise 2027 initiative asks retailers to install scanners that can read 2D codes like these and extract the GTIN at checkout.
That doesn't mean the UPC disappears overnight. Laser scanners still in use can't read QR codes, so packs carry both during the transition. Can QR codes replace barcodes? and GS1 Sunrise 2027 go into the timeline. For the broader difference between the two technologies, read QR code vs barcode.
Common mix-ups
- "EAN is European only." The name stuck, but EAN-13 is the global retail standard.
- "A UPC is the barcode; the number is separate." The number is the GTIN; UPC-A is the symbol that draws it. The same GTIN can appear in other symbols, such as ITF-14 or a GS1 DataMatrix.
- "I can make my own UPC number." You can draw any 12 digits, and a scanner will read them. A retailer's system will only accept a number licensed to your brand.
- "A QR code with my product name is a GS1 code." Only a code following the GS1 Digital Link format, with your GTIN inside, counts.
What to do next
If you're launching a product, get your numbers from GS1 first, then make the barcode at the size your printer needs. For more on the steps from license to label, read how to create a barcode for your products. If you also want a scannable link on the pack for customers, a URL QR code can sit next to the UPC without interfering with it.
Frequently asked questions
Can I sell on Amazon with an EAN instead of a UPC?
Marketplaces generally accept any valid GTIN, including EAN-13 and UPC-A, but the number has to be licensed to your brand by GS1. Check the marketplace's own product ID rules for your category and country.
Does a UPC or EAN show the country where a product was made?
No. The prefix shows which GS1 member organization issued the company prefix, not the country of manufacture. A brand registered with GS1 India can manufacture anywhere.
Can a QR code replace a UPC at checkout today?
Only where the store's scanners and software can read 2D codes and pull the GTIN out of them. Most packs still carry a UPC or EAN for that reason.
Is a JAN code different from EAN-13?
No. JAN is the name used in Japan for EAN-13 numbers issued there. The barcode format is the same.


