RubanTools

Aadhaar Number Validator

Check whether a 12-digit Aadhaar number has a valid format and passes the official Verhoeff checksum used by UIDAI.

Aadhaar Number Check
Format: 12 digits - spaces allowed. Validated using the Verhoeff algorithm.
Your Aadhaar number is checked entirely in your browser. We do not send, store, or log it anywhere.
Aadhaar Number Structure
PositionDigitsMeaning
11 digitCannot be 0 or 1 (UIDAI rule)
2–1110 digitsRandom sequence assigned by UIDAI
121 digitVerhoeff check digit
Try a Sample

About the Verhoeff Algorithm

What it is

A decimal check-digit algorithm developed by Jacobus Verhoeff in 1969 that detects all single-digit and adjacent-transposition errors.

Why UIDAI uses it

Aadhaar's 12-digit format chose Verhoeff over Luhn for stronger error detection - useful when numbers are read out or typed manually.

Important

A valid checksum only proves the number is well-formed. It does not confirm the Aadhaar is real or active - only UIDAI can verify that.

Aadhaar Validator - Format and Checksum Verification

Aadhaar is a 12-digit unique identification number issued by the Unique Identification Authority of India (UIDAI) to every resident of India. Launched in 2009 under the chairmanship of Nandan Nilekani, the Aadhaar programme has enrolled over 1.38 billion individuals as of 2024, making it the world's largest biometric identity system. The number is not random - its final digit is a checksum calculated using the Verhoeff algorithm, a mathematical method that detects single-digit errors and all two-digit transposition errors.

The Verhoeff Algorithm Explained

Invented by Dutch mathematician Jacobus Verhoeff in 1969, the Verhoeff algorithm uses three tables - a multiplication table (dihedral group D5), a permutation table, and an inverse table - to generate a check digit. UIDAI adopted this algorithm because it catches more common data-entry mistakes than simpler methods like Luhn (used in credit cards). When validating an Aadhaar number, the algorithm processes all 12 digits and the result should equal zero for a valid number. The first digit can never be 0 or 1.

What This Tool Validates

This validator checks three things: that the number is exactly 12 digits, that it does not start with 0 or 1, and that it passes the Verhoeff checksum. It does NOT connect to UIDAI servers or confirm whether the number belongs to a real person - only UIDAI's official Aadhaar verification portal can do that. Use this tool to catch formatting errors before submitting forms to government portals, banks, or insurance companies where Aadhaar is mandatory for KYC.

Aadhaar Validation Questions

This tool performs two checks: (1) Format check - ensures the number is exactly 12 digits and does not start with 0 or 1 (UIDAI does not issue Aadhaar numbers beginning with these digits); (2) Verhoeff checksum - validates the last digit using the Verhoeff error-detection algorithm specified by UIDAI. All calculations happen in your browser - no number is sent to any server or stored anywhere.

The Verhoeff algorithm is a check-digit method based on the dihedral group. It is more robust than the Luhn algorithm (used in credit cards) - it detects all single-digit errors and all adjacent transposition errors. UIDAI adopted it for Aadhaar numbers to catch accidental input mistakes. The algorithm uses three mathematical tables (multiplication, inverse and permutation) to compute and verify the check digit.

No - format and checksum validation confirms only that the number could be a valid Aadhaar structurally. It does not verify whether the number is genuinely enrolled and active in the UIDAI database. Only UIDAI's official verification services can confirm enrolment status. To verify an Aadhaar officially, use the Resident Portal at myaadhaar.uidai.gov.in or call the UIDAI helpline at 1947.

Yes - all validation happens entirely in your browser using JavaScript. No Aadhaar number is transmitted to any server, stored in any database or shared with any third party. You can verify this by disabling your internet connection and testing - the validator continues to work locally. For extra caution, you can enter only the last 4 digits of your Aadhaar - the checksum will still validate correctly.

UIDAI reserves starting digits 0 and 1 to avoid confusion with similar-looking characters in certain fonts (0 vs O, 1 vs l). This reduces human transcription errors when Aadhaar numbers are read from printed cards or documents. Over 1.36 billion Aadhaar numbers have been issued since 2010. The leading digit is part of UIDAI's internal numbering scheme and does not reveal any personal information about the cardholder.