Homeโ€บValidatorsโ€บFinance & Global IDsโ€บAadhaar Number Validator

Aadhaar Number Validator

Finance & Global IDs

Check if an Aadhaar number follows the official 12-digit format issued by UIDAI. Verifies structure only, not registration or authenticity status.

Reviewed by the thecalcu.com team ยท Last updated July 5, 2026

What is a Aadhaar?

The Aadhaar Number Validator checks whether a given 12-digit number follows the structural format mandated by the Unique Identification Authority of India (UIDAI). Aadhaar is India's national biometric identity system, every resident who has enrolled receives a unique 12-digit number linked to their fingerprints, iris scans, and demographic information.

The format rule is straightforward: the number must be exactly 12 digits, and the first digit must be between 1 and 9. Numbers are often written with spaces between each group of four digits (for example, 2345 6789 0123), but the underlying value is always 12 continuous digits. This validator accepts both spaced and unspaced entry.

It is important to understand what this validation does, and does not, confirm. A format check tells you that the number is structurally plausible, which is useful for catching obvious typos before submitting a form. It does not tell you whether the number is registered in UIDAI's database, whether it belongs to the person presenting it, or whether it is currently active. For any purpose requiring genuine authentication, use UIDAI's official APIs or the resident portal.

For Indian residents, Aadhaar is relevant across dozens of touchpoints: income tax e-filing (PANโ€“Aadhaar linking is mandatory), direct benefit transfers, pension scheme enrolment, and government portal logins. A typo in the 12-digit number causes application rejections and delays. Running a quick format check before submission prevents many of these avoidable errors.

You can use this tool alongside the PAN Number Validator when preparing documents that require both identifiers.

Why Use an Aadhaar Number Validator?

Government and financial forms that require Aadhaar often do not validate the format at the point of entry. A user who accidentally omits one digit or swaps two digits will only discover the error after submission, sometimes days later, via a rejection notice. This validator gives immediate feedback.

The most common data-entry errors are: entering 11 or 13 digits instead of 12, starting the number with a leading zero, including letters or special characters, and accidentally using a masked Aadhaar (which begins with "XXXX") in a field that requires the full number.

Developers building forms that collect Aadhaar numbers for KYC or government-linked services can also use the logic in this tool as a reference for client-side pre-validation before sending data to a backend.

Who Should Use This Validator?

Individuals completing government forms, Anyone filling KYC forms, linking PAN to Aadhaar, applying for subsidies, or enrolling in pension schemes needs to enter their Aadhaar correctly. A format check before submission is a simple safeguard against rejection.

Accountants and tax professionals, Chartered accountants and tax consultants who process Aadhaarโ€“PAN linking or ITR filings for multiple clients can use this tool to verify each number before batch submission. Pair it with the PAN Number Validator and the Income Tax Calculator for a complete workflow.

HR and payroll teams, Companies collecting Aadhaar numbers from employees for PF enrolment, form 16 generation, or ESIC registration benefit from a quick format check during data collection to avoid rejected submissions downstream.

Developers and product teams, Engineers building onboarding flows, KYC modules, or government-integrated APIs need a simple client-side validation rule to reduce server-side errors and improve user experience.

NGOs and field workers, Organisations running beneficiary enrolment for government welfare programmes often collect Aadhaar numbers in the field. A mobile-accessible format checker helps catch errors before the form is finalised.

What Insights Does the Aadhaar Validator Give You?

The validator returns a clear pass or fail result alongside an explanation. On failure, it tells you specifically what is wrong, whether the number is too short, too long, contains non-digit characters, or starts with a zero. This is more useful than a generic "invalid" message when correcting data-entry errors.

On a successful format check, the tool confirms that the number is structurally plausible and reminds you that format validity does not equal authenticity. This scoping note matters in professional and legal contexts where the distinction between structural and database validation is important.

How to use this Aadhaar calculator

  1. Type or paste the Aadhaar number into the input field. You can enter it with spaces (e.g. 2345 6789 0123) or without (234567890123), both formats are accepted.
  2. The validator runs automatically as you type. You do not need to press a button.
  3. Check the Valid or Invalid badge below the input field.
  4. If the result is Invalid, read the error message to understand what needs correcting, for example, whether a digit is missing or whether the number starts with a zero.
  5. Once the badge shows Valid, the number is structurally correct and ready to use in forms that require Aadhaar.
  6. To validate a different number, clear the field and enter the new value.

