Search tools...
utility-tools

Aadhaar Number Validator: Complete Guide to Aadhaar Format, Verhoeff Algorithm & Privacy in 2026

Understand Aadhaar structure, how the checksum detects errors, and how to share Aadhaar safely.

11 min readUpdated March 19, 2026Aadhaar, UIDAI, Identity, Validation

Aadhaar is India's national biometric identity system — a 12-digit unique identification number issued by the Unique Identification Authority of India (UIDAI) to every resident of India. With over 1.4 billion Aadhaar numbers issued, it is the world's largest biometric identity database. Aadhaar is now required for everything from filing income taxes and opening bank accounts to getting a SIM card, applying for government subsidies, and even enrolling children in schools. But despite being so prevalent, most people don't understand how an Aadhaar number is actually structured — and more importantly, how to validate whether a given 12-digit number is structurally correct.

This guide demystifies the Aadhaar number validator — how it works, what makes a 12-digit number a valid Aadhaar format (vs an invalid one), how the Verhoeff checksum algorithm detects errors without any database query, why format validation is fundamentally different from Aadhaar authentication, how to share your Aadhaar safely using Masked Aadhaar and Virtual ID (VID), and how to handle the most common Aadhaar-related issues in 2026.

Free Tool

Validate Any Aadhaar Number Format — Instantly, Privately

Use ToolsArena's Aadhaar Validator to check any 12-digit number against the Verhoeff algorithm. Zero data stored, completely offline — your Aadhaar number never leaves your device.

Validate Aadhaar Now

What Is Aadhaar and Why Is the 12-Digit Format Critical?

India's Universal Identity Infrastructure

Aadhaar (meaning "foundation" in many Indian languages) was conceptualized in 2009 and the first number was issued in 2010. Unlike a PAN card (which is a tax identifier) or a voter ID (which is electoral), Aadhaar is a universal identity — tied to your biometrics (fingerprints and iris scans) and demographic data (name, date of birth, address). UIDAI maintains the central Aadhaar database called CIDR (Central Identities Data Repository).

The 12-digit Aadhaar number is the key that links a person to their biometric record in CIDR. Every time someone "authenticates" with Aadhaar — at a bank, a ration shop, an e-KYC request — they're essentially saying: "This 12-digit number + my biometric/OTP proves I am who I claim to be." If the 12-digit number is invalid, the entire authentication chain breaks.

Why Format Matters Before Authentication

Before you submit an Aadhaar number anywhere — to a bank form, an ITR, a subsidy application — running a format check is essential because:

  • A structurally invalid Aadhaar number will immediately fail the authentication API
  • Entering someone else's valid Aadhaar by mistake ties your transaction to the wrong identity
  • Typos in Aadhaar can cause KYC failures that delay account opening, loan processing, or subsidy delivery by weeks
  • For businesses doing bulk Aadhaar-based verification, format pre-validation reduces API costs by filtering out invalid numbers before they're submitted
Critical Distinction: Format validation tells you if a 12-digit number could be a valid Aadhaar. It does NOT tell you if that number actually exists in the UIDAI database or belongs to a specific person. That requires Aadhaar authentication — a separate, UIDAI-controlled process.

Basic Format Rules

RuleDetail
LengthExactly 12 digits
CharactersOnly numeric digits (0–9)
First digitMust be 1–9 (cannot start with 0)
Check digitLast digit computed via Verhoeff algorithm
Cannot beAll same digit (e.g., 111111111111)
Cannot beSequential (e.g., 123456789012)

How Aadhaar Numbers Are Structured and Assigned

Is There Hidden Information in Your Aadhaar Number?

This is one of the most common misconceptions about Aadhaar. People assume, by analogy with PAN (which encodes taxpayer type and name initial), that Aadhaar digits encode geography, date of birth, or gender. They do not.

UIDAI explicitly designed Aadhaar to be a random number with no personally identifiable information encoded in the number itself. This is a deliberate privacy decision — if the number itself revealed your state or birth year, it would make certain inferences possible just from the number.

