US Driver's License Validator
EverydayValidate a US driver's license number format by state. Checks the pattern for all 50 states and DC. Format check only — free, client-side, no data stored.
What is a US DL?
The US Driver's License Validator checks whether a driver's licence number matches the official format pattern used by the state that issued it. Each of the 50 US states and the District of Columbia maintains its own licensing authority and its own numbering scheme — meaning there are 51 distinct valid formats in circulation. The US Driver's License Validator covers all of them.
Because there is no single national format, verifying a licence number's structure requires knowing which state issued it. California numbers start with a letter followed by seven digits. New York numbers are nine digits with no letters. Texas numbers are eight digits. Some states encode date of birth or a soundex of the surname into the number; others use sequential assignment. Without a state-specific pattern lookup, it is not possible to determine whether a given number is even plausible.
Format errors are a common source of data-quality problems in identity verification workflows, form validation for services that accept US licences as ID, background-check intake forms, and insurance or rental applications. A field that accepts any string without checking state-specific rules will pass obviously wrong inputs — a four-digit number for a state that requires eight, or a number with letters for a state that uses only digits.
This validator addresses that gap. Enter the licence number and select the issuing state; the tool immediately reports whether the number matches the expected structure. The check runs entirely in your browser — no data is transmitted, stored, or logged. This is a format check only: a number that passes has the right shape for its state, but this tool cannot confirm the licence is real, active, suspended, or registered to any specific person.
For related US identity document checks, see the US Passport Number Validator and the SSN Validator.
How to use this US DL calculator
- Locate your driver's licence number. This is typically printed on the front of your card, labelled "DL", "License No.", or similar. It is distinct from the document discriminator or barcode on the back.
- Enter the number in the Driver's License Number field. Type or paste the number exactly as it appears on the card. Do not add spaces, hyphens, or other separators unless they appear on the card — most formats do not include them.
- Select your state from the State dropdown. Choose the state that issued the licence, not the state where you currently reside. If the licence was issued by the District of Columbia, select "District of Columbia (DC)".
- Read the Result field. A green "Valid" result means the number matches your state's format. A red "Invalid" result means it does not.
- If the result is invalid, troubleshoot. Confirm you selected the correct issuing state. Re-check the number on the physical card for any digits or letters you may have misread (common confusions: 0 vs O, 1 vs I, 5 vs S). Correct any errors and the result updates immediately.
- Interpret the outcome in context. A valid result confirms the format is structurally correct for the selected state. It does not confirm the licence is active or real. For format checks on other US identity documents, try the US Passport Number Validator.
Formula & Methodology
Each US state's driver's licence number format is encoded as a regular expression that captures the structural rules published by the state DMV or derived from AAMVA standards documentation. ### Format structure A state's format rule specifies three things: 1. Character class per position — whether each character must be a digit (0–9), an uppercase letter (A–Z), or either 2. Total length — the exact number of characters required (some states allow a range) 3. Positional constraints — for example, "first character must be a letter, remaining seven must be digits" ### Validation algorithm1. Normalise input: trim whitespace, convert to uppercase 2. Look up the regex pattern for the selected state 3. Test the normalised input against the pattern 4. Return true if the pattern matches, false otherwise### State format examples | State | Format | Example | Pattern | |---|---|---|---| | California (CA) | 1 letter + 7 digits | D1234567 |[A-Z]\d{7}| | New York (NY) | 9 digits | 123456789 |\d{9}| | Texas (TX) | 8 digits | 12345678 |\d{8}| | Florida (FL) | 1 letter + 12 digits | A123456789012 |[A-Z]\d{12}| | Illinois (IL) | 1 letter + 11 digits | A12345678901 |[A-Z]\d{11}| ### Valid vs invalid examples - Input:D1234567| State: California | Result: Valid — matches one letter + seven digits - Input:12345678| State: California | Result: Invalid — missing the required leading letter - Input:D123456| State: California | Result: Invalid — only seven characters total, expected eight - Input:123456789| State: New York | Result: Valid — exactly nine digits The validator applies the appropriate regex for the selected state and reports the result immediately. No network request is made at any point in this process.
Frequently Asked Questions