How to scan a PDF417 barcode
- Tap Start camera (or choose Upload image for a photo).
- Turn the phone sideways if that helps the wide barcode fill the frame, and hold it parallel to the card or ticket.
- Avoid glare on laminated cards by tilting slightly away from the light.
- Read the parsed fields. For licenses, age and expiry status are calculated for you.
Quick answer: PDF417 is the wide, stacked barcode on the back of North American driver licenses, on boarding passes and on some shipping and government documents. This scanner reads it and, for licenses and boarding passes, turns the raw data into labelled fields.
What’s in a driver license barcode
US states and Canadian provinces encode license data using the AAMVA DL/ID card design standard. The data starts with a header (including the issuer’s 6-digit identification number and the AAMVA version) and then a list of elements, each with a three-letter code:
| Code | Field | Code | Field |
|---|---|---|---|
DCS | Family name | DAQ | License or ID number |
DAC | First name | DBA | Expiry date |
DAD | Middle name | DBD | Issue date |
DBB | Date of birth | DCA | Vehicle class |
DBC | Sex | DCB / DCD | Restrictions / endorsements |
DAG, DAI, DAJ, DAK | Street, city, state, postal code | DDA | REAL ID compliance |
US cards write dates as MMDDYYYY and Canadian cards as YYYYMMDD; the scanner converts both to a plain date and works out the holder’s age and whether the card has expired. Older cards using early AAMVA versions may use different field codes, in which case the raw text is still shown.
Privacy and responsible use
A license barcode holds the same personal details as the front of the card. This page never transmits them: decoding uses WebAssembly in your browser, there’s no server involved, and results aren’t saved. If you scan customer IDs in a business, check local rules first. Some US states limit what businesses may record from a license barcode and how long they can keep it.
Boarding passes and other PDF417 uses
Airline boarding passes encode an IATA BCBP string: passenger name, booking reference, departure and arrival airports, airline, flight number, the flight date as a day of the year, seat and check-in sequence. The scanner lays those out as fields. Be careful posting boarding pass photos online; the booking reference and name can be enough to access the booking. PDF417 is also used on shipping labels and some government forms, and those are shown as text. To create PDF417 codes, use the PDF417 generator.
Frequently asked questions
How do I scan the barcode on a driver’s license?
Turn the license over: the wide, stacked barcode on the back is a PDF417. Tap Start camera, hold the card flat so the barcode fills the frame, and keep still in good light. The fields are decoded and shown in plain language on your device.
What information is in a driver’s license barcode?
On US and Canadian cards it follows the AAMVA standard and usually holds the name, date of birth, sex, address, license number, issue and expiry dates, vehicle class, restrictions, endorsements, and physical details like height and eye colour. It doesn’t contain the photo.
Is it safe to scan my ID here?
The barcode is decoded and parsed entirely in your browser. Nothing is uploaded, logged or stored, and the result disappears when you close or reload the page. Still, only scan IDs you have the right to read.
Can this verify that an ID is genuine?
No. Reading the barcode shows what’s encoded in it, which anyone with a printer could fake. Checking whether the barcode matches the printed card helps spot crude fakes, but real ID verification needs the issuer’s security features or a dedicated service.
Can it read boarding passes?
Yes. Boarding passes use the IATA BCBP format in a PDF417, Aztec or QR code. The scanner shows the passenger name, booking reference, route, flight, date and seat.
Why won’t my license barcode scan?
PDF417 codes on cards are dense. Use good, even light without glare from the laminate, hold the phone parallel to the card, and let the barcode fill the frame edge to edge. A worn or scratched barcode may not read; try a sharp photo with Upload image.