What IS Encoded in an Aadhaar Number

ComponentDigitsMeaning
First digit1 digitMust be 1–9; not zero. No other specific meaning — just ensures the number doesn't start with 0.
Middle 10 digitsDigits 2–11Pseudo-random sequence. No geographic, demographic, or temporal information encoded.
Last digit (check digit)Digit 12Computed using the Verhoeff algorithm based on the first 11 digits. Validates structural integrity.

How Aadhaar Numbers Are Actually Assigned

When you enroll at an Aadhaar enrollment center, your biometrics and demographics are captured and sent to UIDAI's CIDR. CIDR checks for uniqueness (no existing biometric match), then generates a new Aadhaar number using a cryptographically secure random number generator. The last digit is computed as the Verhoeff check digit. The number is then permanently linked to your biometric record.

Uniqueness Guarantee: UIDAI runs a process called "de-duplication" — every new Aadhaar application's biometrics are compared against the entire CIDR database. If a biometric match is found (same person trying to enroll again), a new Aadhaar is not issued. Instead, the existing Aadhaar is returned. This is why Aadhaar is called a "unique" identifier.

The "No Information" Design Is Also a Security Feature

Since Aadhaar numbers are random (beyond the format rules), you cannot "guess" a valid Aadhaar number for a specific person based on their demographics. Even if you know someone's name, date of birth, and address, you cannot derive their Aadhaar number. This is fundamentally different from systems like the US Social Security Number, where the first three digits used to correspond to the state of issuance.

The Verhoeff Algorithm Explained (Without Jargon): How Checksum Validation Works

What Is a Checksum and Why Does Aadhaar Need One?

A checksum is a calculated value derived from the other digits of a number. It serves as a built-in error detector. When you type an Aadhaar number, a validator can compute the expected checksum from the first 11 digits and compare it to the 12th digit. If they match, the number is structurally valid. If they don't match, at least one digit was entered incorrectly — no database query needed.

UIDAI chose the Verhoeff algorithm for Aadhaar's check digit. Named after Dutch mathematician Jacobus Verhoeff, this algorithm was specifically designed to detect the types of errors most common in human data entry:

  • Single-digit errors: Changing any one digit (e.g., 5 → 6)
  • Adjacent transpositions: Swapping two neighbouring digits (e.g., ...34... → ...43...)
  • Most twin errors: 55 → 44 or similar patterns

How Verhoeff Works — Simplified

The Verhoeff algorithm uses three mathematical tables:

  1. Multiplication table (d): A 10×10 table defining how to combine two digits
  2. Permutation table (p): A 10×8 table that "mixes" digits based on their position
  3. Inverse table (inv): Maps a value to its inverse in the multiplication group

For validation: you start with a check value of 0. For each digit (right to left), you apply the permutation based on position, then combine with the running check value using the multiplication table. If the final check value is 0, the Aadhaar number is valid.

In Plain English: The Verhoeff check ensures that no single digit typo, and no swapping of two adjacent digits, can accidentally produce another valid-looking Aadhaar number. This makes it far more powerful than a simple sum-of-digits checksum.

Why Not Just Use the Luhn Algorithm (Like Credit Cards)?

The Luhn algorithm (used by credit cards) detects all single-digit errors and most adjacent transpositions — but it misses some twin errors (e.g., 22 → 44). The Verhoeff algorithm is strictly more powerful and detects all transposition errors, not just most of them. UIDAI specifically chose Verhoeff for this reason — Aadhaar is used for high-stakes authentication where even rare error patterns must be caught.

What Verhoeff CANNOT Detect

