Home · Learn · Aztec Barcode: The 2D Format You Scan at the Airport

Aztec Barcode: The 2D Format You Scan at the Airport

Aztec is the 2D barcode you scan at every airport gate and rail station. High-density, quiet-zone-free, and forgiving — here is how it works.

UPC-A example

Aztec is a 2D matrix barcode invented in 1995 by Andy Longacre at Welch Allyn. Unlike QR Code and Data Matrix, Aztec requires no quiet zone (white margin) around it — the entire space is data. Capacity scales from 12 bytes (smallest) up to 3,832 numeric digits or 3,067 alphanumeric characters or 1,914 bytes of binary data. The recognizable visual feature is a 'bullseye' pattern at the center that the scanner uses for orientation.

Aztec's killer app is transportation tickets. IATA-standard airline boarding passes use Aztec (BCBP standard PDF 417 or Aztec). European rail (UIC 918.2 standard), Lufthansa, Eurostar, SNCF, Deutsche Bahn all use Aztec. Reason: boarding-pass real estate is tiny, Aztec is denser than QR, and Aztec doesn't need a quiet zone — so the barcode can sit right up against text or borders on a cramped boarding pass.

Aztec vs QR Code vs Data Matrix — which 2D format to pick

QR Code: best general-purpose 2D code, widest scanner support, smartphone camera native. Data Matrix: smallest 2D format, used in industrial and pharma (DSCSA). Aztec: highest data density per square inch, no quiet zone needed, used by airlines and rail. PDF417: stacked linear (not true 2D), used on driver's licenses and DHL labels. For consumer scanning (link to URL, share Wi-Fi, payment), QR Code wins on phone-camera support. For airline/rail tickets, Aztec wins on density. For tiny industrial labels, Data Matrix wins on size.

Aztec structure: bullseye + data layers

Center: a square 'bullseye' pattern (11×11 for compact, 13×13 for full-range) that the scanner uses to locate and orient the code. Surrounding: concentric layers of data modules. Reed-Solomon error correction takes 1-99% of capacity (you choose) — most boarding passes use 23% error correction, allowing the code to scan correctly even when crumpled, partially obscured, or damaged. Aztec's compact form is 15×15 modules at minimum; the full-range version scales up to 151×151 modules for high-capacity industrial use.

Where Aztec actually appears in the wild

Five domains. (1) Airline boarding passes — IATA BCBP standard accepts both Aztec and PDF417; most European carriers use Aztec, US carriers tend toward PDF417. (2) European rail tickets — UIC 918.2 standardized on Aztec for all paper and mobile rail tickets across the EU. (3) Healthcare ID cards — some hospital wristbands and patient ID cards encode patient info in Aztec to fit on small wristbands. (4) Postal services — Royal Mail and several European posts use Aztec on tracked-mail labels. (5) Hungary's vehicle registration documents use Aztec to encode all vehicle metadata for police roadside scanning.

When NOT to use Aztec

Two scenarios. (1) Consumer-facing applications where users will scan with a phone camera — QR Code has dramatically better recognition in iOS/Android native scanners. iPhone Camera and Google Lens detect QR almost instantly; Aztec detection is slower and unreliable in stock phone software. (2) When you need to embed binary data with very high reliability — Data Matrix or PDF417 with maximum error correction outperform Aztec for industrial use cases where the barcode might be scratched, oil-stained, or scanned at extreme angles.

FAQ

What is an Aztec barcode used for?

Primarily transportation tickets — airline boarding passes (IATA BCBP standard), European rail (UIC 918.2), some hospital wristbands, and a few national vehicle-registration systems. Aztec's value is high data density without needing a quiet zone (white margin), making it ideal for cramped ticket layouts.

How is Aztec different from QR Code?

Three differences. (1) Quiet zone — Aztec needs NONE, QR needs a 4-module quiet zone around it. (2) Orientation marker — Aztec has a single central bullseye, QR has three corner finder patterns. (3) Adoption — QR is universally supported by phone cameras and is the consumer default; Aztec is a niche industry format mostly invisible to consumers but standardized in airline/rail systems.

What is the maximum capacity of an Aztec code?

At the largest 151×151-module size with minimum error correction: 3,832 numeric digits, 3,067 ASCII characters, or 1,914 bytes of binary data. Practical boarding-pass Aztec codes use the compact 19-33×19-33 module size with ~23% error correction, encoding ~250-500 bytes of IATA-format passenger data.

Can my phone scan Aztec codes?

Most iPhones and Android phones CAN read Aztec, but the native camera app does NOT auto-detect it the way it does QR Code. You need a dedicated app (Scanbot, Aztec Reader, or any general 2D barcode reader). If you're designing a consumer-facing barcode, use QR Code instead — Aztec is for industry-to-industry use where dedicated scanners are deployed.

Why do airlines use Aztec instead of QR?

Three reasons. (1) Aztec has no quiet zone, so it fits in tight ticket layouts where QR would have to shrink. (2) Aztec is denser per square inch, encoding more passenger data in the same space. (3) The IATA Bar Coded Boarding Pass (BCBP) standard was set in the early 2000s before QR achieved consumer ubiquity; airlines standardized on Aztec and PDF417 and haven't migrated. Dedicated airport gate scanners read Aztec faster than QR.

Related generators

Need a real barcode now?

Generate a valid Data Matrix barcode in seconds — no signup, no watermark. Free for casual use; paid plans from $9/mo for higher volume.

Related topics