How to use Aadhaar number validator
- 01Type the number12 digits, spaces are fine.
- 02See the resultWell formed or not.
- 03Copy the masked formXXXX XXXX and the last 4.

2341 2341 2346: the check digit matches.
The last digit of an Aadhaar number is a Verhoeff check digit worked out from the other 11, and the first digit is never 0 or 1. The tool tests both and shows the masked form. It can’t tell whether UIDAI issued the number.
An Aadhaar number has a built-in check against typing mistakes: its last digit is calculated from the first 11 with the Verhoeff algorithm. This page explains the Aadhaar number format, how the Verhoeff check works and what it can and can’t tell you.
The Aadhaar number format
Because the digits are random apart from the check digit, a decoder can’t tell you anything about the person. The only things that can be checked offline are the length, the first digit and the check digit.
- 12 digits, usually written in groups of four: 2341 2341 2346.
- The first digit is from 2 to 9. Aadhaar numbers never start with 0 or 1.
- The 12th digit is a Verhoeff check digit.
- The other digits carry no meaning: no date of birth, state or gender.
How the Verhoeff check works
The Verhoeff algorithm was published by the Dutch mathematician Jacobus Verhoeff in 1969. Instead of plain multiplication, it uses three small tables taken from the symmetries of a pentagon: one to combine digits, one to shuffle each digit according to its position, and one to find the inverse at the end.
Working from the right, each digit is shuffled by its position and combined with a running value. For a complete, correct Aadhaar number the running value ends at 0. Any single wrong digit, and almost every swap of two neighbouring digits, gives something other than 0, which is why the tool can say a number was mistyped.
Wikipedia’s worked example uses the short number 236, whose Verhoeff check digit is 3. The example on this page, 2341 2341 2346, is the one used in the python-stdnum documentation.
What a valid result does and doesn’t mean
- Valid means the number is well formed. Roughly one in ten random 12-digit numbers starting with 2–9 passes, so passing proves nothing about identity.
- Not valid means a digit is almost certainly wrong. Check the card or e-Aadhaar again before submitting a form.
- Only UIDAI can confirm whether an Aadhaar number exists. Use its Verify Aadhaar service on myaadhaar.uidai.gov.in.
Keep the number private
An Aadhaar number is personal data. This page runs entirely in your browser, sends nothing and saves nothing. When you only need to show that you have an Aadhaar, use the masked form: the tool’s Copy button gives XXXX XXXX followed by the last four digits, the same form UIDAI uses on a masked Aadhaar.
The page deliberately has no Aadhaar generator.
At a glance
- Price
- Free. No sign-up, no watermark.
- Privacy
- Your text stays in your browser. Nothing is uploaded.
- Works in
- Chrome, Edge, Firefox and Safari, on phones and computers
Questions
Does a valid result mean the Aadhaar is real?
No. It means the number is well formed: 12 digits, a first digit from 2 to 9 and a correct Verhoeff check digit. Only UIDAI can say whether a number was issued. Use Verify Aadhaar on myaadhaar.uidai.gov.in.
What kind of mistakes does the check digit catch?
The Verhoeff algorithm catches any single wrong digit and almost every case of two neighbouring digits swapped, which are the most common typing errors.
Is the number saved or sent?
No. The check runs in your browser, nothing is sent to a server and nothing is saved when you close the page.
Can it make Aadhaar numbers for testing?
No. This page only checks numbers. It has no generator.
Why does my Aadhaar fail the check?
Almost always because of a typing mistake: one wrong digit or two digits swapped. Compare carefully with the card. If it still fails, check the number in your e-Aadhaar or the mAadhaar app.
Is the Virtual ID checked the same way?
No. The 16-digit Virtual ID is a different number. This page only checks the 12-digit Aadhaar number.
Can I type the number with spaces?
Yes. Spaces and dashes are ignored.