India Aadhaar format validator
Check whether an Indian Aadhaar number follows UIDAI’s published structure. This is useful for developers building form validation, data-entry teams catching typos before submission, and anyone wanting to confirm a number is well-formed — without ever contacting a government database.
How it works
The validator runs two checks on the 12-digit number:
- First-digit rule: the leading digit must be 2–9. UIDAI never issues Aadhaar numbers starting with 0 or 1.
- Verhoeff check digit: the 12th digit is a checksum computed over all 12
digits using the Verhoeff algorithm’s dihedral-group multiplication (
d), permutation (p) and inverse tables. Processing the digits right-to-left, a valid number leaves a running product of 0.
A valid format passes both checks. The breakdown shows each result separately so you can see exactly why a number passes or fails.
Example
| Number | First digit 2-9? | Verhoeff = 0? | Result |
|---|---|---|---|
| 2345 6789 0124 | Yes | Yes | Valid format |
| 1234 5678 9012 | No (starts with 1) | — | Invalid |
| 2345 6789 0123 | Yes | No | Invalid checksum |
A valid format only means the number is mathematically well-formed — it does not prove the Aadhaar was issued or who holds it.
Privacy-first: every check runs in your browser. Nothing is uploaded, stored or sent to any server, and this tool does not query the UIDAI database.