Types of Barcodes
& Barcode Symbology
Understand the format before choosing the scanner or label.
Barcode symbologies define how data is encoded into a machine-readable symbol. Compare linear, 2D, postal and composite formats, then match the code to your application, label space and reading equipment.
Linear, 2D and Specialized Formats
A barcode usually identifies a record or carries structured data. Scanning captures that data; the connected software determines what happens next.
Linear Barcodes
One-dimensional formats encode information through bars and spaces along one axis. Examples include UPC-A, EAN-13, Code 39 and Code 128.
Use a scanner that supports the required format, element size and reading distance.
2D Matrix & Stacked Codes
Matrix codes such as QR Code and Data Matrix use two-dimensional patterns. PDF417 is a stacked 2D format.
Capacity depends on the symbol and encoding settings. A 2D area imager is the usual starting point for mixed 1D/2D scanning.
Specialized formats need separate consideration. Postal and composite symbols have their own structures and application rules. A postal barcode is not automatically a 2D matrix code.
Choose Around the Data and the Application
Start with any receiving-system or industry requirement, then confirm the barcode's physical and technical fit.
- Data: digits, text, structured fields or binary information
- Identifier: internal reference, GTIN, ISBN or another required identifier
- Space: available area, element size and required quiet zones
- Printing: printer resolution, material, contrast and surface shape
- Reading: supported symbologies, scan distance and host application
- Quality: applicable specifications and any required verification report
Compare Barcode Symbologies
The examples below illustrate barcode appearance. Use the correct encoding and application rules to create your production symbols; a sample image is not a ready-to-use product identifier.
| Barcode / Example | Family | Data / Character Set | Length / Structure | Notes |
|---|---|---|---|---|
Australia Post 4-State
|
Postal | Postal fields; format-dependent customer data | 37, 52 or 67 bars | Australia Post 4-state format; not a matrix barcode. |
Aztec Code
|
2D matrix | Text and binary data | Variable | Includes error correction; capacity depends on symbol size, data mode and error correction. |
Codabar
|
Linear | Digits 0–9 and - $ : / . +; A–D start/stop | Variable | Legacy symbology associated with libraries and blood-bank systems; follow application requirements. |
Code 11
|
Linear | Digits 0–9 and hyphen | Variable | Check-character rules depend on the implementation. |
Code 128
|
Linear | ASCII characters, with code-set switching | Variable | Compact general-purpose linear encoding; commonly used in logistics and internal identification. |
Code 39
|
Linear | A–Z, 0–9, space and - . $ / + % | Variable | General-purpose linear symbology used in industrial identification. |
Extended Code 39
|
Linear | Full ASCII through character pairs | Variable | Extends Code 39; some characters require two symbol characters, increasing width. |
Code 93
|
Linear | Basic set similar to Code 39; extended ASCII modes | Variable | A more compact linear alternative to Code 39. |
Composite Code
|
Composite | GS1 element strings; format-dependent | Variable | Combines a supported linear component with a linked 2D component; not limited to Code 128 plus PDF417. |
Data Matrix
|
2D matrix | Text and binary data | Variable | Compact symbol; ECC 200 includes error correction. Capacity depends on symbol size and encoding. |
EAN-13
|
Linear | Digits only | 13 digits including check digit | Widely used for retail GTIN-13 identification; optional 2- or 5-digit add-on symbols are separate. |
EAN-8
|
Linear | Digits only | 8 digits including check digit | Retail GTIN-8 identification for suitable small-product applications; not simply a shortened EAN-13. |
EAN Bookland (ISBN)
|
Linear | Digits only | 13-digit ISBN; optional supplement | EAN-13 representation of an ISBN-13, often with a 5-digit book-price supplement. |
Industrial 2 of 5
|
Linear | Digits only | Variable | Legacy numeric symbology; also called Standard 2 of 5. |
Interleaved 2 of 5
|
Linear | Digits only | Even number of encoded digits | Encodes digits in pairs; check-digit and length rules depend on the application. |
ITF-14
|
Linear | Digits only | 14 digits including check digit | Interleaved 2 of 5 representation of a GTIN-14, commonly used on cases and cartons. |
LOGMARS
|
Linear | Code 39 character set | Application-defined | A U.S. military logistics application of Code 39. The illustration shows the underlying Code 39 symbology. |
MaxiCode
|
2D matrix | Text and structured data; mode-dependent | Fixed-size symbol; capacity varies | UPS-associated symbology with a central bullseye and error correction. |
MSI Plessey
|
Linear | Digits only | Variable | Legacy inventory and shelf-label applications; check-digit configuration varies. |
OPC Optical Industry Assoc.
|
Linear | Digits only | 9 data digits plus check digit | Optical-product identification based on Interleaved 2 of 5. |
PDF417
|
2D stacked | Text, numeric and binary modes | Variable | PDF417 uses stacked rows and error correction; capacity depends on encoding, rows, columns and error correction. |
POSTNET (legacy)
|
Postal | Digits only | ZIP-based data plus check digit | Legacy U.S. postal barcode using bar heights. Intelligent Mail replaced it for USPS automation-price eligibility. |
QR Code
|
2D matrix | Numeric, alphanumeric, byte and other modes | Variable | Can encode text or a web address. Capacity depends on version, data mode and error-correction level. |
Standard 2 of 5
|
Linear | Digits only | Variable | Another name for Industrial 2 of 5; included here to match legacy product and software terminology. |
GS1-128 (formerly UCC/EAN-128)
|
Linear | GS1 Application Identifiers and associated data | Variable | Current name: GS1-128. Uses Code 128 with GS1-specific formatting and FNC1. |
UCC/EAN Shipping Container Code (SCC-14)
|
Linear | GTIN digits in a GS1 data structure | GTIN-14 plus encoding overhead | Legacy carton-identification terminology. Check whether the receiver requires ITF-14 or GS1-128 with the appropriate Application Identifier. |
UPC Shipping Container Code (ITF-14)
|
Linear | Digits only | 14 digits including check digit | Legacy label for the ITF-14 carton-marking application; not a separate symbology. |
UPC-A
|
Linear | Digits only | 12 digits including check digit | Retail GTIN-12 identification, especially in the U.S. and Canada; separate add-ons may also be used. |
UPC-E
|
Linear | Digits only | Compressed GTIN-12 representation | Zero-suppressed UPC format for eligible GTIN-12 values. Not every UPC-A number can be compressed. |
Vanity Barcodes
|
Design treatment | Depends on underlying symbology | Depends on underlying symbology | Decorative treatment rather than a separate barcode type. Preserve the required barcode structure and verify printed quality. |
Capacity is not one fixed number for every symbol. QR Code, Data Matrix, Aztec and PDF417 capacity varies with encoding, symbol size and error correction. A check digit is included in the stated total length for EAN-13, EAN-8, UPC-A and ITF-14.
BarcodeFactory Resources
Free Barcode Generator
Create sample symbols using the free barcode generator. Select the correct symbology and enter data that meets its rules.
Test readability and verify print quality as required before production use.
Retail Identifiers & GS1
Printing a barcode and obtaining an assigned product identifier are different tasks. GS1 US provides information about GS1 identifiers and retail barcode requirements.
Confirm the requirements of the retailer, marketplace or trading partner receiving your products.
Need Help Matching Codes, Labels and Scanners?
Share your data requirements, sample codes, label dimensions and application. BarcodeFactory can help you explore printing and scanning options for the job.
Trusted by Businesses Nationwide
From Fortune 500 companies to your small business, 125,000+ companies trust our products, service, and support.
Our Top Partners
Barcode Factory is a premier partner with the industry's leading hardware, media, and software providers. We give our customers access to proven products, services, and resources for labeling and data capture applications.
Shop by BrandsFor more information or to discuss your project, Contact Us or call 888-237-8525.