Indian Aadhaar Number Generator
IndiaGenerate valid-format 12-digit Aadhaar numbers with Verhoeff check digit for testing. Aadhaar is India's unique identification number issued by UIDAI.
Generator
Validate Aadhaar Number
Aadhaar Number Format
Length: 12 digits
First digit: 2-9 (cannot be 0 or 1)
Check digit: Last digit (Verhoeff algorithm)
Format: XXXX XXXX XXXX
Verhoeff Algorithm
Aadhaar uses the Verhoeff checksum algorithm which can detect all single digit errors and all adjacent transposition errors.
⚠️ Testing Only
These are randomly generated numbers for testing purposes only. Misuse of Aadhaar numbers is punishable under Indian law.
What is This Tool?
An Aadhaar number generator creates fictional 12-digit Aadhaar numbers following UIDAI format specifications. Aadhaar is India's biometric identification system, and properly formatted test numbers are essential for testing e-KYC, DigiLocker, and other Aadhaar-integrated applications.
Aadhaar numbers are 12 digits with the last digit serving as a checksum calculated using the Verhoeff algorithm. Numbers cannot start with 0 or 1, and are typically displayed as groups of 4 (XXXX XXXX XXXX). This generator produces numbers that pass Verhoeff validation.
How the Verhoeff Check Digit Works
UIDAI uses the Verhoeff algorithm for the 12th digit of every Aadhaar number — chosen because it catches all single-digit errors and almost all transposition errors, which a simple Luhn check misses.
- Three lookup tables are defined:
d(10×10 dihedral group),p(8×10 permutation), andinv(10-element inverse). - Reverse the input digits.
- Walking through them, accumulate
c = d[c][p[i mod 8][digit]], starting withc = 0. - The check digit is
inv[c].
Verhoeff is non-commutative — swapping any two adjacent digits produces a different checksum, which is why it catches transposition errors that linear schemes don't. UIDAI also enforces that Aadhaar numbers cannot start with 0 or 1, leaving 8 valid leading digits.
Common Use Cases
e-KYC Integration
Test Aadhaar-based KYC verification flows, OTP authentication, and demographic data retrieval in fintech applications.
Banking & Insurance
Validate Aadhaar input in bank account opening, insurance enrollment, and mutual fund KYC processes.
Government Portal Testing
Test DigiLocker, UMANG, and other government portals that accept Aadhaar for identity verification.
Telecom KYC
Validate Aadhaar-based SIM activation and re-verification flows for Indian telecom operators.
Frequently Asked Questions
Are generated numbers real Aadhaar IDs?
No. Numbers follow correct format and pass Verhoeff checksum validation but are not registered with UIDAI.
What is the Verhoeff algorithm?
A checksum algorithm that detects all single-digit errors and most transposition errors. It uses permutation tables rather than simple modular arithmetic.
Is it legal to generate fake Aadhaar numbers?
Generating test Aadhaar numbers for software development is acceptable. Using fake numbers for real identity verification or government services is illegal under the Aadhaar Act.