DriverLicenseOCR

DMV barcode: what the PDF417 on the back of a driver's license holds

Published 2026-10-31 · By the Koncile team

The DMV barcode is the wide, dense rectangle on the back of a US or Canadian driver's license. It is a two dimensional barcode (PDF417) that repeats most of what is printed on the front, the name, the date of birth, the address, the license number and the dates, as plain text organized by the AAMVA standard. Any reader can decode it in a fraction of a second, which is its strength and its limit: on almost every card in circulation the data is not signed, so a correct barcode does not prove that the license is genuine.

Back of a US driver's license with a PDF417 barcode prominently displayed, held by a person.

What is the barcode on the back of a driver's license?

Turn over a driver's license issued in any US state, the District of Columbia or a Canadian province and you will find a block of tiny stacked rows, usually wider than it is tall. That symbol is a PDF417 barcode. The format, the order of the data and the codes used for each field are set by the AAMVA DL/ID Card Design Standard, published by the American Association of Motor Vehicle Administrators (AAMVA), the body that groups the motor vehicle agencies of North America. People call it the DMV barcode because the motor vehicle office prints it, but the state does not invent its own format: it follows the common standard, with a few fields of its own.

The barcode exists for machines. Printed text on a license changes with every state design, typeface and background artwork; the barcode gives the same data as labeled fields, so one parser can read cards from many jurisdictions. That is why a bar, a car rental counter or a bank branch scans the back of the card rather than the front.

The barcode on the back of a US or Canadian license at a glance. Sources: AAMVA, read on 31 October 2026.
ItemWhat it is on a North American license
SymbologyPDF417, a stacked two dimensional barcode (ISO/IEC 15438)
Data formatAAMVA DL/ID Card Design Standard, current edition published in October 2026
WhereOn the back of the card, usually across most of its width
ContentA text copy of the printed data: name, address, date of birth, license number, dates, class, restrictions, physical description
EncryptedNo. The data is readable by any compliant reader
SignedOptional since the October 2026 update, which adds digital signature support; cards issued before carry no signature
Other machine readable elementsA magnetic stripe on some older cards; no machine readable zone (MRZ) as on a passport

Why a PDF417 and not a QR code?

PDF417 stands for Portable Data File, and 417 describes its building block: each codeword is made of 4 bars and 4 spaces spread over 17 units of width. The symbol is a stack of rows, which suits the long, thin space left on the back of a card. It also carries error correction, so a card scratched in a wallet for years can still be read, up to a point.

The choice dates from the late 1990s, when AAMVA settled on PDF417 to replace magnetic stripes and one dimensional barcodes that could not hold enough data. QR codes appear on some mobile driver's licenses and state apps, but the physical card keeps the PDF417. Searches for a driver license QR code usually concern those apps, not the barcode on the plastic.

What data is in the DMV barcode?

Each piece of data is stored behind a three letter code called a data element identifier. The standard defines mandatory elements, which every compliant card carries, and optional ones each jurisdiction may add. The most common ones:

Common AAMVA data elements, with values from a fictional specimen. The full list, with every optional element, is in the AAMVA standard.
CodeFieldExample on a fictional specimenNote
DAQLicense or ID numberD1234567Format set by each state
DCSFamily nameSAMPLE
DACFirst nameALEX
DADMiddle nameJORDANCan be NONE
DBBDate of birth01151990MMDDCCYY on US cards, CCYYMMDD on Canadian cards
DBDIssue date03012024Same date format
DBAExpiration date01152032Same date format
DBCSex2Code, not a letter: 1, 2 or 9
DAYEye colorBROThree letter code
DAUHeight068 inInches or centimeters
DAGStreet address123 MAIN ST
DAICityANYTOWN
DAJState or provinceVATwo letter code
DAKPostal code22201 Often padded with spaces or zeros
DCAVehicle classDEach state's own classes
DCBRestrictionsNONE
DCDEndorsementsNONE
DCFDocument discriminatorVariesIdentifies this specific card, not the person
DCGCountryUSAUSA or CAN
DDACompliance typeFF for a REAL ID compliant card, N otherwise
DDE, DDF, DDGName truncation flagsNT when a name was cut to fit