Error TypeDetected by Verhoeff?
Single digit substitution (any digit)Yes — always
Adjacent digit transpositionYes — always
Twin errors (aa → bb)Yes — always (unlike Luhn)
Two non-adjacent digit errorsUsually not — two independent errors can cancel out
Number not registered in UIDAINo — requires database lookup
Number deactivated by UIDAINo — requires database lookup
For Developers: Implementing Verhoeff validation client-side is straightforward — the three lookup tables are static and compact. Adding it to any form that accepts Aadhaar numbers eliminates the majority of data entry errors before they reach your Aadhaar authentication API, saving both cost and latency.

Why Aadhaar Format Validation ≠ Aadhaar Authentication

The Crucial Difference

Format validation and Aadhaar authentication are often confused — even by developers building KYC systems. Here's the definitive clarification:

Level 1: Format Validation (What Our Tool Does)

Checks: Is the number 12 digits? Does it start with a non-zero digit? Does the Verhoeff check digit match?

Result: "This number could be a valid Aadhaar" or "This number has a structural error."

No internet required. No UIDAI API call. No data transmitted. Instant.

Level 2: Aadhaar Existence Check

UIDAI's "Verify Aadhaar" service (available at myaadhaar.uidai.gov.in) checks whether a given 12-digit number actually exists in the CIDR database. It confirms existence but doesn't authenticate identity.

Level 3: Aadhaar Authentication

This is what banks and telecom operators use for KYC. The person presents their Aadhaar number AND provides biometric (fingerprint/iris) or OTP-based verification. UIDAI's authentication API confirms: "Yes, this Aadhaar number exists AND the biometric/OTP matches the record."

LevelWhat It ChecksWho Can Do ItPrivacy Risk
Format ValidationStructure onlyAnyone (offline)None
Existence VerificationDB lookup (no identity)Anyone with Aadhaar portal accessLow
OTP AuthenticationNumber + OTP matchAUA/KUA entities licensed by UIDAIMedium
Biometric AuthenticationNumber + fingerprint/irisAUA/KUA entities with biometric devicesHigh
eKYCIdentity + demographic data releasedKUA entities with user consentVery High
Legal Note: Only UIDAI-licensed Authentication User Agencies (AUAs) and KYC User Agencies (KUAs) can perform Aadhaar authentication. It is illegal for any private entity to perform Aadhaar authentication without UIDAI authorization. This applies to both biometric and OTP-based authentication.

The Ecosystem: What Each Level Is Used For

  • Format validation: Data entry, form validation, bulk Aadhaar list cleaning
  • Existence verification: Initial check before KYC, checking a beneficiary's Aadhaar before subsidy disbursement
  • OTP authentication: Online bank account opening, mutual fund KYC, SIM card activation
  • Biometric authentication: Ration shop PDS, Jan Dhan account opening, EPFO attendance
  • eKYC: Full digital onboarding with demographic data for financial products

Sharing Aadhaar Safely: Masked Aadhaar, VID and the UIDAI Rules

The Problem With Sharing Your Full Aadhaar

Aadhaar has become so ubiquitous that photocopies of Aadhaar cards are routinely collected by landlords, hotels, petrol stations, courier services, gyms — entities that have no legal right to collect or store Aadhaar data. This creates a massive identity theft risk because anyone with your full 12-digit Aadhaar number can try to misuse it in Aadhaar-enabled services.

UIDAI has created two solutions to this problem: Masked Aadhaar and Virtual ID (VID).

Masked Aadhaar

A Masked Aadhaar is a version of your Aadhaar card/PDF where only the last 4 digits of your 12-digit Aadhaar number are visible — the first 8 digits are replaced with "XXXX XXXX." The rest of the card (name, address, photo, QR code) remains intact.

  • Purpose: Share for identity proof where the actual Aadhaar number isn't needed for authentication
  • Where to get it: Download from myaadhaar.uidai.gov.in → Download Aadhaar → select "Masked Aadhaar" option
  • Legally valid: Yes — Masked Aadhaar is an officially recognized identity proof
  • QR code: The QR code on a Masked Aadhaar still contains encrypted identity data; do not share with untrusted parties

Virtual ID (VID)

