EAN-13 is the global default. Every product sold in international retail must carry one.
UPC-A is effectively a subset of EAN-13 — all UPC-A scanners read EAN-13.
GS1 DataBar is increasingly replacing EAN-13 for fresh food because it can encode expiry date and weight alongside the GTIN.
Quiet zone requirement: minimum 2.5 mm on both sides for all GS1 retail barcodes.
2. Logistics & Shipping
Barcode
Dimension
Digits / Capacity
Standard
Use Case
Code 128
1D
Full ASCII, variable length
ISO/IEC 15417
Shipping labels, warehouse scanning — industry default
GS1-128
1D
Full ASCII + Application Identifiers
GS1
Supply chain — encodes SSCC, lot, expiry, batch in one barcode
ITF-14
1D
14 digits
GS1
Outer cartons and pallets — printable on corrugated cardboard
PDF417
2D
Up to 1,800 characters
ISO/IEC 15438
Shipping documents, transport labels, large data payloads
MaxiCode
2D
Fixed size, ~93 characters
ISO/IEC 16023
UPS high-speed conveyor scanning
Notes
Code 128 is the workhorse of global logistics. If you support only one barcode for this industry, it should be Code 128.
GS1-128 is Code 128 with GS1 Application Identifiers (AIs) — structured data fields like (00) for SSCC, (10) for lot number, (17) for expiry date.
ITF-14 is specifically designed to survive low-quality printing on cardboard — wider bars tolerate bleed.
MaxiCode is a UPS proprietary format. Fixed hexagonal matrix, designed for robotic conveyor scanners at 30+ items/second.
3. Healthcare & Pharmaceutical
Barcode
Dimension
Digits / Capacity
Standard
Use Case
DataMatrix
2D
Up to 2,335 characters
ISO/IEC 16022
FDA UDI on medical devices — tiny footprint, high density
GS1-128 (pharma)
1D
Full ASCII + AIs
GS1 / DSCSA
Drug packaging — GTIN, lot, expiry, serial number
QR Code (GS1)
2D
Up to 3,000 characters
GS1 Digital Link
Patient-facing drug labels — links to product info and recalls
PDF417 (blood bank)
2D
Up to 1,800 characters
ISBT 128
Blood product labels — donor ID, blood type, collection date
Codabar
1D
Numeric + 6 symbols
Legacy
Legacy blood bank and laboratory specimen tracking
Notes
DataMatrix is mandated by the FDA under 21 CFR Part 830 (UDI regulation) for all medical devices. It must encode at minimum the Device Identifier (DI) and, where applicable, the Production Identifier (PI) — lot, serial, manufacturing date, expiry.
GS1-128 on drug packaging is required in the US under DSCSA (Drug Supply Chain Security Act) for serialisation and track-and-trace.
Codabar is a legacy format still found in older lab and hospital systems. New implementations should use GS1-128 or DataMatrix instead.
Minimum module size for DataMatrix on medical devices: 0.254 mm (10 mil) per FDA guidance.
4. Manufacturing & Industrial
Barcode
Dimension
Digits / Capacity
Standard
Use Case
Code 39
1D
Alphanumeric, variable length
MIL-STD-1189 / VDA 4902
Defence and automotive part labels
QR Code
2D
Up to 3,000 characters
ISO/IEC 18004
Part tracking, work orders, assembly instructions
DataMatrix
2D
Up to 2,335 characters
ISO/IEC 16022
Direct Part Marking (DPM) — laser-engraved on metal and PCBs
Interleaved 2-of-5 (ITF)
1D
Numeric only, variable length
ISO/IEC 16390
Numeric warehouse and container tracking
Aztec Code
2D
Up to 3,832 characters
ISO/IEC 24778
Compact 2D for small surfaces — no quiet zone required
Notes
Code 39 remains the standard in US defence procurement (MIL-STD-1189B) and European automotive supply chains (VDA 4902). It requires no check digit, which simplifies implementation.
DataMatrix for DPM is the go-to for permanently marking machined parts, PCBs, and surgical instruments. Dot-peen, laser, and chemical etching all produce readable DataMatrix marks.
QR Code error correction levels: L (7%), M (15%), Q (25%), H (30%). Manufacturing environments should use Level M or higher to tolerate surface contamination.
Aztec Code requires no quiet zone — useful when label real estate is extremely limited.
5. Food & Grocery
Barcode
Dimension
Digits / Capacity
Standard
Use Case
EAN-13
1D
13 digits
GS1
Standard packaged food product barcode — mandatory for retail
GS1 DataBar Expanded
1D
Up to 74 numeric digits
GS1
Fresh produce and deli — encodes price, weight, and best-before
ITF-14
1D
14 digits
GS1
Outer cartons of food products shipped to supermarkets
EAN-13 is the non-negotiable standard for any packaged food sold through retail. A GS1 Company Prefix is required to obtain valid EAN-13 numbers.
GS1 DataBar Expanded is the preferred barcode for items priced by weight at checkout. It can encode GS1 Application Identifiers alongside the GTIN — critical for deli, bakery, and produce departments.
GS1 Digital Link QR is the future-facing format. GS1 has set 2027 as the target for retailers to accept it as a replacement for EAN-13. It functions at POS and simultaneously provides a consumer-facing web link.
EU Regulation 1169/2011 requires allergen information to be clearly declared — some implementations encode this in GS1 DataBar Expanded or GS1 Digital Link.
6. Library & Publishing
Barcode
Dimension
Digits / Capacity
Standard
Use Case
EAN-13 (ISBN-13)
1D
13 digits
ISBN / GS1
All published books — mandatory since January 2007
Code 39
1D
Alphanumeric, variable length
MARC 21
Spine labels — Dewey Decimal and Library of Congress call numbers
Codabar
1D
Numeric + 6 symbols
Legacy
Legacy patron ID cards and item tracking in older LMS
Notes
ISBN-13 is simply EAN-13 with a 978 or 979 prefix. Any EAN-13 scanner reads ISBN barcodes without modification.
The 978 prefix (Bookland) is used for standard ISBN books. The 979 prefix was introduced to expand capacity and is also used for sheet music (ISMN).
Code 39 on spine labels is printable on any standard thermal desktop label printer — no special barcode printer required.
New library system implementations should replace Codabar patron barcodes with Code 39 or Code 128 where possible.
7. Government, Transport & ID
Barcode
Dimension
Digits / Capacity
Standard
Use Case
PDF417
2D
Up to 1,800 characters
AAMVA / ISO 15438
US driver's licences — encodes full personal and licence data
Aztec Code
2D
Up to 3,832 characters
ISO/IEC 24778
Rail and airline boarding passes — Eurostar, Deutsche Bahn, IATA
QR Code
2D
Up to 3,000 characters
ISO/IEC 18004
Digital travel passes, event tickets, government e-documents
POSTNET / IMb
1D
Variable (ZIP+4 + route)
USPS
US mail sorting — Intelligent Mail barcode replaced POSTNET in 2013
Royal Mail 4-State
1D
UK postcode + delivery point
Royal Mail
UK postal automation — printed by Royal Mail franking machines
Notes
PDF417 on driver's licences is standardised by AAMVA (American Association of Motor Vehicle Administrators). It encodes name, address, DOB, licence class, restrictions, endorsements, and issue/expiry dates.
Aztec Code is mandated by IATA for airline boarding passes (BCBP standard) and widely used in European rail. Its advantage is zero quiet zone requirement — critical for narrow thermal-printed tickets.
Intelligent Mail barcode (IMb) replaced POSTNET and PLANET in 2013. It encodes a 65-bar sequence containing the Routing Code (ZIP+4) and a 20-digit Barcode ID for tray and sortation tracking.
Royal Mail 4-State uses four bar heights (ascender, descender, full, tracker) to encode each character. The KIX code variant is used by PostNL in the Netherlands.
8. Finance & Retail Payments
Barcode
Dimension
Digits / Capacity
Standard
Use Case
QR Code (payment)
2D
Up to 3,000 characters
EMVCo / UPI / ISO 18004
Mobile payments — UPI, PayNow, PromptPay, WeChat Pay, Alipay
Code 128 (cheque)
1D
Full ASCII, variable length
ACH / MICR
Bank cheque processing — routing, account, and cheque number
PDF417 (receipts)
2D
Up to 1,800 characters
Retailer-defined
Digital receipts and loyalty cards — transaction ID and item data
Notes
EMVCo QR is the global standard for merchant-presented QR payments. UPI (India), PayNow (Singapore), PromptPay (Thailand), and most Southeast Asian schemes are built on EMVCo QR or country-specific derivatives.
The QR payment format encodes merchant ID, currency, country, and optionally a pre-filled amount — the payer's app reads and confirms the transaction.
PDF417 on loyalty cards allows a single barcode to carry enough data for both transaction verification and loyalty point redemption, eliminating the need for a separate card swipe.
Quick Reference Summary
Barcode
Type
Max Capacity
Key Industries
EAN-13
1D
13 digits
Retail, Food
UPC-A
1D
12 digits
Retail (North America)
UPC-E
1D
6 digits
Retail (small pack)
EAN-8
1D
8 digits
Retail (compact)
GS1 DataBar
1D
74 digits
Retail, Food
Code 128
1D
Full ASCII
Logistics, Manufacturing
GS1-128
1D
Full ASCII + AIs
Logistics, Pharma
ITF-14
1D
14 digits
Logistics, Food
Code 39
1D
Alphanumeric
Manufacturing, Library
Interleaved 2-of-5
1D
Numeric only
Manufacturing, Warehouse
Codabar
1D
Numeric + symbols
Healthcare (legacy), Library
POSTNET / IMb
1D
ZIP+4 + route
Government / Post
Royal Mail 4-State
1D
UK postcode
Government / Post
QR Code
2D
~3,000 characters
Universal
DataMatrix
2D
~2,335 characters
Healthcare, Manufacturing
PDF417
2D
~1,800 characters
Government, Logistics, Finance
Aztec Code
2D
~3,832 characters
Transport, Manufacturing
MaxiCode
2D
~93 characters
Logistics (UPS)
GS1 Digital Link QR
2D
~3,000 characters
Retail, Food (emerging)
Key Regulatory References
Regulation / Standard
Applies To
Mandated Barcode
GS1 General Specifications
All GS1 barcodes
EAN-13, UPC-A, GS1-128, ITF-14, DataBar
FDA 21 CFR Part 830 (UDI)
Medical devices (US)
DataMatrix or QR Code
DSCSA (Drug Supply Chain Security Act)
Pharmaceutical (US)
GS1-128 or DataMatrix
AAMVA DL/ID Card Design Standard
Driver's licences (US/Canada)
PDF417
IATA BCBP (Boarding Pass)
Airline boarding passes
Aztec Code or PDF417
ISBT 128
Blood products
Code 128 / PDF417
EU Regulation 1169/2011
Food labelling (EU)
EAN-13 + allergen declaration
MIL-STD-1189B
US defence procurement
Code 39
VDA 4902
Automotive supply chain (Europe)
Code 39 / Code 128
EMVCo QR Code Specification
Mobile payments
QR Code
GS1 Digital Link (Sunrise 2027)
Retail global
GS1 Digital Link QR
Last updated: May 2026 · 35 barcode types · 8 industries · 11 regulatory references
Browser-native · Catalog never uploaded
Put this guide to work on your next label run.
Import a CSV, validate every row, and export print-ready PNG, SVG, or PDF labels — without enterprise software or catalog uploads.