Beginner GUIDE6 min read

What Is a Barcode? Complete Beginner’s Guide & How It Works

Learn what barcodes are, how optical scanners read the pattern of bars and spaces, the difference between 1D and 2D barcodes, and how businesses use them.

Barcode Symbology Comparison Matrix

Compare density, character capacity, checksums, and ISO standards across all major 1D and 2D formats.

17 Standards Indexed
SymbologyCategoryCharacter SetStandard / ChecksumPrimary ApplicationAction
Code 128Logistics & ShippingFull 128 ASCII character set (A-Z, a-z, 0-9, and symbols)
ISO/IEC 15417
Modulo 103 check digit (automatically calculated)
Logistics, carton tracking, and container labelingCreate Code 128
UPC-ARetail & Products12 Numeric digits (0-9)
GS1 General Specifications / ISO/IEC 15420
Modulo 10 check digit (3x odd positions + 1x even positions)
Retail point-of-sale checkout in the US and CanadaCreate UPC-A
EAN-13Retail & Products13 Numeric digits (0-9)
GS1 General Specifications / ISO/IEC 15420
Modulo 10 check digit (1x odd positions + 3x even positions)
Global retail point-of-sale in Europe, Asia, Latin America, and AfricaCreate EAN-13
Code 39Logistics & Shipping43 characters: 0-9, A-Z (uppercase only), and symbols (-, ., $, /, +, %, space)
ISO/IEC 16388
Optional Modulo 43 check character
US Department of Defense military supply chain (MIL-STD-129 / LOGMARS)Create Code 39
Code 93Logistics & Shipping47 characters (0-9, A-Z, 7 special characters), and full ASCII using 2-character sequences
ANSI/AIM BC5
Dual check characters ("C" and "K" modulo 47)
Canada Post delivery tracking and parcel routingCreate Code 93
EAN-8Retail & Products8 Numeric digits (0-9)
GS1 General Specifications / ISO/IEC 15420
Modulo 10 check digit (3x odd positions + 1x even positions)
Small cosmetic products, lipsticks, pencilsCreate EAN-8
UPC-ERetail & Products8 Numeric digits (0-9)
GS1 General Specifications / ISO/IEC 15420
Modulo 10 derived from the decompressed 12-digit UPC-A
Small retail packages in the United States and CanadaCreate UPC-E
ITF-14Logistics & Shipping14 Numeric digits (0-9)
GS1 General Specifications / ISO/IEC 16390
Modulo 10 check digit (3x odd positions + 1x even positions)
Master cartons and outer packaging containersCreate ITF-14
ISBNBooks13 Numeric digits (0-9, begins with 978 or 979)
ISO 2108 / Bookland EAN
Modulo 10 check digit
Paperback and hardcover book back coversCreate ISBN
GS1-128Logistics & ShippingGS1 Application Identifiers and alphanumeric data
GS1 General Specifications / ISO/IEC 15417
Modulo 103 check digit plus GS1 FNC1 start character
SSCC (Serial Shipping Container Code) pallet labelsCreate GS1-128
CodabarOtherNumeric digits (0-9), 6 symbols (-:.$/+), and start/stop characters (A, B, C, D)
ANSI/AIM BC3
Self-checking (optional Modulo 16)
Blood bank tube labeling (ISBT 128 legacy systems)Create Codabar
MSIOtherNumeric digits (0-9)
MSI Symbology Standard
Modulo 10, Modulo 11, or Modulo 1010 check digits
Supermarket retail shelf price tags and restocking labelsCreate MSI
PharmacodeOtherSingle integer value from 3 to 131070 (standard) or 3 to 64570080 (two-track)
Laetus Pharmacode Standard
Binary positional value (no parity check digit)
Pharmaceutical packaging lines to verify medicine boxes, bottle labels, and instruction leafletsCreate Pharmacode
Data Matrix2D CodesFull ASCII, ISO 8859-1 (extended ASCII), and binary data
ISO/IEC 16022
Reed-Solomon error correction (ECC 200)
Direct Part Marking (DPM) on aerospace and automotive steel partsCreate Data Matrix
PDF4172D CodesFull ASCII, binary data, numbers, and text (up to 1.1 kilobytes per symbol)
ISO/IEC 15438
Configurable Reed-Solomon error correction levels (Level 0 to Level 8)
US & Canadian driver licenses and government ID cards (AAMVA standard)Create PDF417
Aztec Code2D CodesFull ASCII, byte/binary, and UTF-8 characters
ISO/IEC 24778
Reed-Solomon error correction (adjustable percentage)
Airline electronic boarding passes (IATA specification)Create Aztec Code
QR Code2D CodesNumeric (7,089 chars), Alphanumeric (4,296 chars), Binary (2,953 bytes), Kanji (1,817 chars)
ISO/IEC 18004
Reed-Solomon error correction (L: 7%, M: 15%, Q: 25%, H: 30%)
Website URLs and landing page promotionCreate QR Code
🔒 100% Privado

Zero Uploads para Servidores

Todos os cálculos e gráficos são gerados localmente no seu navegador em JavaScript.

⚡ Conformidade Total

Padrão GS1 e ISO

A verificação rigorosa dos dígitos de controle assegura compatibilidade com leitores físicos.

🎉 Sem Restrições

Grátis Para Sempre

Sem necessidade de conta, sem marcas d’água e sem expiração. Livre para uso comercial.