A VID is a temporary, revocable 16-digit number that maps to your Aadhaar. Instead of sharing your actual Aadhaar number, you can share a VID. Organizations can authenticate you using the VID, but they cannot derive your actual Aadhaar number from the VID.

FeatureFull AadhaarMasked AadhaarVirtual ID (VID)
Digits shownAll 12Last 4 only16 (different number)
Can be used for authenticationYesNoYes
RevocableNoN/AYes (generate new VID anytime)
Organization can get Aadhaar from itDirectN/ANo (VID maps to Aadhaar internally only)
Valid for KYCYesFor ID proof onlyYes (for authentication)
Best Practice: For any KYC that requires Aadhaar-based authentication (like opening a bank account digitally), provide the VID instead of your actual Aadhaar number. For offline identity proof (like a landlord asking for ID), use a Masked Aadhaar PDF. Never give a photocopy of your original Aadhaar card to any random entity.

UIDAI's Rules on Who Can Collect Aadhaar

Under Section 29 of the Aadhaar Act and subsequent UIDAI circulars:

  • Aadhaar can only be collected with the explicit consent of the Aadhaar holder
  • The collector must inform the holder of the purpose
  • Aadhaar data cannot be stored in physical or digital form by entities not authorized by UIDAI
  • Hotels, landlords, gyms, and similar entities have no legal basis to collect or store your Aadhaar number
  • Violation of Aadhaar data protection provisions can result in imprisonment up to 3 years and/or fine
Your Right: If any entity demands a photocopy of your Aadhaar card and refuses to accept Masked Aadhaar, you are legally entitled to write "This document is provided only to [entity name] for [purpose] on [date]" on the photocopy before giving it. This helps limit misuse if the copy is stolen or misused.

Aadhaar-PAN Linking, Aadhaar-Mobile Linking: What You Need to Know

Aadhaar-PAN Linking: The Current Status (2026)

The Supreme Court and the Finance Ministry have made Aadhaar-PAN linking mandatory for individuals who are eligible to obtain Aadhaar. The implications are significant:

  • Deadline passed (2023): PANs not linked to Aadhaar by the government's deadline were made "inoperative"
  • Late fee: You can still link Aadhaar to PAN in 2026 by paying a penalty of ₹1,000 (late fee under Section 234H)
  • Inoperative PAN consequences: TDS at 20%, TCS at twice the normal rate, refunds withheld, investment limit violations
  • How to check: incometax.gov.in → Link Aadhaar → check status
  • How to link: Same portal — enter PAN and Aadhaar, pay ₹1,000 challan (if applicable), request link, validate OTP on Aadhaar-linked mobile
Don't Delay: An inoperative PAN affects every financial transaction — TDS, TCS, ITC in GST, bank KYC, and investment limits. If your PAN is inoperative, link it immediately. The ₹1,000 penalty is far cheaper than the cascading compliance costs.

Aadhaar-Mobile Number Linking

Your mobile number must be linked to your Aadhaar for:

  • Receiving OTPs for Aadhaar-based authentication
  • Using the m-Aadhaar app
  • Generating and updating Virtual ID
  • Downloading e-Aadhaar and Masked Aadhaar
  • Using DigiLocker (which uses Aadhaar OTP for some functions)

How to Update Mobile in Aadhaar

Mobile number updates in Aadhaar must be done offline — at an Aadhaar enrollment center. You cannot update your mobile number online through the UIDAI portal if your current mobile is not linked (because the OTP verification uses the existing linked mobile). The offline update requires:

  1. Visit any Aadhaar enrollment center (Aadhaar Seva Kendra, post offices, banks)
  2. Fill in Aadhaar Update/Correction Form
  3. Provide biometric verification (fingerprint or iris)
  4. Pay the update fee (currently ₹50)
  5. Mobile is updated within 7–10 working days
