Standards/aamva-dl
AAMVA DL/ID
Overview
AAMVA DL/ID is the data format carried in the PDF417 symbol on the back of U.S. and Canadian driver licences and identification cards. It is defined in Annex D ("Mandatory PDF417 Bar Code") of the AAMVA DL/ID Card Design Standard, published by the American Association of Motor Vehicle Administrators (AAMVA), which represents the state and provincial officials in the United States and Canada who administer and enforce motor vehicle laws 1. Annex D makes PDF417 "the minimum mandatory machine-readable technology that must be present on compliant DL/ID documents" 1.
The payload is a cleartext record: a fixed 21-byte header that marks the symbol as AAMVA-compliant and names the issuing jurisdiction by its Issuer Identification Number (IIN), one or more 10-byte subfile designators giving each subfile's offset and length, and subfiles in which every value is prefixed by a three-letter element ID such as DCS (family name) or DAQ (customer ID number) 1. All mandatory and optional data must be unencrypted 1. The current edition is the 2026 standard (October 2026), AAMVA version number 12, which adds an optional ECDSA digital signature inside the barcode 1, 4.
History
The 2026 edition's introduction says the earlier national standard, AAMVA DL/ID-2000, "did not require the use of any MRT [machine-readable technology] on the DL/ID card"; it offered formats for several technologies, and jurisdictions using the same one did not always implement it the same way, so "the desired level of interoperability was not achieved" 1. The Card Design Specification Task Group of AAMVA's Uniform Identification Subcommittee developed the 2005 specification, and a special task force reconstituted in late 2008 (later a committee) revised it to guide jurisdictions complying with programmes such as REAL ID and the Western Hemisphere Travel Initiative 1. Since then every compliant card carries a common MRT, PDF417 1. AAMVA was founded in 1933 1. No public source fetched names the individual authors of the barcode format.
Each edition is identified in the barcode by the two-digit AAMVA Version Number in the header. Version "0"/"00" is reserved for barcodes printed to AAMVA's specification before DL/ID-2000 1:
| Version | Edition |
|---|---|
| 01 | AAMVA DL/ID-2000 |
| 02 | Card Design Specification v1.0, 09-2003 |
| 03 | Card Design Specification v2.0, 03-2005 |
| 04 | Card Design Standard v1.0, 07-2009 |
| 05 | Card Design Standard v1.0, 07-2010 |
| 06 | Card Design Standard v1.0, 07-2011 |
| 07 | Card Design Standard v1.0, 06-2012 |
| 08 | Card Design Standard v1.0, 08-2013 |
| 09 | Card Design Standard v1.0, 09-2016 |
| 10 | Card Design Standard v1.0, 10-2020 |
| 11 | Card Design Standard v1.0, 06-2025 |
| 12 | 2026 Card Design Standard (current) |
The 2025 edition is dated June 2025 on its cover 2; the 2026 edition is dated October 2026 and states that it "replaces" DL/ID-2025, which remains available because many jurisdictions will keep issuing to it for some time 1. AAMVA's standard page now offers the 2026 edition 5. Between editions the format changed in small but parser-visible ways:
- 2020 → 2025: the subfile types listed in Table D.2 went from "DL", "EN" (enhanced DL) and "ID" to "DL" and "ID" only 3, 2; the 2025 Table D.4 instead has an optional
DDOEnhanced Credential Indicator 2. The postal codeDAKchanged from F11ANS to V9ANS 3, 2. - 2025 → 2026: two optional elements were added,
SIG(digital signature, fixed 80 characters) andSCV(signature coverage), defined in Annex B.6.2 1. In April 2026 AAMVA's Card Design Standard Subcommittee asked for feedback on that update, to "provide standardization for AAMVA jurisdictions that would like to incorporate a cryptographic key signature" in the PDF417 barcode, with comments due 22 May 2026 4.
Technical specification
Carrier symbol (Annex D.5–D.11, unchanged 2020–2026) 1, 3:
| Parameter | Requirement |
|---|---|
| Symbology | PDF417 per ISO/IEC 15438; Compact PDF417, MicroPDF417 and MacroPDF417 "shall NOT be used" |
| X-dimension | 0.170–0.380 mm (0.0066–0.015 in) |
| Row height | ≥ 3X |
| Quiet zone | ≥ 1X on all four sides |
| Error correction | level 3 minimum; level 5 recommended where space allows |
| Print quality | ISO/IEC 15415, minimum grade 2.5/6/660 (grade B before lamination recommended, C after) |
| Character set | ISO 8859-1, using the 128-character text compaction subset "for efficiency" |
| Placement | Zone V on the back; max 75.565 × 38.1 mm (2.975 × 1.50 in); bars perpendicular to the card's bottom edge, skew ≤ ±5° |
Annex D explains the error-correction floor by noting that "certain security laminates interfere with the readability of bar codes" and that higher levels keep the symbol readable as it wears 1.
Header (Table D.1). Fixed-width, zero-filled 1:
| # | Bytes | Field | Value |
|---|---|---|---|
| 1 | 1 | Compliance Indicator | @ (0x40), first character of the symbol |
| 2 | 1 | Data Element Separator | LF (0x0A) |
| 3 | 1 | Record Separator | RS (0x1E); reserved for future growth, always present |
| 4 | 1 | Segment Terminator | CR (0x0D) |
| 5 | 5 | File Type | ANSI (with a trailing space) |
| 6 | 6 | Issuer Identification Number | the jurisdiction's IIN |
| 7 | 2 | AAMVA Version Number | 00–99 (table above) |
| 8 | 2 | Jurisdiction Version Number | 00–99, the jurisdiction's own revisions within an AAMVA version |
| 9 | 2 | Number of Entries | 01–99, the number of subfile designators that follow |
IIN. AAMVA assigns each jurisdiction an ISO IIN; its list has 72 rows, from 604426 (Prince Edward Island) through 636062, including 13 Canadian provinces and territories and one non-jurisdiction entry, 636027 "State Dept. (Diplomatic)". 636000 is Virginia and 636001 New York 6.
Subfile designator (Table D.2). Ten bytes each, immediately after the header: a 2-character subfile type (DL or ID; a jurisdiction-defined subfile is Z plus the first letter of the jurisdiction's name), a 4-digit offset from the start of the file (the first byte is offset 0), and a 4-digit length that counts the 2-character subfile type at the start of the subfile and the segment terminator at its end 1. Within a subfile each field is an element ID followed by its value; the LF separator ends a field and announces the next, and CR ends the subfile 1.
Mandatory data elements (Table D.3, 2026) 1:
| ID | Element | Format |
|---|---|---|
| DCA / DCB / DCD | Jurisdiction-specific vehicle class / restriction codes / endorsement codes (DL only) | V6ANS / V12ANS / V5ANS |
| DBA, DBD, DBB | Expiration date, issue date, date of birth | F8N; MMDDCCYY (U.S.) or CCYYMMDD (Canada) |
| DCS, DAC, DAD | Family name, first name, middle name(s) | V40ANS each; multiple middle names comma-separated |
| DBC | Sex | F1N: 1 male, 2 female, 9 not specified/other |
| DAY | Eye colour | F3A (ANSI D-20 codes) |
| DAU | Height | F6ANS, e.g. 073 in or 181 cm |
| DAG, DAI, DAJ, DAK | Street, city, jurisdiction code, postal code | V35ANS, V20ANS, F2A, V9ANS |
| DAQ | Customer ID number | V25ANS |
| DCF | Document discriminator (identifies this physical document) | V25ANS |
| DCG | Country | F3A: USA or CAN |
| DDE, DDF, DDG | Family / first / middle name truncation | F1A: T, N or U |
A mandatory element with no data for the cardholder is encoded NONE; if the data is unavailable, unavl 1. Optional elements (Table D.4) include DAH (street line 2), DCK (inventory control number), DDA (DHS compliance type, F or N), DDB (card revision date), DDD (limited-duration document), DDH/DDI/DDJ (under-18/19/21-until dates), DDK (organ donor), DDL (veteran), DDM/DDN (CDL and non-domiciled indicators), DDO (enhanced credential), DDP (permit), and since 2026 SIG and SCV 1. Jurisdiction-specific elements use Z + jurisdiction letter + a letter (Virginia's are ZVA, ZVB, …) 1.
Digital signature (2026, Annex B.6.2). SIG holds an ECDSA P-256/SHA-256 signature as a fixed 64-byte r || s (RFC 9053 §2.1, no DER), Base85-encoded without z substitution or terminators to exactly 80 characters. It is computed over the complete raw data string, from the compliance indicator to the last segment terminator, UTF-8 encoded, with SIG filled with 80 0 characters. The scheme is described as a constrained profile of the ISO/IEC 18013-3 compact-encoding passive authentication. SCV lists signed and unsigned element IDs as <signed>;<unsigned> when a jurisdiction cannot sign every field, for example because the card plant sets DCF 1. AAMVA states that a valid signature proves only that the signed data is unaltered and was signed with a key traceable to an issuing authority. It cannot revoke an individual card, so relying parties are advised to check the system of record as well (for example through AAMVA's DLDV service) 1.
AAMVA's sample. Annex D.13 gives a worked example "as though it was a Virginia document", with customer number T64235789 and the name SAMPLE, MICHAEL JOHN, JR. The first lines of the 2025 edition's example are 2:
@<LF><RS><CR>
ANSI 636000110002DL00410278ZV03190008DLDAQT64235789<LF>
DCSSAMPLE<LF>
DDEN<LF>
DACMICHAEL<LF>
… 23 more DL fields …
DDD1<CR>
ZVZVA01<CR>
The header decodes as IIN 636000, AAMVA version 11, jurisdiction version 00, 2 entries. The DL subfile is at offset 0041 with length 0278, and the Virginia subfile ZV is at offset 0319 with length 0008 2. The offsets add up only when the DAK value 232690000 is padded to 11 characters, the F11ANS width of the 2020 edition; the benhovinga parser's copy of the sample carries the two padding spaces 3, 10. The 2026 example adds SCV and a genuine test-key SIG, so its DL length becomes 0480. Its header reads 636000120002, but the field list printed beneath it still says version "11" 1.
Other encodings. Annex D allows the Annex I "compact encoding" as an alternative structure. It is the ISO/IEC 18013-2 data-group format, with a 7-byte AID header (A0 00 00 02 48 01 00) and data groups separated by delimiters, and it needs about 300 usable bytes 2.
Use cases
- Law enforcement. Annex D says the standard "primarily seeks to support the needs of the law enforcement community and their interaction with DL/ID documents" 1.
- Identity and age verification, administrative automation, address verification. These are the other functions Annex D lists for the card, and they drive its choice of data elements 1. The under-18, under-19 and under-21 "until" dates exist for age checks 1.
- REAL ID compliance (U.S.). Federal rule 6 CFR 37.19 requires the machine-readable portion of a REAL ID card to use the PDF417 symbology (ISO/IEC 15438:2006). It lists minimum data elements: expiration date, full legal name, date of transaction, date of birth, gender, address, unique card number, card design revision date, inventory control number, and state of issuance 7. Annex D marks
DDA(compliance type),DDB(card revision date) andDDD(limited-duration document) as DHS-required fields andDCK(inventory control number) as DHS-recommended 1. - Signed-credential verification (2026). Readers can verify
SIGagainst the jurisdiction's Document Signer certificate under an IACA root aligned with AAMVA's mDL Implementation Guidelines 1.
No primary source was fetched for specific retail, banking or venue deployments, so none are named here.
Implementations
Symbol encoding and decoding. Any PDF417 encoder can produce the symbol. BWIPP (and bwip-js, the playground's renderer) lists "North American driver's licences and identity cards (AAMVA DL/ID Card Design Standard)" as a PDF417 use. BWIPP accepts any byte values, interpreting them as ISO 8859-1 by default; parse turns ^NNN into a byte, which is how LF, RS and CR are written. Other options are eclevel 0–8, where the default is "determined by the encoded data length", plus columns (1–30), rows (3–90) and rowmult (default 3) 12, 13. zxing-cpp reads and writes PDF417, Compact PDF417 and MicroPDF417 11. Decoding the symbol yields the raw string; interpreting it needs a separate AAMVA parser.
Payload parsers:
| Project | Language, licence | Notes |
|---|---|---|
| c0shea/IdParser | C#, MIT; 107 stars, last push Sep 2023 | "Parses PDF417 AAMVA-compliant driver's licenses and ID cards" 8. In its default strict mode it rejects input whose compliance indicator, separators or ANSI file type are wrong, and input shorter than 31 characters. Its version enum runs from PreStandard (0) to Aamva2020 (10); anything else maps to Future (99) 9, 14. |
| benhovinga/aamva_barcode_library | Python, MIT; 18 stars, last push May 2025 | Splits a scanned string into header, subfiles and elements per the 2020 Annex D. It recommends zxing-cpp or pdf417decoder for the scan itself 10. |
Comparison
- ISO/IEC 18013-2 compact encoding (Annex I). This is the alternative structure Annex D allows. It uses positional, delimiter-separated data groups with an ASN.1 length and a BCD option for numeric fields, where Annex D uses self-describing three-letter tags 2. AAMVA describes it as the option for a barcode compliant with ISO/IEC 18013-2 2; the open parsers above implement only the tagged Annex D format 9, 10.
- Magnetic stripe and other MRT. The standard keeps optional annexes for a magnetic stripe (Annex F) and an integrated circuit (Annex J), but only PDF417 is mandatory 1.
- Mobile Driving Licence (ISO/IEC 18013-5). The 2026 standard references ISO/IEC 18013-5 and aligns its barcode-signing certificate profile with AAMVA's mDL Implementation Guidelines 1. The barcode is still a fixed cleartext record read in full by any scanner. A signed barcode can show only that its data are unaltered, not that the card is still valid 1.
Fun facts
- Jurisdiction subfile letters collide. "ZC" could be California, Colorado or Connecticut, and Annex D tells readers to look at the IIN or the address to tell them apart 1.
- AAMVA's own signature example is "a genuine, independently verifiable ECDSA signature produced using a test key pair", which the standard prints 1.
- The standard discourages putting anything in the barcode that is not printed on the card. A jurisdiction that does so must "clearly notify the card holder", because hidden data "may result in the credential holder sharing more information than intended" 1.
Status
Active, mandatory and still evolving. PDF417 under Annex D is the mandatory MRT on AAMVA-compliant cards, and U.S. federal REAL ID rules require PDF417 for the machine-readable portion 1, 7. The October 2026 edition (version 12) is current and adds optional signatures. AAMVA expects many jurisdictions to keep issuing cards to the 2025 edition (version 11) for some time after publication 1. Parsers whose version tables end at 10 treat versions 11 and 12 as unknown 14.
Sources
Deployments
No country reports mention this standard by name.