HomeValidatorsEverydayUS Driver's License Validator

US Driver's License Validator

Everyday

Validate 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.

Reviewed by the thecalcu.com team · Last updated July 17, 2026

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.


Why Use a US Driver's License Validator?

Manually cross-referencing 51 state formats is impractical. The patterns are not published in a single authoritative document, vary in character class (letters vs digits vs mixed), vary in length, and change when states update their numbering systems. Looking up the format for a single state takes time; building a lookup table that covers all states reliably requires ongoing maintenance.

This validator solves the problem in one step: select the state, enter the number, and get an immediate pass or fail. Common use cases include:

  • Form validation on web or mobile applications that accept a US driver's licence as proof of identity, catching format errors at input time rather than during a downstream process
  • Data-entry QA when processing insurance applications, rental agreements, or background-check request forms that collect licence numbers across multiple states
  • Manual spot-checking when a number in a spreadsheet or database looks suspicious and you need a quick sanity check against the expected pattern

The tool does not replace a DMV lookup or an identity-verification API for regulated contexts, it catches structural errors only. For verifying a US mailing address rather than an identity document, the US ZIP Code Validator covers postal code format and region lookup.


Who Should Use This Validator?

Developers building identity or KYC flows who need client-side pre-validation before submitting a licence number to a backend or third-party API. Catching format errors at the browser reduces API calls and improves the user experience.

QA and operations teams reviewing intake forms, insurance applications, or rental records that collect driver's licence numbers from across the country. A quick format check can flag data-entry errors before they propagate into downstream systems.

HR professionals and background-check administrators in organisations that use a US driver's licence as a standard identity document. Verifying the format before submitting a check request reduces rejection rates from screening providers.

Form designers and product managers testing their own applications to confirm that input fields enforce the correct state-specific constraints, or to understand what constraints they should be enforcing.

Individuals who want to verify their own number before entering it into an online form, to ensure they have copied it correctly from their physical card. Alongside this tool, the AAMVA Barcode Validator is useful if you need to validate the machine-readable barcode data on the back of the same card.


What Insights Does the US DL Validator Give You?

Result (pass / fail)

The single output is a boolean result, valid or invalid. A pass means the number you entered matches the structural pattern registered for the selected state: the correct length, the correct character classes (letters, digits, or a specific mixture), and any positional constraints the state's format requires. A fail means one or more of those constraints is not met.

What the validator does NOT check

This tool does not check whether the licence number belongs to a real person, whether the licence is currently active or suspended, whether the licence has been reported stolen or fraudulently altered, or whether the name on the licence matches any external record. It also does not validate an expiry date (that field is not part of the licence number itself).

Using the result

A passing result is useful as a necessary but not sufficient condition. In a form-validation context, it means you can proceed to the next step knowing the format is structurally correct. In a data-quality context, it means the entry at least has the right shape. For regulated identity verification, such as age verification for alcohol sales, financial account opening, or employment eligibility, you must use a licensed identity-verification service that queries live DMV data, not this tool.


How to use this US DL calculator

  1. 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.
  2. 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.
  3. 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)".
  4. Read the Result field. A green "Valid" result means the number matches your state's format. A red "Invalid" result means it does not.
  5. 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.
  6. 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.

Show formula & methodology ↓Show less ↑

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 algorithm

1. 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

What is a US driver's license number?
A US driver's license number is a unique identifier printed on every state-issued driver's licence or ID card. Each state's Department of Motor Vehicles (DMV) assigns a number using its own format, some states use only digits, others combine letters and numbers, and a few encode personal data like date of birth into the number itself. The number serves as the primary reference for a driver's record in the issuing state's DMV database.
Why does every US state have a different driver's license format?
Driver's licensing in the United States is administered at the state level, not federally. Each state's DMV independently designed its numbering system, which means there is no single national format. This results in 51 distinct patterns (50 states plus Washington DC), ranging from simple seven-digit numbers in some states to complex alphanumeric codes in others like California (one letter followed by seven digits).
What format does a California driver's license number follow?
California driver's license numbers follow the pattern: one uppercase letter followed by seven digits, for example, D1234567. The letter is assigned by the DMV and does not encode any personal information. California is one of the largest states by licensed-driver count, so this format is among the most commonly validated.
What format does a New York driver's license follow?
New York driver's license numbers consist of nine digits only, with no letters, for example, 123456789. It is worth noting that some older New York licences used a different format, but the current standard is a nine-digit numeric string issued by the New York State DMV.
Does this validator confirm that a license number is real or active?
No. This tool performs a format check only, it verifies that the number matches the structural pattern expected by the selected state's DMV. It does not query any DMV database, government registry, or third-party service. A number that passes this check may not correspond to any real, active, or issued licence.
Is my driver's license number stored or transmitted when I use this validator?
No data is transmitted anywhere. All validation logic runs entirely in your browser using JavaScript. The licence number you enter never leaves your device and is not stored, logged, or shared. You can safely use this tool on a private or shared computer without any privacy risk.
How do I check if my driver's license number is valid?
Enter your licence number in the Driver's License Number field, then select your state from the State dropdown. The validator immediately checks whether the number matches your state's official format pattern. A green Result indicates a correctly formatted number; a red Result means the number does not match the expected structure for that state.
What should I do if my driver's license number fails validation?
First, double-check that you have selected the correct state, entering a California number while Texas is selected will fail even if the number itself is correct. Second, verify that you have copied the number accurately from your physical card, including the correct number of digits and any leading letters. If the number still fails after these checks, contact your state DMV to confirm the format of your licence.
Which US states use a letter prefix in their driver's license number?
Several states begin their licence numbers with one or more uppercase letters. California uses one letter followed by seven digits (e.g., A1234567). Illinois uses one letter followed by 11 digits. Virginia uses one letter followed by eight digits. Other states such as Florida, Maryland, and Michigan use a letter prefix followed by a variable-length numeric sequence. The exact pattern varies by state and is encoded into each state's validation rule.
Who issues driver's licenses in the United States?
Driver's licences in the United States are issued by each state's Department of Motor Vehicles (DMV) or equivalent agency, for example, the Texas Department of Public Safety (DPS) or the New York State DMV. There is no federal driver's licence. The REAL ID Act of 2005 set minimum federal standards for state-issued IDs, but each state still manages its own numbering and issuance.
How does this validator differ from the AAMVA Barcode Validator?
This validator checks the human-readable licence number printed on the front of a card. The [AAMVA Barcode Validator](/aamva-barcode-validator/) instead checks the raw data encoded in the PDF417 2D barcode on the back of the card, which includes the licence number alongside name, address, date of birth, and other fields. Both tools are format checks only, neither queries a live database.
Can I validate a driver's license number from Washington DC?
Yes. Washington DC (the District of Columbia) is included in the State dropdown alongside all 50 states. DC issues licences through its Department of Motor Vehicles and uses its own distinct format pattern. Select 'District of Columbia (DC)' from the dropdown and enter the DC licence number to check its format.
Also known as
US driver's license checkDL number validatorstate driver license formatUS driving licence validatorDMV license number