Barcode Types Explained
A guide to the most common barcode formats — what they are, what they're used for, and when to choose each one.
1D vs 2D barcodes
1D Barcode Formats
Code 128
1DA high-density 1D barcode supporting letters, numbers, and most ASCII characters. Best general-purpose business barcode.
Code 39
1DA simple 1D barcode for uppercase letters, digits, and limited symbols. Common in legacy systems and asset tags.
EAN-13
1DInternational retail product barcode. Requires 12 or 13 digits; check digit is calculated automatically.
UPC-A
1DStandard retail barcode in the US and Canada. Requires 11 or 12 digits; check digit is auto-calculated.
UPC-E
1DCompact zero-suppressed version of UPC-A for small retail packages. Accepts 6, 7, or 8 digits.
ITF-14
1DUsed on cartons and shipping cases. Requires 13 or 14 digits; check digit is auto-calculated.
Codabar
1DLegacy 1D barcode used in libraries, blood banks, and older inventory systems.
2D Barcode Formats
QR Code
2DThe most popular 2D barcode. Stores URLs, text, Wi-Fi credentials, vCards, and more.
Data Matrix
2DCompact 2D barcode ideal for small items, industrial marking, and healthcare.
PDF417
2DStacked 2D barcode capable of storing large amounts of data including documents and IDs.
Aztec Code
2DCompact 2D code used for tickets and transportation. Does not require a quiet zone.
MaxiCode
2DFixed-size 2D code used in shipping and parcel sorting. Associated with logistics workflows.