Aztec · PDF417 · Data Matrix

The three non-QR 2D symbologies Abundera supports. They look similar, they all carry hundreds of bytes in a compact matrix, but they're optimised for different jobs and have different native-scanner support. This page is the field guide for picking the right one — and for knowing when a phone camera will and won't read what you print.

Aztec: ISO/IEC 24778:2008 — the 2D barcode on every airline boarding pass and transit ticket.
PDF417: ISO/IEC 15438:2015 — the stacked-linear barcode on every US driver license back.
Data Matrix: ISO/IEC 16022:2006 — the square matrix code on pharma vials, electronic parts, and medical devices.

Side-by-side comparison

AztecPDF417Data Matrix
ShapeSquare, bullseye finder in centreRectangular, stacked linearSquare, L-shaped finder in two corners
Max capacity (alphanumeric)~3,067 chars~1,800 chars~2,335 chars
Module size at max151 × 151Variable (rows × cols)144 × 144
Error correctionReed-Solomon, 5%–95% selectableReed-Solomon, levels 0–8 (selectable)Reed-Solomon, fixed by size (ECC 200)
Quiet zone requiredNone2× module width1 module
Natively made forLow-contrast surfaces (phone screens, crumpled tickets)Long payloads on standard paper (licenses, airbills)Direct-part marking (DPM): laser-etched metal, pharma labels
Consortium / ownerWelch Allyn (now Honeywell), openSymbol Technologies (now Zebra), openID Matrix (now Microscan/Omron), open

Native-scanner support

This is the deciding factor for most real-world choices. None of the three are decoded natively by Apple iPhone Camera; Android Camera behaviour varies by OEM.

ReaderAztecPDF417Data Matrix
iOS Camera (iOS 15+)NoLicense-aware flow in iOS 17+ for AAMVA payloadsNo
Android Camera (stock Google, Pixel)Some OEMsPartialYes (Google Lens)
Google LensUnreliableUnreliableYes
Zebra / Honeywell / Datalogic industrial imagerYesYesYes
Scandit SDKYesYesYes
Airline / transit gate readerYes (canonical use)Some boarding passesNo
US DMV / bar / kiosk readerNoYes (canonical use)No
Pharma / medical DPM reader (ISO 29158)NoNoYes (canonical use)

Pick the right one

Use Aztec when

You're generating a boarding pass, transit ticket, or electronic ID that will be scanned by a dedicated gate reader or phone screen. Aztec is the only 2D symbology designed to decode reliably from a low-contrast phone display behind a thumb smudge; that's why IATA BCBP chose it for boarding passes in 2005.

Use PDF417 when

You need a long ASCII payload (1–2 KB) on flat paper that will be read by a 1D/2D laser scanner at close range. Canonical uses: the back of every US driver license (AAMVA), FedEx airbills, US passports, CA healthcare cards, many government forms.

Use Data Matrix when

You're marking small physical parts — pharma vials (FDA UDI, EU MDR), electronic components, surgical instruments, jet-engine blades. Data Matrix survives laser-etching, direct-part marking, and dot-peen on metal where no other symbology does. ISO/IEC 29158 defines DPM-grade quality scoring specifically for it.

Use QR instead when

The target is a consumer phone camera. Every smartphone reads QR natively; none read these three reliably. If your print will be scanned by the general public, use QR and accept the slightly lower data density — the tradeoff of universal decodability is worth it.

Canonical test vectors

SymbologyPayloadExpected substring(s)
Aztec, short URLhttps://example.com/board/AB12example.com/board/AB12
Aztec, long ticket payloadM1DOE/JOHN EABC123 AB1234 DEPART ARR 12JAN …M1DOE/JOHN
PDF417, GS1 airbill123456789012345 FEDEX 2026-04-20FEDEX
PDF417, AAMVA driver license@\n\x1e\rANSI 636014100002DL…ANSI 636014
Data Matrix, pharma UDI(01)09506000134352(17)270630(10)ABC12309506000134352
Data Matrix, electronic part SNPN:4321-ABC SN:000012344321-ABC

Common pitfalls

See also

Spec versions verified 2026-04-19 (ISO/IEC 24778:2008, 15438:2015, 16022:2006). Next review: 2026-07-19.