Barcode Types: Compare and Choose 10 Formats

Choose a barcode format and enter your value in the editor. Need help choosing? Open the guided questions in the format step, or compare ten formats, input rules and reader requirements below.

Compare ten supported barcode formats

Each example below is demonstration data, not an assigned identifier for your product. Expand a format for its input boundaries and receiving requirements.

Code 128 example barcode
STOCK-4827
Data to supply
Letters, numbers and supported ASCII characters
Example internal ID
STOCK-4827
Identifier source
Your internal system supplies the reference. Mixed-case letters are preserved; ordinary Code 128 is not structured GS1-128.
Reader requirement
A reader configured to decode this linear format and a receiving system that accepts its data. Check the supported symbologies before printing.
Code 128 Barcode Generator

Code 39 example barcode
ASSET-2048
Data to supply
Uppercase letters, digits and selected punctuation
Input boundary
The standard alphabet uses uppercase letters, digits and selected punctuation. Choose Code 128 when preserving lowercase is required.
Reader requirement
A reader configured to decode this linear format and a receiving system that accepts its data. Check the supported symbologies before printing.
Code 39 Barcode Generator

EAN-13 example barcode
5901234123457
Data to supply
A 13-digit product number, including its check digit
Identifier source
Use the assigned GTIN-13 for the retail item, including its check digit. Creating its image does not allocate the number.
Reader requirement
A reader configured to decode this linear format and a receiving system that accepts its data. Check the supported symbologies before printing.
EAN-13 Barcode Generator

EAN-8 example barcode
96385074
Data to supply
An assigned 8-digit product number
Format guidance
EAN-8 requires its own assigned identifier; it is not a shortened EAN-13.
Identifier source
Use an assigned GTIN-8. Do not shorten a GTIN-13 to make it fit.
Reader requirement
A reader configured to decode this linear format and a receiving system that accepts its data. Check the supported symbologies before printing.
EAN-8 Barcode Generator

UPC-A example barcode
036000291452
Data to supply
A 12-digit product number, including its check digit
Identifier source
Use the assigned GTIN-12, including its check digit, and confirm the receiving retailer’s requirements.
Reader requirement
A reader configured to decode this linear format and a receiving system that accepts its data. Check the supported symbologies before printing.
UPC-A Barcode Generator

UPC-E example barcode
04252614
Data to supply
An eligible compressed UPC number
Format guidance
UPC-E compression applies only to eligible UPC numbers.
Compression boundary
Only eligible UPC values can be represented in the compressed symbol. Extra blank space does not make an ineligible value compressible.
Reader requirement
A reader configured to decode this linear format and a receiving system that accepts its data. Check the supported symbologies before printing.
UPC-E Barcode Generator

ITF-14 example barcode
10012345000017
Data to supply
A GTIN represented as 14 digits
Scanning context
A GTIN-14 on a carton is different from a retail checkout symbol. Confirm the packaging level and receiving workflow.
Reader requirement
A reader configured to decode this linear format and a receiving system that accepts its data. Check the supported symbologies before printing.
ITF-14 Barcode Generator

GS1-128 example barcode
(01)10012345000017(17)271231(10)LOT-27
Data to supply
Structured Application Identifier fields
Format guidance
Code 128 and GS1-128 serve different needs. Use the GS1-128 fields when the receiving system expects structured data such as a lot number or expiration date.
Structured fields
Enter supported Application Identifier fields such as GTIN, lot and expiry using the GS1 editor. Plain text that resembles those fields is not equivalent.
Reader requirement
A reader configured to decode this linear format and a receiving system that accepts its data. Check the supported symbologies before printing.
GS1-128 Barcode Generator

ISBN example barcode
978-0-306-40615-7
Data to supply
A valid ISBN-10 or ISBN-13
Identifier source
Supply your ISBN. Optional price add-ons belong to the book workflow and are separate from assigning an ISBN.
Reader requirement
A reader and bookselling system configured for the EAN-13 book symbol and any required add-on.
ISBN Barcode Generator

Data Matrix example barcode
PART-4827
Data to supply
Supported text or identifiers
Format guidance
Use a compatible 2D scanner. This generator creates generic Data Matrix, not GS1 DataMatrix.
Scope
This generator creates ordinary Data Matrix, not GS1 DataMatrix. Confirm the data syntax required by the receiving system.
Reader requirement
A two-dimensional imager or compatible camera decoder; a linear-only laser reader is insufficient.
Data Matrix Generator

Allocation, size and scanning context matter alongside the format. See the GS1 barcode type guide.

Choose the data before the artwork

An identifier, a symbology and a receiving system answer different questions: what item is this, how is the value represented, and what accepts it? A format that can encode a string does not necessarily satisfy a retailer or trading partner.

For a short introduction, see how barcodes work. If you already know the format, open the general barcode generator.

Questions and answers

Code 128 is useful when an internal reference includes uppercase and lowercase letters. Code 39 may fit a system that already expects its restricted uppercase alphabet. Data Matrix can suit compact labels when the reader supports it. The receiving system decides which values it recognizes.

They represent different identifier lengths and symbol structures. The accepted form depends on the assigned identifier and receiving workflow. Do not choose solely by the shape of the bars or change the number to fit another format.

Data Matrix is a symbology; GS1 DataMatrix applies GS1 data syntax and other requirements. This creator supports ordinary Data Matrix. Its availability does not imply GS1 DataMatrix generation.

No. It suggests formats from the answers provided. Confirm the assigned identifier, exact data, scanner configuration, artwork size and trading partner’s requirements before printing.

You can preview and customise a barcode before signing in. An account is required to save and download it. You can create three Barcodes in your personal account and three in each non-Premium Workspace; editing does not consume a new slot and archiving does not restore one. Barcode creation, editing and downloads do not start the seven-day trial. Premium allows more creations. Downloads keep their encoded value after a trial ends.