India Aadhaar Format Validator — Verhoeff Checksum Check

Validate the format of an Indian Aadhaar number with the Verhoeff checksum.

Ad placeholder (leaderboard)

India Aadhaar format validator

Check whether an Indian Aadhaar number follows UIDAI’s published structure. This is useful for developers building form validation, data-entry teams catching typos before submission, and anyone wanting to confirm a number is well-formed — without ever contacting a government database.

How it works

The validator runs two checks on the 12-digit number:

  1. First-digit rule: the leading digit must be 2–9. UIDAI never issues Aadhaar numbers starting with 0 or 1.
  2. Verhoeff check digit: the 12th digit is a checksum computed over all 12 digits using the Verhoeff algorithm’s dihedral-group multiplication (d), permutation (p) and inverse tables. Processing the digits right-to-left, a valid number leaves a running product of 0.

A valid format passes both checks. The breakdown shows each result separately so you can see exactly why a number passes or fails.

Example

NumberFirst digit 2-9?Verhoeff = 0?Result
2345 6789 0124YesYesValid format
1234 5678 9012No (starts with 1)Invalid
2345 6789 0123YesNoInvalid checksum

A valid format only means the number is mathematically well-formed — it does not prove the Aadhaar was issued or who holds it.

Privacy-first: every check runs in your browser. Nothing is uploaded, stored or sent to any server, and this tool does not query the UIDAI database.

Ad placeholder (rectangle)