Checking barcode data matches card face
Honestly the easiest first step is to just scan the back and eyeball the PDF417 string against what's printed. A lot of mismatches I've seen come from a data parsing error where the DOB fields get shifted, and then it scans as under 21 even though the front looks fine. If the check digits don't line up it throws a red flag pretty fast. Checksum validation will tell you right away if the barcode's been tampered with or is just dead.
0
0
Login to reply
After getting a card scanned at a venue that displayed the decoded data on screen, I realized the checker could see every field — and if any field disagreed with the printed card face, that discrepancy would be immediately visible. Spent some time after that actually checking the field-by-field consistency on my cards.
What fields matter most
The PDF417 barcode on a US driver's license encodes the full name, date of birth, address, license number, expiration date, and several other fields. The critical ones for a visual comparison check are: surname and given name (must match the printed name exactly, including middle name or initial), date of birth (must match the printed DOB), and expiration date.
The license number is trickier — the printed number and the encoded number must match, but they also both need to follow the correct format for the issuing state. A real California license number follows a specific alphanumeric format that differs from Florida or New York.
How to check it yourself
Download an AAMVA barcode parsing tool — several free web-based parsers exist that will decode a photo of the barcode and display each field. Hold your card flat, photograph the barcode in good lighting, and upload the image. The parser outputs a structured field list.
Compare each field against the printed card front. Mismatches are often subtle: a middle initial in the barcode but not the card face, or a zip code that differs by one digit. I found one card where the encoded expiration date was one year off from the printed date — not obvious until I decoded it.
Why this matters
Most venue scanners in the US do local barcode decoding only. They display decoded fields for visual comparison. A checker who notices that the name on screen differs from the printed name has grounds for rejection. This is one of the more reliable cross-checks an experienced checker can do without any special equipment beyond their standard scanner.
Quality vendors encode all fields consistently with the card face. If you are evaluating a card, the barcode consistency check is one of the more useful tests you can do at home before relying on the card in practice.