Formula & Methodology

Format rule: An Aadhaar number must satisfy all three conditions:

1. Exactly 12 characters (after removing spaces)
2. All characters are digits (0โ€“9)
3. The first digit is 1โ€“9 (never 0)

Expressed as a regular expression (after stripping spaces): /^[1-9][0-9]{11}$/

Valid example: 2345 6789 0123, 12 digits, first digit is 2.

Invalid example: 0234 5678 9012, fails because the first digit is 0.

Invalid example: 2345 6789 012, fails because only 11 digits are present.

This tool does not implement the Verhoeff checksum algorithm, which UIDAI uses internally during enrolment. The checksum details are not publicly documented in a form that would allow reliable third-party verification, and implementing an approximation could produce misleading results. Structural format validation is the only check that can be reliably performed without access to UIDAI's systems.

Related Tools

You may also find these useful: UPI ID Validator.

Frequently Asked Questions

Aadhaar is a 12-digit unique identification number issued by the Unique Identification Authority of India (UIDAI) to every resident of India. It serves as proof of identity and address across a wide range of services, from opening a bank account to filing income tax returns. The number is linked to biometric and demographic data collected at the time of enrolment.
An Aadhaar number is exactly 12 digits long. The first digit is always non-zero (1โ€“9), and the remaining eleven digits are any combination of 0โ€“9. UIDAI does not assign numbers beginning with 0 or 1 in practice, though the official format specification only requires the first digit to be non-zero. Numbers are often displayed in three groups of four digits separated by spaces, for example 2345 6789 0123.
No. This tool checks only that the number follows the correct 12-digit structural format, it does not query UIDAI's databases and cannot confirm whether the number is registered, active, or belongs to any individual. For official verification, use the UIDAI resident portal at uidai.gov.in. Format validation is useful for catching typos in forms before submission.
Spaces are purely a display convention. UIDAI prints Aadhaar cards with the number in three groups of four digits (e.g. 2345 6789 0123) to make it easier to read aloud and copy without errors. The underlying number is always 12 continuous digits. This validator accepts numbers with or without spaces.
First check that you have entered all 12 digits and not confused a letter like 'O' with the digit '0'. If you copied the number from a physical card, try re-reading each digit carefully. If you are still unsure, locate your Aadhaar e-card from the UIDAI portal, which shows the number clearly in a machine-readable format. A structural format error in this tool does not mean your Aadhaar is invalid, it may simply be a data entry mistake.
No. Validation runs entirely in your browser using JavaScript. Your Aadhaar number is never sent to any server, stored in a database, or shared with any third party. You can verify this by disconnecting from the internet before using the tool, it will continue to work normally.
The Unique Identification Authority of India (UIDAI) is the statutory authority established under the Aadhaar Act, 2016, responsible for enrolment and issuance of Aadhaar numbers. UIDAI operates under the Ministry of Electronics and Information Technology (MeitY). Enrolment is available at designated Aadhaar Seva Kendras, post offices, and bank branches across the country.
No. Each resident is entitled to exactly one Aadhaar number for their lifetime. UIDAI uses biometric deduplication (fingerprints and iris scans) during enrolment to prevent duplicate registrations. If a duplicate is detected at the time of enrolment, the application is rejected.
You can retrieve your Aadhaar number on the UIDAI resident portal (uidai.gov.in) using your registered mobile number or email address. The portal allows you to download a PDF copy of your e-Aadhaar, which is legally equivalent to the physical card. You can also use the mAadhaar mobile application for the same purpose.
A masked Aadhaar shows only the last four digits, with the first eight replaced by 'X' (e.g. XXXX XXXX 0123). It is used when sharing the number with third parties to reduce the risk of misuse. This validator cannot validate a masked Aadhaar because the full 12-digit string is required for the format check.
The Supreme Court of India's 2018 judgment (Puttaswamy vs Union of India) held that Aadhaar is valid as a statutory requirement for government welfare schemes and income tax filing, but cannot be made mandatory for private entities such as mobile SIM activation or bank account opening. The mandatory scope is therefore limited to specific central government benefits and subsidies.
Also known as
check aadhaar numberaadhaar card validatorUID number checkerUIDAI number formatverify aadhaar format12 digit aadhaar check