Barcode Formats & Types
Every major barcode symbology in one place — what it encodes, where it is used, and how to generate it. From retail EAN/UPC to industrial Code 128 and 2D QR, Data Matrix and PDF417.
Parallel bars
Data lives in the widths of vertical bars. Best for short numeric IDs read at checkout or on a conveyor. Examples: EAN-13, UPC-A, Code 128, Code 39, ITF-14.
Module grids
Data spans both axes, holding far more in less space and surviving damage via error correction. Examples: QR Code, Data Matrix, PDF417, Aztec, MaxiCode.
Height-modulated bars
Bars of four heights encode routing and delivery-point digits for automated mail sorting. Examples: USPS Intelligent Mail, Royal Mail, Australia Post.
EAN-13
The global retail standard. Encodes a 13-digit GTIN used on virtually every consumer product worldwide.
Generate & learnEAN-8
A compact 8-digit retail code for small packages where an EAN-13 will not fit.
Generate & learnUPC-A
The North American retail standard (USA & Canada). Encodes a 12-digit Universal Product Code.
Generate & learnUPC-E
A zero-suppressed, compact version of UPC-A for small items such as cosmetics and gum.
Generate & learnEAN-5
A 5-digit add-on used on books and magazines to encode the suggested retail price.
Generate & learnEAN-2
A 2-digit add-on for periodicals, typically encoding the issue number.
Generate & learnISBN
International Standard Book Number. Rendered as an EAN-13 with a 978/979 prefix for the publishing trade.
Generate & learnISMN
International Standard Music Number for printed music publications.
Generate & learnISSN
International Standard Serial Number for journals, magazines and continuing resources.
Generate & learnCode 128
High-density, full-ASCII linear code. The workhorse of logistics, shipping and internal tracking.
Generate & learnGS1-128
Code 128 with GS1 Application Identifiers — carries GTIN, batch, expiry and serial data on shipping labels.
Generate & learnITF-14
The 14-digit shipping container code (GTIN-14) printed on corrugated outer cases.
Generate & learnInterleaved 2 of 5
A compact numeric-only code widely used in distribution and warehouse management.
Generate & learnGTIN-14 / EAN-14
14-digit Global Trade Item Number for trade items not intended for retail point-of-sale.
Generate & learnCode 39
The classic alphanumeric industrial code. Standard in manufacturing, defence and asset tagging.
Generate & learnCode 39 Extended
Full-ASCII extension of Code 39 using shift characters to encode lowercase and symbols.
Generate & learnCode 93
A denser, more secure successor to Code 39 with two check characters.
Generate & learnCode 11
A numeric code with a dash, historically used to label telecommunications equipment.
Generate & learnCodabar
A self-checking numeric code with start/stop letters, used by libraries, blood banks and couriers.
Generate & learnMSI
A numeric inventory code (Modified Plessey) common on warehouse shelf labels.
Generate & learnPlessey
A hexadecimal numeric code originally developed for retail shelf labeling.
Generate & learnPharmacode
A binary pharmaceutical packaging code readable even with significant print damage.
Generate & learnPharmacode 2-track
A two-track pharmaceutical code encoding up to 64 million values in a compact space.
Generate & learnQR Code
The ubiquitous 2D matrix code. Holds URLs, text, Wi-Fi, contacts and more — scanned by any phone camera.
Generate & learnMicro QR
A smaller QR variant for tight spaces, holding up to 35 numeric characters.
Generate & learnGS1 QR Code
QR Code carrying GS1 Application Identifiers for supply-chain and retail traceability.
Generate & learnData Matrix
A high-density 2D code that stays readable at tiny sizes — ideal for electronics and medical devices.
Generate & learnGS1 Data Matrix
Data Matrix with GS1 AIs — the standard for healthcare and pharmaceutical traceability.
Generate & learnPDF417
A stacked linear 2D code holding up to 1.1 KB. Used on ID cards, boarding passes and shipping labels.
Generate & learnMicro PDF417
A compact PDF417 variant for small labels and inventory tags.
Generate & learnAztec
A compact 2D code with a central finder — the standard for rail and airline boarding passes.
Generate & learnMaxiCode
A fixed-size hexagonal 2D code used by UPS for automated package sorting.
Generate & learnDotCode
A rectangular dot-matrix code designed for high-speed industrial inkjet printing.
Generate & learnGS1 DataBar
A family of compact GS1 codes for fresh produce, coupons and small healthcare items.
Generate & learnUSPS Intelligent Mail
The 65-bar USPS Intelligent Mail barcode (OneCode) for mail tracking and automation.
Generate & learnPOSTNET
The legacy USPS ZIP-code barcode encoding 5, 9 or 11 digit delivery points.
Generate & learnPLANET
USPS mail-tracking barcode encoding 11 or 13 digits.
Generate & learnRoyal Mail
The Royal Mail RM4SCC barcode used for UK mail sorting and tracking.
Generate & learnAustralia Post
Australia Post 4-state barcode for mail sorting and delivery-point identification.
Generate & learnKIX
The Dutch KIX code used by PostNL for automated mail sorting.
Generate & learnNo symbology matches your search.
Choosing the right barcode
What are the main types of barcodes?
Barcodes fall into three groups: 1D linear codes (EAN, UPC, Code 128, Code 39) that store data in parallel bars; 2D matrix codes (QR, Data Matrix, PDF417, Aztec) that store data in both axes for far higher capacity; and postal 4-state codes (USPS, Royal Mail) for mail sorting.
What is the difference between 1D and 2D barcodes?
A 1D barcode encodes data in the varying widths of parallel bars and typically holds a short numeric or alphanumeric string. A 2D code encodes data in a grid of modules across both dimensions, holding hundreds or thousands of characters and surviving partial damage via error correction.
Which barcode should I use for retail products?
Use EAN-13 for global retail or UPC-A for North America. These GTIN-based codes are read at every point-of-sale and must be licensed from GS1. For small items use EAN-8 or UPC-E.
Which barcode is best for internal tracking?
Code 128 is the most flexible — it encodes full ASCII with no licensing, making it ideal for SKUs, serials and asset tags. Code 39 is a robust alternative for industrial environments.
What is the most common 2D barcode?
QR Code is the most widely recognised 2D symbology, read by any phone camera. Data Matrix is preferred for tiny industrial and medical parts, and PDF417 for IDs and boarding passes.
Are all these barcode generators free?
Yes. Every symbology on BarcodeForge can be generated free with live preview and watermark-free PNG/SVG export, entirely in your browser.