Checking an Aadhaar number's format catches the most common data entry mistakes instantly, without contacting UIDAI. This guide walks through validating the format and what that check does and doesn't tell you.
What You Need
- The 12-digit Aadhaar number you want to check, with or without spaces
- Access to the Aadhaar Validator for instant checking, or a way to manually compute the Verhoeff checksum
Step 1: Confirm the Number Has Exactly 12 Digits
Strip any spaces or hyphens from the number and count the digits. A valid Aadhaar number is always exactly 12 digits long. If your number comes out to a different count after removing separators, it's already invalid before any checksum even gets applied.
Step 2: Understand the Verhoeff Checksum
Aadhaar numbers use the Verhoeff algorithm for their final check digit. It's sturdier than a simple weighted-sum checksum, since it catches all single-digit errors and most cases where two adjacent digits got swapped. The algorithm works through multiplication and permutation tables rather than a simple linear formula, so manual verification isn't practical. A validator tool does the job in a fraction of a second.
Step 3: Run the Number Through a Validator
Enter the 12-digit number into the Aadhaar Validator. The tool strips any spaces automatically, confirms the digit count, and applies the Verhoeff checksum to tell you immediately whether the number is structurally valid.
Step 4: Interpret a Failing Result
If the check fails, the likely cause is a single mistyped digit or a transposition of two adjacent digits, both of which the Verhoeff algorithm is built to catch. Compare the number carefully against the original Aadhaar card or downloaded e-Aadhaar PDF to find and correct the mismatch.
Step 5: Understand What a Passing Result Does and Doesn't Mean
A passing checksum confirms the number is correctly formed according to UIDAI's algorithm. It does not confirm the number has actually been issued, is currently active, or belongs to the person presenting it. Verifying those facts requires UIDAI's official verification channels. A website format check is a first-line filter for typos, not a stand-in for identity verification.
Step 6: Use Masked Aadhaar When Sharing the Number
If you need to display or share an Aadhaar number without revealing it in full, use the masked format: only the last 4 digits show, with the first 8 replaced by Xs (XXXX XXXX 2346). The Aadhaar Formatter generates this format automatically from a full number, following UIDAI's recommended privacy practice.
Common Mistakes to Avoid
Treating a passing checksum as identity verification. Format validation and real identity verification are different things. Don't conflate them in a KYC or compliance context.
Not stripping spaces before counting digits. Aadhaar numbers are commonly written with spaces in groups of four. Strip these before checking the digit count.
Sharing the full number when masked would suffice. Default to the masked format whenever full visibility isn't specifically required.
Assuming any 12-digit number is Aadhaar-shaped. Other 12-digit numbers, like some barcode formats, won't pass the Aadhaar-specific Verhoeff checksum, and the reverse holds too. The check is specific to Aadhaar's exact algorithm.
Key Terms
- Aadhaar: India's 12-digit biometric identity number, issued by UIDAI and validated using the Verhoeff algorithm.
- PAN: India's tax-specific identifier, a separate 10-character alphanumeric format from Aadhaar.
- Masked Aadhaar: a privacy-preserving display format showing only the last 4 digits of an Aadhaar number.