QrDeco.com Open the free generator

Barcode Types Explained: 1D, 2D and When to Use Each

Barcodes look like a single technology, but there are dozens of incompatible symbologies — each with its own shape, capacity and job. Picking the right one matters: a retail scanner will simply ignore a Code 128 on a chocolate bar, and a QR code printed at 5 mm will defeat every phone camera in the room. This guide walks through the families you will actually meet.

One-dimensional (1D) barcodes

1D codes are the familiar stripes. They store a short payload — typically 8 to 50 characters — read horizontally by laser or camera. The workhorses:

Two-dimensional (2D) codes

2D codes store data in both dimensions, reaching hundreds of characters or more, and carry built-in error correction so a partially damaged symbol can still decode.

How to choose

Generate any of them locally

QrDeco renders 87 symbologies — all of the above and more — entirely in your browser, with SVG/PNG/PDF export. Nothing is uploaded, so test data and real GTINs are equally safe to run through it.

Ready to make one?

The free generator runs entirely in your browser — 87 symbologies, SVG/PNG/PDF export, no sign-up.

Open the free generator →