Barcode Tools · Guide

Which barcode do I need?

Answer four questions to get a recommendation, or read the comparison table. The answer mostly depends on where the barcode will be scanned and who has to issue the number.

Advertisement

Quick quiz

1. Where will it be scanned?
2. Is the item very small (a few cm or less)?
3. What will the code hold?
4. Do you need batch, expiry or serial data on the same code?

Nothing is uploaded; the quiz runs in your browser.

Recommendation

Barcode comparison table

TypeData capacityTypical useGS1 membership needed?Tool
UPC-A12 digits (GTIN-12)Retail checkout, North AmericaYes, for retail GTINsOpen tool
EAN-1313 digits (GTIN-13)Retail checkout, worldwideYes, for retail GTINsOpen tool
EAN-88 digits (GTIN-8)Very small retail packagesYesOpen tool
Code 128Variable length; full printable ASCIIInventory, shipping labels, internal IDsNo (open symbology)Open tool
GS1-128Variable length; GS1 Application Identifier dataDistribution: batch, expiry, SSCC, case GTINYes, GS1 identifiersOpen tool
QR CodeUp to 7,089 numerals (Model 2, version 40)URLs, tickets, marketing, any textNo for plain QR; GS1 Digital Link uses GS1 numbersOpen tool
Data MatrixHigh-capacity 2D, small footprintTiny parts; GS1 DataMatrix in healthcareNo for plain; GS1 DataMatrix uses GS1 numbersOpen tool
ITF-1414 digits (GTIN-14)Cartons and outer casesYes, GTIN-14Open tool
Code 39Variable; 0-9, A-Z and - . space $ / + %Industrial and legacy internal labelsNo (open symbology)Open tool

Capacity is stated only where a primary source gives a figure: UPC-A, EAN-13, EAN-8 and ITF-14 are fixed-length GTIN formats, and 7,089 numerals is the QR Code Model 2 maximum per Denso Wave, the QR Code inventor. Variable-length formats have no single figure because capacity depends on symbol size and print quality. Classification follows GS1 barcodes: UPC/EAN for retail, GS1 DataBar for extra attributes such as fresh-food weight, GS1-128 and ITF-14 for distribution, and 2D codes such as GS1 DataMatrix for high-capacity data. As of 30 Sep 2026.

GS1 membership: GS1 states it is the only official provider of GTINs and EAN/UPC barcodes (GS1: get barcodes). The symbology itself (Code 128, Code 39, QR) is open: membership matters only when you encode GS1 identifiers. "Yes" in the table means the number inside the barcode must come from GS1, not that the picture is licensed.

Worked scenarios

What this page does not do: it does not issue numbers or check that a number belongs to you. A checksum check, such as the EAN/UPC validator, confirms format only. Retailers and marketplaces set their own requirements, so confirm with them before printing.

Barcode choice: FAQ

Do I need GS1 to make a barcode?

Only if you want a GTIN for retail. GS1 says it is the only official provider of GTINs and EAN/UPC barcodes, so UPC-A and EAN-13 numbers for products sold through stores come from a GS1 membership. Code 128, Code 39 and plain QR codes carry whatever data you choose, so no GS1 prefix is involved for internal use.

What is the difference between UPC-A and EAN-13?

UPC-A encodes 12 digits and EAN-13 encodes 13. Both carry a GTIN and are scanned at retail checkouts. Use whichever your sales channel asks for.

Which barcode goes on a shipping carton?

ITF-14 or GS1-128 are the GS1 barcodes used in distribution. ITF-14 carries a 14-digit GTIN-14; GS1-128 can add attributes such as batch or expiry date. Ask the receiving warehouse which one it requires.

Can a QR code replace a product barcode at the till?

Not by itself. A QR code can hold far more data than a linear barcode (up to 7,089 numerals for the largest Model 2 version, per Denso Wave), but a retail checkout expects an EAN/UPC GTIN unless the retailer says otherwise. GS1 describes 2D barcodes as the direction of travel and runs a retail migration programme, so check with the retailer.

When should I choose Data Matrix?

Data Matrix is a compact 2D symbol. GS1 publishes a guideline for using GS1 DataMatrix in healthcare, where small items need a GTIN plus batch and expiry data. This site does not yet have a dedicated Data Matrix generator.

Does a generated barcode prove the number is mine?

No. A barcode image is only a picture of the digits you typed. A format or checksum check confirms the digits are well formed, not that the number was issued to you.

Is anything I enter uploaded?

No. The quiz and every generator it links to run in your browser.

Advertisement
Advertisement
Listening…