Barcode Guides
Plain-English explainers for the people who actually print, scan or manage barcodes — UPC vs EAN, what a GTIN is, 1D vs 2D, Code 128 and a field guide to the formats you'll meet in retail, logistics and healthcare. Each guide links to a free ReadBarcode tool for checking what it explains.
- 6 min read Published 21 May 2026
UPC vs EAN: What's Actually Different?
Two flavours of the same idea, separated by one digit and forty years of geography.
Read guide → - 7 min read Published 21 May 2026
What Is a GTIN? GTIN-8, 12, 13 and 14 Explained
The global identifier behind every UPC, EAN, ITF-14 and ISBN — what each length means and where the check digit comes from.
Read guide → - 6 min read Published 21 May 2026
1D vs 2D Barcodes: When To Use Each
Capacity, scanner support, packaging footprint and the GS1 Sunrise-2027 migration story.
Read guide → - 7 min read Published 21 May 2026
Code 128 Explained: Subsets, FNC1 and Real-World Use
The workhorse 1D barcode behind shipping labels and GS1-128 — subsets, FNC1, and what to watch for when decoding it.
Read guide → - 8 min read Published 21 May 2026
Barcode Formats: A Plain-English Field Guide
A reference of the symbologies you'll actually meet in retail, logistics and healthcare — what each one encodes and where it shows up.
Read guide → - 8 min read Published 21 May 2026
Sunrise 2027 Explained: The 2D-at-POS Transition for Retail
What GS1's 2D-at-POS commitment means for brands, retailers and the consumer-pack barcodes shipping today.
Read guide → - 7 min read Published 21 May 2026
GS1 Digital Link Explained: One QR for POS and Phone
How one 2D barcode carries the retail GTIN for the till and a working URL for the phone — URL syntax, AI placement and resolver basics.
Read guide → - 6 min read Published 21 May 2026
How Check Digits Work: The Math Behind GTIN, ISBN and SSCC
GS1 mod-10, ISBN-10 mod-11, and Code 128's mod-103 in plain English — why one trailing digit catches every single-digit typo.
Read guide →
About This Library
Each guide is intentionally narrow — one barcode topic, one clear takeaway — and ends with the matching ReadBarcode tool so you can act on what you just read. Start with What is a GTIN? if you're new to product identifiers, skip to 1D vs 2D barcodes for the capacity story, or jump to Sunrise 2027 explained if you're planning your 2D transition.
Which Barcode Should I Use?
Use the barcode the party scanning it expects: EAN-13 or UPC-A at retail checkout, ITF-14 or GS1-128 on cartons and pallets, and a QR Code when the scan should open a web page.
| Job | Barcode | Guide |
|---|---|---|
| Product sold at a store checkout | UPC-A in the US and Canada, EAN-13 elsewhere | UPC vs EAN compared |
| Outer case of a trade item | ITF-14 or GS1-128 carrying a GTIN-14 | GTIN lengths explained |
| Pallet or shipment label | GS1-128 carrying an SSCC in AI (00) | Code 128 and GS1-128 |
| Internal assets and stock bins | Code 128 or Code 39 with your own numbers | Barcode formats field guide |
| Batch, expiry or a web link on the pack | QR Code with a GS1 Digital Link URI, or GS1 DataMatrix | GS1 Digital Link guide |
For anything that goes to a retailer, marketplace or carrier, follow the barcode guidelines in that partner's supplier manual.
Barcode Size Guide
Size is set by the narrowest bar or module, called the X-dimension. For EAN-13 and UPC-A at retail checkout, the GS1 General Specifications, the reference GS1 barcode guide, set the target X-dimension at 0.330 mm, the 100% size, with an allowed range from 0.264 mm to 0.660 mm, or 80% to 200%.
Scale the whole symbol rather than squashing it. Cutting the bar height, known as truncation, saves space but makes the code harder to scan at a checkout, and GS1 advises against it on retail items.
Keep the blank margin around the symbol as well:
- Code 128 and GS1-128: at least 10 times the X-dimension on each side.
- QR Code: at least four modules on every side.
- Data Matrix: at least one module on every side.
Who Controls Barcode Numbers?
GS1, a not-for-profit standards organization, controls the numbers used on retail barcodes. Its national member organizations license company prefixes to businesses, and each business then assigns its own GTINs from that prefix.
The symbologies themselves are published ISO/IEC standards that anyone may use without a license, whether for a Code 128 or a QR Code. What is managed is the number inside the barcode, and only for identifiers meant to be unique across trading partners.
- GTINs, SSCCs and GLNs come from a GS1 Company Prefix licensed by a GS1 member organization such as GS1 US.
- ISBNs come from the national ISBN agency, and an ISBN-13 starting 978 or 979 doubles as an EAN-13.
- Asset tags, bin labels and other internal numbers belong to whoever prints them.
The first digits of a GTIN show which GS1 member organization issued the prefix, not where the product was made.
Frequently Asked Questions
Which Barcode Format Should I Use for Retail Packaging?
For consumer-pack retail, almost always an EAN-13 (UPC-A inside the US and Canada) carrying the product's GTIN. If you're also planning for GS1 Sunrise 2027, pair the 1D barcode with a 2D QR Code carrying a GS1 Digital Link URL. Our UPC vs EAN guide unpacks the trade-off, and the 1D vs 2D guide covers the dual-carrier story.
What's the Difference Between a GTIN and a Barcode?
A GTIN is a number — the Global Trade Item Number that identifies a product. A barcode is a graphical encoding of that number (or other data). The same GTIN can be drawn as UPC-A, EAN-13, ITF-14 or carried inside a 2D Data Matrix; one identity, several wrappers. The What is a GTIN? guide walks through the four GTIN lengths in plain English.
Is GS1 Sunrise 2027 Mandatory for My Brand?
Not mandatory in the legal sense, but the safe choice today is to start now. GS1 has committed global retail POS to accept 2D barcodes by end of 2027, and most major retailers are already updating their scanners. The 1D vs 2D guide explains what changes at the till and what brands should put on packaging during the dual-carrier interim.
Can I Tell a UPC and EAN Apart by Looking at Them?
Yes — count the digits printed under the bars. Twelve digits is a UPC-A; thirteen is an EAN-13. They both encode the same kind of GS1 identifier, and modern scanners read either one, but the digit count tells you which length your master data should store. The UPC vs EAN guide goes deeper.
Do I Need Different Barcodes for Different Countries?
Usually no. A single GTIN works worldwide — what changes is which 1D symbology the artwork prints (UPC-A in North America, EAN-13 elsewhere) and which retail partner specs apply. The Barcode formats field guide lists the symbology you'll meet in each market and which are interchangeable.
Are Barcodes Required by Law?
Usually not. No general law requires a barcode on consumer goods; retailers and marketplaces require one as a condition of listing a product. Some regulated sectors are different: the US FDA unique device identification rule requires medical device labels to carry the identifier in machine-readable form, and the EU Falsified Medicines Directive requires a 2D Data Matrix on most prescription medicine packs.
Are Barcodes Universal?
The standards are. EAN-13, Code 128, QR Code and the other common symbologies are defined by ISO/IEC specifications, so a scanner in any country decodes them the same way. A GTIN licensed through GS1 is also unique worldwide. Internal numbers are the exception: a Code 39 asset tag from one company means nothing to another company's systems.