Which Aadhaar Data Can Be Updated Online vs Offline?
  • Online (myaadhaar.uidai.gov.in): Name, date of birth, gender, address, email (if mobile is already linked)
  • Offline only: Mobile number, biometric data

Aadhaar in EPFO and Pension Systems

Your Aadhaar is now the primary identifier for EPFO accounts. Linking Aadhaar with your UAN (Universal Account Number) enables:

  • Online PF withdrawal without employer approval
  • Auto-transfer of PF when changing jobs
  • e-Nomination for PF and pension

Common Aadhaar Issues and How to Resolve Them

Issue 1: Name Mismatch Between Aadhaar and PAN/Bank

This is the most common issue. Your name in Aadhaar (as it appears in the UIDAI record) must exactly match your name in PAN, bank accounts, and other official documents for KYC and linking to work seamlessly. Minor mismatches (different spelling, missing middle name) cause linking failures.

Resolution: Update your name in Aadhaar to match your PAN (preferred, since PAN name is harder to change) via myaadhaar.uidai.gov.in → Document Update — or visit an Aadhaar Seva Kendra.

Issue 2: Aadhaar OTP Not Received

This typically means your mobile number is not linked to your Aadhaar, or your registered mobile number has changed/been deactivated.

Resolution: Visit an Aadhaar enrollment center to update your mobile number (offline process, takes 7–10 days). In the interim, use the TOTP (Time-based OTP) from the m-Aadhaar app if your old mobile is still accessible.

Issue 3: Aadhaar Locked / Biometric Lock

UIDAI provides a biometric lock feature that prevents your Aadhaar biometrics from being used without your explicit unlock. If biometric authentication fails consistently, check if your Aadhaar biometrics are locked.

Resolution: Unlock biometrics at myaadhaar.uidai.gov.in → Biometric Lock/Unlock. Temporarily unlock for authentication, then re-lock immediately after.

Best Practice: Enable biometric lock when not actively using Aadhaar for authentication. This prevents unauthorized use of your Aadhaar at biometric authentication points (PDS shops, etc.) even if someone has your Aadhaar number.

Issue 4: Aadhaar Number Shows "Invalid" Everywhere

