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.

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

  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.

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

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