Published · August 6, 2026
What Is a PDF417 Barcode? The Format Behind Boarding Passes and IDs
You've scanned a PDF417 barcode more times than you realize — it's on the back of your driver's license and the printed boarding pass at the gate. Here's what it actually is, how it packs data, and why it's still the default for two things you carry every day.
What it is
A PDF417 barcode is a two-dimensional stacked linear barcode: up to 90 rows stacked on top of each other, each one acting like its own tiny barcode. Dr. Ynjiun P. Wang invented it in 1991 at Symbol Technologies. The name comes from "Portable Data File," and each pattern is 4 bars and spaces across a 17-module width. A QR code, by contrast, is a square matrix, not a stack of rows — if you want the fuller breakdown of when to reach for a 1D barcode instead, we cover that separately. PDF417 is also public domain, so there's no licensing fee to implement it — part of why large standards bodies leaned on it early. You've almost certainly scanned one without knowing its name. It's one of ten barcode formats your phone can already read.
How it actually works
Each row in a PDF417 symbol carries quiet zones, a start pattern, a row-identification codeword, up to 30 data codewords, and a stop pattern. Under the hood, the format uses base-929 encoding: every codeword represents a number from 0 to 928, with 900 of those values reserved for data and 29 for mode-switching. That gives a single symbol room for roughly 1,850 characters in Byte mode, or up to 44 digits packed into just 15 codewords in Numeric mode. To keep a scuffed or partly torn code readable, PDF417 layers on Reed-Solomon error correction at a configurable strength. It's the same underlying idea behind how QR codes handle the same problem, just applied to a different symbol shape. Google's ML Kit lists PDF417 as a standard supported format right alongside Aztec, Data Matrix, and QR Code — not a niche add-on.
Where you'll see it
Printed airline boarding passes are the clearest everyday example. IATA's Bar Coded Boarding Pass standard sets PDF417 as the default 2D format on printed passes, encoding a structured data message with your name, flight number, date, and seat so a gate agent's scanner can verify it without a network lookup. A later revision opened printed passes to Aztec, Data Matrix, or QR as alternatives, but PDF417 is still the default.
The other place you're carrying one right now is your driver's license. The AAMVA DL/ID Card Design Standard, which US and Canadian motor vehicle agencies follow, specifies a PDF417 barcode on the back of every REAL ID-compliant card. It packs your name, address, date of birth, license number, and expiration date into fixed-length fields — including a 6-digit Issuer Identification Number — so a law-enforcement scanner reads any US state's license the same way. Beyond that, PDF417 shows up on some visas and certain USPS postage. It sits next to Data Matrix codes, another 2D format built for tight spaces and more common on medicine and electronics.
Tips, gotchas, and a quick how-to with QRDock
If a PDF417 code won't scan, framing is usually the culprit. Unlike a QR code's single square, a cropped PDF417 image can cut off entire rows of data. Flatten glare and folds, and keep the whole stack visible before you scan. Check that your scanner app actually supports PDF417, too — some default to QR-only recognition, and a "won't scan" license or pass is sometimes just an app limitation, not a damaged code.
QRDock reads PDF417 the same way it reads QR and other formats: open the scanner, frame the whole code, and it decodes automatically. No separate mode to switch on. Worth trying next time you're at the gate or handing over an ID.
Frequently Asked Questions
Is PDF417 the same as a QR code?
No. PDF417 is a stacked linear barcode made of rows; a QR code is a square matrix. Both hold far more data than a UPC-style 1D barcode, but most ID and boarding-pass systems standardized on PDF417 specifically.
Why do driver's licenses use PDF417 instead of a QR code?
The AAMVA DL/ID standard specifies PDF417 for the back-of-card barcode. It predates wide QR adoption in North America and offers high text capacity with strong error correction for field scanning.
Can QRDock scan a PDF417 barcode?
Yes. Point the scanner at a boarding pass, license, or any other PDF417 code, and it decodes the same way it handles QR and other 2D formats.
How much data can a PDF417 barcode hold?
Up to roughly 1,850 characters in a single symbol — though boarding passes and ID cards typically use only a fraction of that for names, dates, and a few fixed-length fields.
What happens if part of a PDF417 code is damaged?
Reed-Solomon error correction lets it still decode with a portion missing or unreadable. The exact tolerance depends on the error-correction level set when the code was generated.
Conclusion
PDF417 is the quiet workhorse behind two things almost everyone carries: a boarding pass and a driver's license. It earns that role through high capacity and rugged error correction, not flash. Next time a gate agent or a bouncer scans your card, that's PDF417 doing the work — and you can watch it decode instantly yourself by scanning one with QRDock.