If your Aadhaar passes format validation (Verhoeff check) but fails at actual authentication or verification sites, possibilities are:

  • Aadhaar may be deactivated by UIDAI (rare, typically for fraud cases)
  • Demographic data mismatch (name/DOB entered doesn't match UIDAI record)
  • Technical issues with UIDAI servers (check status.uidai.gov.in)

Issue 5: Lost Aadhaar Card — How to Get It

You don't need the physical card. The e-Aadhaar PDF is legally equivalent to the physical card. Download from myaadhaar.uidai.gov.in → Download Aadhaar using your Aadhaar number or enrollment ID + OTP. If you've forgotten your Aadhaar number, retrieve it via "Retrieve Lost UID/EID" on the same portal using your registered mobile.

IssueQuick FixTimeline
Name mismatchOnline update at myaadhaar.uidai.gov.in7–10 days
Wrong DOBOnline update (once only) or enrollment center7–10 days
Mobile not linkedEnrollment center visit7–10 days
Biometrics lockedOnline unlock at myaadhaarInstant
Lost card/numberDownload e-Aadhaar from myaadhaar.uidai.gov.inInstant
PAN not linkedincometax.gov.in + ₹1,000 fee3–5 days after payment

How to Use the Tool (Step by Step)

  1. 1

    Enter the Aadhaar Number

    Type the 12-digit Aadhaar number into the validator field. You can enter it with or without spaces — the tool normalizes it automatically by removing spaces and special characters.

  2. 2

    Click Validate Aadhaar

    Hit the "Validate Aadhaar" button. The tool checks: exact 12-digit length, first digit is non-zero (1–9), all characters are numeric, and the Verhoeff algorithm check digit matches.

  3. 3

    Review the Validation Result

    The tool shows: whether the format is valid, whether the Verhoeff check digit matches, and if the number fails, which rule it violates (length error, non-numeric character, first digit zero, or invalid check digit).

  4. 4

    Cross-Check the Number Source

    If validation fails, cross-reference with the original Aadhaar card or e-Aadhaar PDF. Common mistakes: transcribing from a worn physical card, confusing 8 with 3, or missing a digit.

  5. 5

    Proceed to UIDAI Verification If Needed

    If you need to confirm the Aadhaar number exists in the UIDAI database (beyond format check), visit myaadhaar.uidai.gov.in → Verify Aadhaar. This requires OTP verification on the registered mobile.

Frequently Asked Questions

Can an Aadhaar number start with 0?+

No. By UIDAI specification, Aadhaar numbers cannot start with 0, 1, or — according to some sources — any digit that would make the number look like a special reserved sequence. In practice, all issued Aadhaar numbers start with 2–9. A number starting with 0 or 1 will fail format validation.

How does the Verhoeff algorithm differ from a simple checksum?+

A simple checksum (like adding all digits and taking the remainder) can be fooled by many common errors — especially adjacent transpositions. The Verhoeff algorithm uses three mathematical tables to detect all single-digit errors and all adjacent transpositions — not just most of them. This makes it significantly more reliable for detecting real-world data entry mistakes.

Can I validate someone else's Aadhaar number?+

You can run format validation on any 12-digit number — this checks structure only and requires no personal data beyond the number itself. However, verifying that an Aadhaar exists in the UIDAI database or authenticating someone's identity using Aadhaar requires the person's explicit consent and OTP verification on their registered mobile. Unauthorized Aadhaar authentication is illegal.

What is the difference between e-Aadhaar, Masked Aadhaar, and mAadhaar?+

e-Aadhaar is a password-protected PDF of your full Aadhaar card downloaded from the UIDAI portal — legally equivalent to the physical card. Masked Aadhaar is the same PDF but with only the last 4 digits of your Aadhaar number visible. mAadhaar is a mobile app by UIDAI that stores your Aadhaar digitally, allows biometric locking, and can generate TOTP for authentication.

Is Aadhaar mandatory for all Indian residents?+

Aadhaar enrollment is available to all residents of India (not just citizens). It is mandatory for receiving certain government benefits and subsidies, for PAN linkage (for those eligible), and for many financial services. The Supreme Court ruled in 2018 that Aadhaar cannot be mandated for purely private services, though many private entities still collect it voluntarily with user consent.

My Aadhaar passes the format check but the bank says it's invalid. What do I do?+

Format validation confirms the number's structure is correct. Bank rejection means either: (1) the Aadhaar and PAN are not linked (banks do a linkage check), (2) name/DOB mismatch between Aadhaar record and bank records, (3) mobile not linked to Aadhaar (so OTP-based eKYC fails), or (4) a temporary UIDAI server issue. Check each of these on myaadhaar.uidai.gov.in.

How do I generate a Virtual ID (VID)?+

Log in to myaadhaar.uidai.gov.in → VID Generator. Enter your Aadhaar number, receive OTP on registered mobile, and generate your 16-digit VID. You can have only one active VID at a time. Generating a new VID automatically revokes the old one. VIDs are valid for a limited period (currently extendable upon expiry).

What is Aadhaar seeding in bank accounts?+

Aadhaar seeding means linking your Aadhaar number to your bank account. This is required for Direct Benefit Transfer (DBT) — government subsidies (LPG subsidy, scholarship, MGNREGA wages, etc.) are directly deposited to the bank account linked with Aadhaar. Seeding is different from Aadhaar-based KYC — you can seed Aadhaar to your bank account even without doing Aadhaar eKYC.

Free — No Signup Required

Validate Any Aadhaar Number Format — Instantly, Privately

Use ToolsArena's Aadhaar Validator to check any 12-digit number against the Verhoeff algorithm. Zero data stored, completely offline — your Aadhaar number never leaves your device.

Validate Aadhaar Now

Related Guides