Saved

Press the star next to a tool's name to save it.

All my tools

Aadhaar Number Validator (format)

This Aadhaar number validator checks the format of a 12-digit Aadhaar number, including its Verhoeff check digit, in your browser. It catches typing errors but doesn't verify the holder.

Checked 100% in your browser. Nothing you type is sent, saved or logged.

Type the 12 digits with or without spaces. Only the last four digits are shown in the result.

Your number stays on this device. Nothing is uploaded or saved.

Format check

–

Enter an Aadhaar number to check its format.

An Aadhaar number validator (format) checks whether a 12-digit number is written the way an Aadhaar number should be, before you type it into a form or a spreadsheet. Enter the number with or without spaces, and this Aadhaar number validator confirms that it has exactly 12 digits and that its last digit passes the Verhoeff check-digit test used for Aadhaar numbers. It runs entirely in your browser and shows only the last four digits on screen, so the full number isn't displayed or sent anywhere.

What an Aadhaar number is

The Unique Identification Authority of India (UIDAI), a statutory body under the Ministry of Electronics and Information Technology, assigns a 12-digit unique identification number to residents of India. The number is linked to the resident's demographic and biometric details. People are often asked for it when opening a bank account, getting a mobile connection or applying for government benefits, which is why a quick way to catch typing mistakes is useful.

How the Aadhaar number validator works

The tool removes spaces and hyphens, then runs three checks:

  1. Digits only. Letters and symbols mean it can't be an Aadhaar number.
  2. 12 digits. An Aadhaar number is always 12 digits long.
  3. Check digit. The last digit is worked out from the other eleven with the Verhoeff algorithm. If the digits you typed don't produce a check value of zero, at least one of them is wrong.

What the Verhoeff algorithm is

The Verhoeff algorithm is a checksum for catching errors, first published by the Dutch mathematician Jacobus Verhoeff in 1969. It was the first decimal check-digit method to detect every single-digit error and every transposition of two adjacent digits, which were thought impossible to catch with a single decimal digit at the time. It's used in several systems, including Indian Aadhaar numbers.

The method uses three small tables: a multiplication table, a permutation table that depends on each digit's position, and an inverse table. Working from the rightmost digit, it combines each digit with a running value. For a correct number, the final value is zero.

Worked example of a check digit

The Wikipedia article on the algorithm uses the short number 236. Running the steps gives a check value of 2, and the inverse of 2 in the table is 3, so the check digit is 3 and the full number is 2363. Checking 2363 gives a final value of zero, which confirms it. If you change any one digit, say to 2364, the value is no longer zero, and the number fails the check.

An Aadhaar number works the same way, just with 11 digits before the check digit. That's why this tool can tell you a 12-digit number is mistyped even though it doesn't know any real numbers.

What the result tells you

  • Correct format: the number has 12 digits and its check digit is right. It could be a real Aadhaar number, but this tool can't confirm that.
  • Incorrect format: at least one check failed. Look at the row marked Incorrect to see why, then compare the number with the card or letter.
  • 16 digits: the number may be a Virtual ID, a 16-digit number generated from an Aadhaar number that can be used in its place.

Format check only

Passing the format check doesn't mean a number exists, is active or belongs to a particular person. Any random 12 digits with a matching check digit will pass. For real verification, use UIDAI's own services. This tool is meant for catching typing errors, for example when you're filling in a form or cleaning up a list of numbers.

Keeping your Aadhaar number safe

An Aadhaar number is personal information. Share it only when it's genuinely required, and be careful with sites and apps that ask for it. This validator never sends the number anywhere: the check runs on your device, the result shows only the last four digits, and nothing is stored after you close the page. Where an organization accepts it, a Virtual ID can be used instead of the Aadhaar number itself.

How to use the Aadhaar number validator

  1. Type or paste the number. Spaces and hyphens are fine; the tool removes them.
  2. Press Check format.
  3. Read the result. Each check shows Correct or Incorrect, and the number appears with only its last four digits visible.
  4. Fix and retry if a check fails, comparing the number with the card group by group.
  5. Press Clear when you're done, so the number isn't left on screen.

Checking a list? Paste one number at a time, and keep the original list closed or hidden while you work so the full numbers aren't left in view.

Common mistakes

  • Swapping two digits. The Verhoeff check catches this, so recheck neighboring digits first.
  • Missing a digit. Count the groups: three groups of four digits.
  • Typing a VID. A 16-digit number is a Virtual ID, not an Aadhaar number.
  • Treating a pass as proof. The format can be right even if the number was never issued.

What next

Use this often? Add Aadhaar Numb to your Home screen.

Frequently asked questions

How does the Aadhaar number validator (format) work?

It checks that the number has exactly 12 digits and that the last digit is the correct Verhoeff check digit for the first eleven.

What is the Verhoeff algorithm?

A check-digit method published by Jacobus Verhoeff in 1969. It catches every single-digit error and every swap of two neighboring digits, and Aadhaar numbers use it.

Does this tool verify my Aadhaar?

No. It checks the format only. It can't tell whether a number has been issued or who it belongs to. Use UIDAI's official services for that.

Why does my number fail when I have the right card?

Usually a digit was mistyped or two digits were swapped. Compare the number with the card one group at a time.

Is my Aadhaar number uploaded?

No. The check runs in your browser, the result shows only the last four digits, and nothing is saved.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Office & Productivity Tools