Barcode Types by Industry

Complete reference of 35 barcode types across 8 industries — covering symbology, dimensions, data capacity, compliance standards, and use cases.

Zebralines Team11 min read

Table of Contents

  1. Retail & Consumer Goods
  2. Logistics & Shipping
  3. Healthcare & Pharmaceutical
  4. Manufacturing & Industrial
  5. Food & Grocery
  6. Library & Publishing
  7. Government, Transport & ID
  8. Finance & Retail Payments

1. Retail & Consumer Goods

BarcodeDimensionDigits / CapacityStandardUse Case
EAN-131D13 digitsGS1Global retail product scanning at POS
UPC-A1D12 digitsGS1North American retail (US & Canada)
UPC-E1D6 digits (compressed)GS1Small packaging — suppresses zeros from UPC-A
EAN-81D8 digitsGS1Compact labels on cosmetics and confectionery
GS1 DataBar1DVariableGS1Fresh produce, coupons, variable-weight items

Notes

  • 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

BarcodeDimensionDigits / CapacityStandardUse Case
Code 1281DFull ASCII, variable lengthISO/IEC 15417Shipping labels, warehouse scanning — industry default
GS1-1281DFull ASCII + Application IdentifiersGS1Supply chain — encodes SSCC, lot, expiry, batch in one barcode
ITF-141D14 digitsGS1Outer cartons and pallets — printable on corrugated cardboard
PDF4172DUp to 1,800 charactersISO/IEC 15438Shipping documents, transport labels, large data payloads
MaxiCode2DFixed size, ~93 charactersISO/IEC 16023UPS 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

BarcodeDimensionDigits / CapacityStandardUse Case
DataMatrix2DUp to 2,335 charactersISO/IEC 16022FDA UDI on medical devices — tiny footprint, high density
GS1-128 (pharma)1DFull ASCII + AIsGS1 / DSCSADrug packaging — GTIN, lot, expiry, serial number
QR Code (GS1)2DUp to 3,000 charactersGS1 Digital LinkPatient-facing drug labels — links to product info and recalls
PDF417 (blood bank)2DUp to 1,800 charactersISBT 128Blood product labels — donor ID, blood type, collection date
Codabar1DNumeric + 6 symbolsLegacyLegacy 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

BarcodeDimensionDigits / CapacityStandardUse Case
Code 391DAlphanumeric, variable lengthMIL-STD-1189 / VDA 4902Defence and automotive part labels
QR Code2DUp to 3,000 charactersISO/IEC 18004Part tracking, work orders, assembly instructions
DataMatrix2DUp to 2,335 charactersISO/IEC 16022Direct Part Marking (DPM) — laser-engraved on metal and PCBs
Interleaved 2-of-5 (ITF)1DNumeric only, variable lengthISO/IEC 16390Numeric warehouse and container tracking
Aztec Code2DUp to 3,832 charactersISO/IEC 24778Compact 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

BarcodeDimensionDigits / CapacityStandardUse Case
EAN-131D13 digitsGS1Standard packaged food product barcode — mandatory for retail
GS1 DataBar Expanded1DUp to 74 numeric digitsGS1Fresh produce and deli — encodes price, weight, and best-before
ITF-141D14 digitsGS1Outer cartons of food products shipped to supermarkets
QR Code (GS1 Digital Link)2DUp to 3,000 charactersGS1 Digital LinkSmart packaging — consumer-facing allergen info, recalls, recipes

Notes

  • 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

BarcodeDimensionDigits / CapacityStandardUse Case
EAN-13 (ISBN-13)1D13 digitsISBN / GS1All published books — mandatory since January 2007
Code 391DAlphanumeric, variable lengthMARC 21Spine labels — Dewey Decimal and Library of Congress call numbers
Codabar1DNumeric + 6 symbolsLegacyLegacy 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

BarcodeDimensionDigits / CapacityStandardUse Case
PDF4172DUp to 1,800 charactersAAMVA / ISO 15438US driver's licences — encodes full personal and licence data
Aztec Code2DUp to 3,832 charactersISO/IEC 24778Rail and airline boarding passes — Eurostar, Deutsche Bahn, IATA
QR Code2DUp to 3,000 charactersISO/IEC 18004Digital travel passes, event tickets, government e-documents
POSTNET / IMb1DVariable (ZIP+4 + route)USPSUS mail sorting — Intelligent Mail barcode replaced POSTNET in 2013
Royal Mail 4-State1DUK postcode + delivery pointRoyal MailUK 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

BarcodeDimensionDigits / CapacityStandardUse Case
QR Code (payment)2DUp to 3,000 charactersEMVCo / UPI / ISO 18004Mobile payments — UPI, PayNow, PromptPay, WeChat Pay, Alipay
Code 128 (cheque)1DFull ASCII, variable lengthACH / MICRBank cheque processing — routing, account, and cheque number
PDF417 (receipts)2DUp to 1,800 charactersRetailer-definedDigital 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

BarcodeTypeMax CapacityKey Industries
EAN-131D13 digitsRetail, Food
UPC-A1D12 digitsRetail (North America)
UPC-E1D6 digitsRetail (small pack)
EAN-81D8 digitsRetail (compact)
GS1 DataBar1D74 digitsRetail, Food
Code 1281DFull ASCIILogistics, Manufacturing
GS1-1281DFull ASCII + AIsLogistics, Pharma
ITF-141D14 digitsLogistics, Food
Code 391DAlphanumericManufacturing, Library
Interleaved 2-of-51DNumeric onlyManufacturing, Warehouse
Codabar1DNumeric + symbolsHealthcare (legacy), Library
POSTNET / IMb1DZIP+4 + routeGovernment / Post
Royal Mail 4-State1DUK postcodeGovernment / Post
QR Code2D~3,000 charactersUniversal
DataMatrix2D~2,335 charactersHealthcare, Manufacturing
PDF4172D~1,800 charactersGovernment, Logistics, Finance
Aztec Code2D~3,832 charactersTransport, Manufacturing
MaxiCode2D~93 charactersLogistics (UPS)
GS1 Digital Link QR2D~3,000 charactersRetail, Food (emerging)

Key Regulatory References

Regulation / StandardApplies ToMandated Barcode
GS1 General SpecificationsAll GS1 barcodesEAN-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 StandardDriver's licences (US/Canada)PDF417
IATA BCBP (Boarding Pass)Airline boarding passesAztec Code or PDF417
ISBT 128Blood productsCode 128 / PDF417
EU Regulation 1169/2011Food labelling (EU)EAN-13 + allergen declaration
MIL-STD-1189BUS defence procurementCode 39
VDA 4902Automotive supply chain (Europe)Code 39 / Code 128
EMVCo QR Code SpecificationMobile paymentsQR Code
GS1 Digital Link (Sunrise 2027)Retail globalGS1 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.

Plans from $14/mo · Free bulk-import trial in the workspace