Symbology Library

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.

1D · Linear

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.

2D · Matrix

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.

Postal · 4-state

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.

1D Popular

EAN-13

The global retail standard. Encodes a 13-digit GTIN used on virtually every consumer product worldwide.

Generate & learn
1D

EAN-8

A compact 8-digit retail code for small packages where an EAN-13 will not fit.

Generate & learn
1D Popular

UPC-A

The North American retail standard (USA & Canada). Encodes a 12-digit Universal Product Code.

Generate & learn
1D

UPC-E

A zero-suppressed, compact version of UPC-A for small items such as cosmetics and gum.

Generate & learn
1D

EAN-5

A 5-digit add-on used on books and magazines to encode the suggested retail price.

Generate & learn
1D

EAN-2

A 2-digit add-on for periodicals, typically encoding the issue number.

Generate & learn
1D Popular

ISBN

International Standard Book Number. Rendered as an EAN-13 with a 978/979 prefix for the publishing trade.

Generate & learn
1D

ISMN

International Standard Music Number for printed music publications.

Generate & learn
1D

ISSN

International Standard Serial Number for journals, magazines and continuing resources.

Generate & learn
1D Popular

Code 128

High-density, full-ASCII linear code. The workhorse of logistics, shipping and internal tracking.

Generate & learn
1D Popular

GS1-128

Code 128 with GS1 Application Identifiers — carries GTIN, batch, expiry and serial data on shipping labels.

Generate & learn
1D

ITF-14

The 14-digit shipping container code (GTIN-14) printed on corrugated outer cases.

Generate & learn
1D

Interleaved 2 of 5

A compact numeric-only code widely used in distribution and warehouse management.

Generate & learn
1D

GTIN-14 / EAN-14

14-digit Global Trade Item Number for trade items not intended for retail point-of-sale.

Generate & learn
1D Popular

Code 39

The classic alphanumeric industrial code. Standard in manufacturing, defence and asset tagging.

Generate & learn
1D

Code 39 Extended

Full-ASCII extension of Code 39 using shift characters to encode lowercase and symbols.

Generate & learn
1D

Code 93

A denser, more secure successor to Code 39 with two check characters.

Generate & learn
1D

Code 11

A numeric code with a dash, historically used to label telecommunications equipment.

Generate & learn
1D

Codabar

A self-checking numeric code with start/stop letters, used by libraries, blood banks and couriers.

Generate & learn
1D

MSI

A numeric inventory code (Modified Plessey) common on warehouse shelf labels.

Generate & learn
1D

Plessey

A hexadecimal numeric code originally developed for retail shelf labeling.

Generate & learn
1D

Pharmacode

A binary pharmaceutical packaging code readable even with significant print damage.

Generate & learn
1D

Pharmacode 2-track

A two-track pharmaceutical code encoding up to 64 million values in a compact space.

Generate & learn
2D Popular

QR Code

The ubiquitous 2D matrix code. Holds URLs, text, Wi-Fi, contacts and more — scanned by any phone camera.

Generate & learn
2D

Micro QR

A smaller QR variant for tight spaces, holding up to 35 numeric characters.

Generate & learn
2D

GS1 QR Code

QR Code carrying GS1 Application Identifiers for supply-chain and retail traceability.

Generate & learn
2D Popular

Data Matrix

A high-density 2D code that stays readable at tiny sizes — ideal for electronics and medical devices.

Generate & learn
2D

GS1 Data Matrix

Data Matrix with GS1 AIs — the standard for healthcare and pharmaceutical traceability.

Generate & learn
2D Popular

PDF417

A stacked linear 2D code holding up to 1.1 KB. Used on ID cards, boarding passes and shipping labels.

Generate & learn
2D

Micro PDF417

A compact PDF417 variant for small labels and inventory tags.

Generate & learn
2D

Aztec

A compact 2D code with a central finder — the standard for rail and airline boarding passes.

Generate & learn
2D

MaxiCode

A fixed-size hexagonal 2D code used by UPS for automated package sorting.

Generate & learn
2D

DotCode

A rectangular dot-matrix code designed for high-speed industrial inkjet printing.

Generate & learn
1D

GS1 DataBar

A family of compact GS1 codes for fresh produce, coupons and small healthcare items.

Generate & learn
Postal

USPS Intelligent Mail

The 65-bar USPS Intelligent Mail barcode (OneCode) for mail tracking and automation.

Generate & learn
Postal

POSTNET

The legacy USPS ZIP-code barcode encoding 5, 9 or 11 digit delivery points.

Generate & learn
Postal

PLANET

USPS mail-tracking barcode encoding 11 or 13 digits.

Generate & learn
Postal

Royal Mail

The Royal Mail RM4SCC barcode used for UK mail sorting and tracking.

Generate & learn
Postal

Australia Post

Australia Post 4-state barcode for mail sorting and delivery-point identification.

Generate & learn
Postal

KIX

The Dutch KIX code used by PostNL for automated mail sorting.

Generate & learn
Formats FAQ

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.