2026-04-28 Knowledge Base

Choosing the Right Barcode Symbology: A Comprehensive Guide

TL

Written by

Ready to generate barcodes?

Create high-quality labels in seconds.

Start Generator →

Code 39, Code 128, EAN-13, UPC-A, ITF-14, DataMatrix — the names alone are enough to make the whole thing feel more complicated than it is. The good news is you do not need to understand the engineering behind each one. You just need to match the code to the job, and there are really only a handful of jobs.

Pick the wrong "symbology" (the technical word for barcode type) and you get scan failures, friction with retail partners, or labels that waste space you do not have. Here is how the common types map to real situations.

Selling at retail: EAN and UPC

If your product is going on a shop shelf, the choice is made for you — you use the global standards.

  • UPC-A — twelve digits, the retail standard across the United States and Canada.
  • EAN-13 — thirteen digits, the standard everywhere else, including Europe and Asia.

Both require a company prefix from GS1 to be genuinely valid. Use them only for products sold through real retail channels.

Logistics and internal tracking: Code 128 and Code 39

These are alphanumeric — they carry letters, numbers, and symbols.

  • Code 128 is the workhorse for shipping and logistics: dense, full ASCII, and read reliably by almost any scanner.
  • Code 39 is older and simpler to print, but it eats far more horizontal space for the same data.

For shipping labels, internal inventory, asset tags, and warehouse work, Code 128 is the safe default. If you are genuinely unsure between the two, that is your answer.

Outer packaging: ITF-14

Those thick, stretched barcodes on cardboard shipping cases are usually ITF-14. They are built to print legibly on corrugated board, where ink bleeds and the surface is uneven. Reach for ITF-14 on cartons and wholesale cases, not on the retail unit inside.

When you need 2D: QR and DataMatrix

When the lines of a 1D code are not enough, you move to the squares of a 2D code.

  • QR codes are made for people with phones — URLs, contact details, large blocks of text.
  • DataMatrix is the industrial cousin, shrinkable to a couple of millimetres and etched directly onto parts (Direct Part Marking), which is why pharma and electronics lean on it.

Use 2D when you need to store a lot of data, when space is extremely tight, or when a customer will scan with a phone.

Quick reference

If you are… Use Why
Selling in US retail UPC-A The required standard
Selling in global retail EAN-13 The required standard
Tracking warehouse assets Code 128 Dense and alphanumeric
Labelling shipping cartons ITF-14 Survives rough cardboard
Marking tiny electronics DataMatrix Smallest footprint
Linking to a website QR Code Phone-friendly, high capacity

One thing that applies to all of them

Whatever symbology you land on, the most common cause of a failed scan is not the code — it is the quiet zone. That blank margin around the bars is how the scanner finds the start and end of the code. Crowd it with text or graphics and even the right symbology stops reading.

Once you know which type you need, you can generate standard-compliant, vector-sharp versions of any of them on BarcodeReady, free.


Related Articles

TL
Software Engineer

Tomasz is a full-stack software engineer with a background in supply chain technology and logistics systems. He built BarcodeReady to solve a real problem he encountered while working on inventory management systems: the lack of a fast, free, and standard-compliant barcode generator that works entirely in the browser without requiring uploads or account registration. BarcodeReady is his answer to that gap — built on rigorous GS1 and ISO standards research.

Ready to generate barcodes?

Create high-quality labels in seconds.

Start Generator
Back to Knowledge Base