Some states add a subfile of their own, named with a Z and a letter (ZV for Virginia, for instance), holding internal fields the standard does not define. A parser should read what is present instead of expecting a fixed list; every element code of the AAMVA barcode, mandatory and optional, is listed in our reference.

How the data is organized

Decoded, the barcode is one long string of text. It starts with a short header, followed by one or more subfiles; the DL subfile holds the license data, one element per line. The excerpt below comes from a fictional specimen, shortened; the first lines are the header and the subfile directory (type, position and length of each subfile), the last one opens the state subfile.

@
<LF><RS><CR>ANSI 636xxx120002
DL00410290ZV03310008
DLDAQD1234567
DCSSAMPLE
DACALEX
DADJORDAN
DBB01151990
DBA01152032
DAJVA
...
ZVZVA01

The header carries the facts a parser needs before reading anything else:

  • The issuer identification number (IIN), six digits that identify the issuing jurisdiction, starting with 636 for most US states and Canadian provinces.
  • The AAMVA version number, which says which edition of the standard the card follows. Version 10 matches the 2020 standard, version 11 the June 2025 update, and version 12 the current standard of October 2026. Cards built to older versions stay in circulation until they expire, so a parser has to handle several versions at once.
  • The jurisdiction version, the state's own revision of its card.
  • The number of subfiles, then a directory giving the type, the position and the length of each one.

Three details trip up developers who write their own parser: the date order changes between US and Canadian cards, fixed length fields arrive padded with spaces, and long names are cut, with a truncation flag set to T. Reading the version in the header first, then the elements, avoids most of these errors.

Is the barcode the same in every state?

The structure is the same, the details are not. All jurisdictions follow the AAMVA standard, but each one chooses its optional elements, its own subfile, its license number format and the moment it moves to a new version. Two cards from the same state can also carry different versions if one was issued before a redesign. Lists of driver's license barcodes by state found online are snapshots: the reliable source is the version number written in the header of the card you are reading.

Does a valid barcode mean the license is real?

No. On cards issued until now, the barcode is plain text that anyone with the published standard can produce. A barcode that decodes cleanly only proves that someone printed a well formed barcode.

  • Front and back can be compared. If the date of birth printed on the front differs from the DBB element, the card has been altered. This cross check is cheap and catches crude edits of a genuine card.
  • A matching barcode is not enough. A counterfeit made from scratch carries a barcode generated from the same false data as its front, so both sides agree. Microblink, which sells barcode scanning, writes that the tell on modern fakes is a barcode that is too clean, not a mismatch.
  • Signatures are new and optional. AAMVA published an update on 28 October 2026 that adds digital signature support to the PDF417, so a jurisdiction can cryptographically sign the encoded data. Cards already in wallets carry no signature, adoption is up to each jurisdiction, and a reader needs the issuer's public key to check one. For years, most licenses you scan will remain unsigned.
  • The barcode says nothing about the right to drive. A genuine card from a suspended driver decodes perfectly. Only the state record answers that: a motor vehicle record (MVR) or the AAMVA Driver License Data Verification service (DLDV), which returns a match flag for each element and is open only to customers approved by AAMVA. Our page on the driver license verification API separates what a document check can see from what only the state can confirm.

How to read a driver's license barcode

Three kinds of tools decode a PDF417 on a license, depending on where the card is:

Ways to read the barcode on a license. Vendor names taken from their own pages, read on 29 and 31 October 2026.
ToolWhen it fitsWhat to watch
Handheld or desktop ID readerThe card is in front of you, at a counter or a doorHardware per site; checks limited to what the device does
Barcode SDK in a mobile or web app (Dynamsoft, Scandit, Microblink, barKoder)Your own app captures the card live with a cameraIntegration work; prices mostly on quote
Barcode SDK or API on filesYou receive photos or scans and need the raw barcode stringThe image must be sharp: a compressed or blurry photo of the back often fails to decode

