Driver's License Generator
Generate driver's license numbers in the correct format per country and state — valid in shape, for software testing only
Privacy Notice: This tool runs entirely in your browser. Nothing you generate or enter is sent to any server or stored anywhere.
Generator
Pick a country — and state where the format varies.
Format \d{1,7} · example 1234567
Generated license
Generated values are valid in shape but randomized (Test Data).
About this tool
A driver's license number's format depends on the issuing country — and in the United States, Canada, Australia, the UAE, India and China, on the state or province as well. This generator encodes the known pattern (letters, digits, length, separators) for 21 countries and all 50 US states plus DC, and produces a number that matches it.
Switch between the Generator and Validator tabs. The Generator emits one number for the country and state you pick; the Validator checks whether a pasted number matches that jurisdiction's format. Ohio's 8-digit license additionally carries a Luhn check digit, which the generator computes correctly and the validator verifies.
These numbers are valid in shape but randomized — test data for input-mask checks, form validation, database seeding and similar development work. Everything runs locally in your browser; nothing is uploaded. The numbers do not belong to real people and must not be used to impersonate anyone.
How to use
Pick country and state
Choose the issuing country; if its format varies by region (US, Canada, Australia, UAE, India, China), a state/province selector appears.
Generate
Click Generate to produce a license number matching that jurisdiction's pattern (and Luhn check for Ohio).
Validate (optional)
On the Validator tab, paste a number and confirm whether its format — and Ohio's Luhn digit — check out.
Sample formats
| Jurisdiction | Pattern |
|---|---|
| California (US) | 1 letter + 7 digits, e.g. F1234567 |
| Florida (US) | L + 3-3-2-3-1 digits, e.g. A123-456-78-901-0 |
| Ohio (US) | 8 digits with Luhn check digit |
| Texas (US) | 8 digits |
| United Kingdom | 5 letters + 6 digits + 5 letters |
| Germany | 10-11 digits |
| Brazil (CNH) | 11 digits |
21 countries, 50 US states + DC. Ohio carries a Luhn check digit.
Frequently asked questions
Related tools
Address Generator
Generate realistic addresses in the correct format for 21 countries — single-line, multi-line, JSON or HTML — plus a postcode validator. Test data only, runs in your browser.
Phone Number Generator
Generate phone numbers in the correct format per country — mobile, landline and toll-free — in international, national, raw or tel: format, plus a validator. Test data only.