Free online decoder

PDF417 scanner

Decode the wide stacked barcode on a driver’s license, ID card or boarding pass. Fields are parsed into plain labels, and the image stays on your device.

No barcode handy? Tap a sample to scan it

Results

Nothing scanned yet. Decoded barcodes print out here like a receipt.

  1. Start the camera, drop in an image or PDF, or type the number.
  2. Read the value, the barcode type and, for products and books, what it is.
  3. Copy it, search it on Google, or export the whole list to Excel.

    How to decode a PDF417 barcode

    Start with the image. Photograph or scan the barcode straight on, with all rows and both end bars visible, then drop the file into the Image / PDF tab. Screenshots and PDF files work as well. For a card in your hand the Camera tab also works, if you hold it steady and fill the frame, but an uploaded photo is more reliable for a code this dense.

    License and boarding pass data comes back as labeled fields. Anything else is shown as text, with the raw bytes under Technical details. The two samples above use made-up data in the real layouts, so you can see the parsing without scanning your own documents.

    Where PDF417 is used

    WhereStandardWhat is encoded
    US and Canadian driver’s licenses and ID cardsAAMVA DL/IDName, address, date of birth, license number, dates, class
    Airline boarding passesIATA BCBPPassenger name, booking reference, flight, date, seat
    Parcel and freight labelsCarrier formatsRouting and shipment details
    Government forms and vehicle documentsVaries by issuerForm data, to avoid retyping

    Reading driver’s license fields

    Inside a license barcode every item starts with a three-letter code: DCS is the family name, DAC the first name, DBB the date of birth, DBA the expiry date and DAQ the license number. This page translates those codes into plain labels and reformats the dates, so you do not need the AAMVA manual open beside you.

    People decode their own license for a few reasons. Some want to know what a scanner at a bar, pharmacy or car rental desk can see about them (the answer: what is printed on the front, and no more). Developers test ID-scanning software with it. And it is a quick way to confirm that a replacement card was encoded correctly.

    Boarding passes

    Airlines use a fixed layout called BCBP. A boarding pass barcode holds your name, booking reference, origin and destination airports, airline and flight number, the date as a day of the year, cabin class, seat and check-in sequence number. The booking reference is the sensitive part: with it and your surname, someone can often open your booking on the airline’s website. That is the reason not to post boarding pass photos online.

    Other dense barcodes

    A square code with an L-shaped border is a Data Matrix, so use the Data Matrix scanner. Square codes with three corner squares are QR codes, read by the QR code scanner. To inspect the raw contents of any barcode, use the barcode decoder, and for background read 2D barcodes explained.

    FAQ

    PDF417 scanner: questions and answers

    What is a PDF417 barcode?

    A stacked barcode: several short rows of bars piled on top of each other in a wide rectangle. It holds about 1,800 characters, far more than a normal barcode, which is why it is used on driver’s licenses, ID cards and boarding passes. The name describes the pattern: each codeword is 4 bars and 4 spaces across 17 units. PDF stands for Portable Data File and has nothing to do with PDF documents.

    What information is in the barcode on a driver’s license?

    US and Canadian licenses follow the AAMVA standard. The barcode repeats what is printed on the front: name, address, date of birth, license number, issue and expiry dates, sex, height, eye color, and vehicle class with any restrictions and endorsements. It does not contain your photo, your Social Security number or your driving record.

    Is it safe to scan my license here?

    The image is decoded inside your browser. It is not uploaded, logged or stored on a server. The result is saved in this browser’s local history so you can come back to it, so on a shared computer press Clear when you are finished.

    Can this verify an ID or spot a fake?

    No. It shows what the barcode says. Anyone can print a barcode with any data, so a barcode that matches the front of the card proves nothing. A mismatch between the two is a warning sign.

    Why is my PDF417 barcode not reading?

    PDF417 is dense, so it needs a sharp image. Photograph it straight on, fill the frame, avoid glare from the laminate, and keep every row in the picture, including the solid bars at both ends. A flatbed scan at 300 dpi reads better than a phone photo.