Whatever the tool, the capture decides the result: the whole symbol in the frame, the card flat, no glare on the laminate, and enough resolution for the thinnest bars. A phone photo taken at an angle under office lights is the most common reason a barcode will not decode.

Barcode or OCR of the printed text?

Optical character recognition (OCR) reads the printed text of the card, front and back, the way a person would. The two approaches answer different needs:

Barcode decoding and printed text OCR compared for driver's licenses.
Barcode (PDF417)OCR of the printed text
Licenses coveredUS and Canada onlyAny license, including European, UK and other cards that have no PDF417
Accuracy on a good imageExact values when the symbol decodesVery high, with a confidence score per value
Damaged or blurry imageOften fails completelyDegrades field by field
Data not in the barcodeMissingRead from the card when printed
Proof of authenticityNone on unsigned cardsNone alone; needs document checks

Koncile, which publishes this guide, works on the second approach: it reads the printed fields of the front and the back from a photo, a scan or a PDF, merges them into one record, checks the expiration and the consistency of the dates, and scores signs of editing. It does not guarantee decoding the PDF417 and does not query state records. When you need both, a common setup reads the barcode with an SDK and the printed fields with OCR, then compares the two.

Scanning a license to check an age or fill a form is common, but the barcode holds personal data: name, address, date of birth, physical description. Several US states regulate what a business may keep from a scanned license and for how long, and privacy laws apply to whatever you store. Keep only the fields you need, delete the rest, and check the rules of the states where you operate before storing barcode data.

Frequently asked questions

01What is the barcode on your driver's license?

It is a PDF417, a stacked two dimensional barcode on the back of US and Canadian licenses. It holds a text copy of the printed data (name, date of birth, address, license number, dates, class) in the format set by the AAMVA DL/ID Card Design Standard.

02Is PDF417 a barcode?

Yes. PDF417 is a two dimensional barcode made of stacked rows, standardized as ISO/IEC 15438. Each codeword uses 4 bars and 4 spaces over 17 units, hence the name. It is used on driver's licenses, boarding passes and shipping labels.

03Is the DMV barcode encrypted?

No. The data is plain text that any compliant reader can decode. Since the update published by AAMVA on 28 October 2026, a jurisdiction can add a digital signature to the barcode, but that signature does not hide the data, and cards issued before carry none.

04What information does a driver's license barcode contain?

The license number, the full name, the date of birth, the address, the issue and expiration dates, the vehicle class, restrictions and endorsements, sex, height and eye color, plus technical fields such as the document discriminator and the AAMVA version. Some states add fields in their own subfile.

05Can a phone read the barcode on a driver's license?

Yes, with an app or an SDK that decodes PDF417 and parses the AAMVA format. Keep the card flat, avoid glare on the laminate and fill the frame with the barcode. A generic barcode app shows the raw string without naming the fields.

06Does a barcode that scans correctly prove the license is real?

No. On unsigned cards, which are nearly all cards in circulation, anyone with the standard can produce a valid barcode. Comparing the barcode with the printed front catches crude edits; confirming a license requires document checks and, for the right to drive, the state record (MVR or AAMVA DLDV).

07Do driver's licenses outside North America have a barcode?

Most do not carry a PDF417 in the AAMVA format. European and UK photocard licenses, for instance, have no such barcode; their data is read from the printed card with OCR.

08Does Koncile read the PDF417 barcode?

Not as a guaranteed feature. Koncile reads the printed text on both sides of the license and checks the document. If you need the raw barcode string, decode it with a barcode SDK and use Koncile for the printed fields and the checks.

Sources

Read the printed fields of a license, front and back

Drop a photo, a scan or a PDF of a license and get the fields, the expiration check and the editing score, ready to compare with the barcode data you already decode.

Create a Koncile account, 20 free creditsTalk to an expert

20 free credits, no credit card. For professional use only; documents are deleted after analysis.