← Back to articles

Your Phone Can Read More Than QR Codes — A Quick Tour of Ten Barcode Formats

July 1, 2026

The short answer

The camera you point at QR codes isn't a QR scanner — it's a general-purpose barcode reader, and the list of barcode formats your phone scanner handles is longer than most people think. A modern phone reads about a dozen symbologies across two families: 1D (linear) codes, the striped bars on your groceries, and 2D (matrix or stacked) codes, the little squares of dots on your boarding pass. Here's a quick tour of ten-plus formats and where you actually meet each one.

Two families, one camera

Every barcode belongs to one of two groups. A 1D, or linear, code stores data in the widths of vertical bars and holds a short number or string. A 2D code — a matrix of dots or a stack of rows — uses two dimensions to pack far more in, from a full URL to the contents of a plane ticket. That capacity gap is the whole story: a linear code carries a product number, while a 2D code can carry a paragraph. Want the deeper comparison? We cover it in QR code vs. barcode. Either way, your phone's camera reads both families through the same lens.

The retail codes you already scan

The most common barcodes on Earth ride on packaging. EAN-13 and its shorter cousin EAN-8 are the 13- and 8-digit GS1 codes printed on nearly every product sold outside North America. In the US and Canada you'll more often see UPC-A (12 digits) and the compressed UPC-E (6 digits). All four encode digits only — they're a product number that a checkout system looks up in a database, not a link. That's why scanning one with a generic app just hands back a string of numbers.

The workhorse codes behind the scenes

Step into shipping and industry and the formats change. Code 128 is the workhorse: it encodes the full 128-character ASCII set at high density and carries a checksum, which is why it shows up on courier labels and supply-chain cartons. Code 39 and the denser Code 93 handle alphanumeric IDs like warehouse badges and asset tags. ITF (Interleaved 2 of 5) packs digits in pairs on outer shipping boxes — though scanners treat very short ITF codes as unreliable because the format has no built-in checksum. And Codabar, one of the oldest formats still in use, quietly lives on in libraries and blood banks.

The high-capacity 2D codes

The 2D family is where data density jumps. PDF417 is a stacked code you're probably carrying right now: it stores the personal data on the back of US driver's licenses, plus boarding passes and shipping labels. Data Matrix is a compact square used to mark small parts, electronics, and documents. Aztec needs no blank border around it, so it fits neatly on transit tickets and event passes. And QR Code is the high-capacity matrix code that became the smartphone standard — it holds URLs, text, and binary data, and its specification is openly published. One detail worth knowing: for mobile boarding passes, IATA's standard accepts only Aztec, Data Matrix, and QR, because those three scan cleanly off a glowing phone screen.

Which ones your phone actually reads

Here's the practical part. The on-device engines built into modern phones — Apple's and Google's — read all nine 1D formats and four 2D formats named above: Codabar, Code 39, Code 93, Code 128, EAN-8, EAN-13, ITF, UPC-A, UPC-E, Aztec, Data Matrix, PDF417, and QR Code. All of it happens on the device with no network connection, so the image never leaves your phone. A few limits apply — a one-character 1D code or an ITF under six digits may not register — but for everyday scanning, your camera already speaks all of these. Curious what's built in versus what needs an app? See what your phone reads out of the box.

Scanning any of them with QRDock

QRDock reads every format in this tour, and for any code that contains a link, it runs a best-effort safety check before you open it — a habit we unpack in check a link before you tap it. Like the engines above, it decodes on your device and doesn't track you or run ads. So next time you meet an unfamiliar barcode — on a ticket, a parcel, a license — point your phone at it with QRDock and see what it's really carrying.

Frequently Asked Questions

How many barcode types can a phone camera read?

A modern phone using an on-device engine like Apple's or Google's reads at least thirteen: nine 1D formats (Codabar, Code 39, Code 93, Code 128, EAN-8, EAN-13, ITF, UPC-A, UPC-E) and four 2D formats (Aztec, Data Matrix, PDF417, QR Code).

What's the difference between a 1D and a 2D barcode?

A 1D (linear) barcode stores data in the widths of vertical bars and holds a short number or string. A 2D barcode — a matrix or stacked code — uses a grid of dots or squares to pack far more data, from a URL to the contents of a boarding pass.

Why do boarding passes and tickets use Aztec or PDF417 instead of a regular barcode?

They carry more data than a retail barcode can hold, and 2D codes like Aztec, Data Matrix, and QR scan reliably off a glowing phone screen — which is why IATA's mobile boarding-pass standard accepts exactly those three.

Does scanning a barcode send my photo to a server?

Not with a good scanner. Engines like ML Kit decode barcodes entirely on the device with no network connection, so the image never leaves your phone. QRDock works the same way and adds a link-safety check before you open anything.