GALAXY OF TOOLS

BUSINESS SECTOR

Aadhaar Number Validator — Check the Format and Verhoeff Check Digit

Check that a 12-digit Aadhaar number is well formed and its Verhoeff check digit matches — privately, on this device.

Privacy first. An Aadhaar number is personal data. This page checks it entirely on your device: the digits are hidden while you type, nothing is saved, copied or sent, and the box is cleared when you leave. Only check a number you are entitled to handle. This is a format check — it cannot tell whether a number was issued or whose it is; only UIDAI’s own services can verify an Aadhaar.

—Type or paste the 12 digits — they stay hidden unless you choose to show them
    How the Verhoeff check works — worked example with UIDAI’s test number 9999 4105 7058

    Read the digits from the right. At step i the digit is first permuted with p(i mod 8, digit), then combined with the running value using the dihedral-group table d. The number is valid when the running value ends at 0. The worked example uses a test number from UIDAI’s developer documentation, not a person’s Aadhaar.

    Step (from the right)Digitp(step mod 8, digit)d(previous, p) → running value
    188d(0, 8) = 8
    258d(8, 8) = 0
    305d(0, 5) = 5
    475d(5, 5) = 0
    552d(0, 2) = 2
    604d(2, 4) = 1
    717d(1, 7) = 8
    849d(8, 9) = 4
    999d(4, 9) = 8
    1094d(8, 4) = 9
    1192d(9, 2) = 7
    1297d(7, 7) = 0
    Result0 → valid

    Format: UIDAI white paper “A UID Numbering Scheme” (Kanakia, Nadhamuni and Sarma, May 2010, published on uidai.gov.in): 12 digits — 11 plus a Verhoeff check digit; first digit 0 reserved for future extension and 1 for entities, so residents’ numbers start with 2–9. To verify a real Aadhaar, use UIDAI’s “Verify Aadhaar” service at myaadhaar.uidai.gov.in or an authorised e-KYC.

    Runs entirely in your browser. Nothing you enter or upload is sent to a server.

    An Aadhaar validator that keeps the number on your device

    This free Aadhaar validator checks whether a 12-digit Aadhaar number is well formed: twelve digits, a first digit from 2 to 9, and a last digit that matches the Verhoeff check digit UIDAI uses to catch typing mistakes. It is meant for people and developers who need to catch a mistyped number before submitting a form — one wrong digit or two swapped digits are always detected.

    Because an Aadhaar number is sensitive, the page is built to keep it private: the digits are hidden as you type, nothing is stored, sent, copied or checked in bulk, and the box is emptied when you leave. A pass means only that the number is well formed. It does not mean the number was issued or belongs to anyone; to verify an Aadhaar, use UIDAI’s own Verify Aadhaar service or an authorised e-KYC.

    How to use the Aadhaar Number Format Validator

    1. Type or paste the 12 digits; they are grouped 4-4-4 and hidden as dots.
    2. Read the verdict: format valid or invalid, with the reason.
    3. Tick “Show digits” only if you need to compare what you typed.
    4. Press Clear when you are done — the page also clears itself when you leave.
    5. Open the worked example to see how the Verhoeff check works step by step.

    Aadhaar Number Format Validator features

    Verhoeff check digit

    Detects every single-digit error and every swap of two adjacent digits — the most common typing mistakes.

    Masked by default

    Digits appear as dots; the result shows only the last four, as UIDAI’s masked Aadhaar does.

    Nothing kept

    No storage, no copy button, no bulk lists, no network requests — and copying out of the field is blocked.

    Clear reasons

    Wrong length, a first digit of 0 or 1, letters, or a 16-digit Virtual ID typed by mistake.

    No guessing aid

    It never suggests what the “right” last digit would be, so it cannot be used to complete a made-up number.

    Aadhaar number format

    Source: UIDAI white paper “A UID Numbering Scheme” (May 2010), which chose the Verhoeff scheme because it catches all single errors and adjacent transpositions, and stresses that the algorithm is public so that anyone can detect keying errors. The UIDAI test numbers come from its developer documentation.

    RuleDetail
    Length12 digits, usually printed as 4-4-4 (e.g. 9999 4105 7058, a UIDAI test number)
    First digit2–9 for residents; 0 was reserved for future longer numbers and 1 for entities
    Digits 1–11A random, non-repeating number with no meaning — no birth date, place or gender
    Digit 12Verhoeff check digit, computed from the other eleven

    Validation is not verification

    • A valid format can still be a number that was never issued, or someone else’s.
    • To confirm an Aadhaar exists, use UIDAI’s Verify Aadhaar service at myaadhaar.uidai.gov.in; organisations must use authorised authentication or e-KYC.
    • The Aadhaar Act, 2016 restricts how others may collect, store and share Aadhaar numbers — share a masked Aadhaar (last four digits) where full digits are not required.
    • Before sharing a scan, hide the number with the image redaction tool or the PDF redaction tool.

    Aadhaar Number Format Validator FAQ

    How do I validate an Aadhaar card number?

    Type the 12 digits into this Aadhaar number validator. It checks the length, the first digit and the Verhoeff check digit on your device and tells you whether the format is valid.

    Does a valid result mean the Aadhaar is genuine?

    No. It only shows that the number is well formed. Only UIDAI’s services can verify that an Aadhaar number exists.

    What is the Verhoeff algorithm?

    A check-digit scheme published by Jacobus Verhoeff in 1969, based on the symmetries of a pentagon (the dihedral group D5). UIDAI uses it for the last Aadhaar digit.

    Is it safe to type my Aadhaar here?

    The check runs in your browser and nothing is saved or sent, the digits are masked, and the field clears when you leave. Avoid doing it on a shared computer all the same.

    Why does it not tell me the correct last digit?

    On purpose: suggesting check digits would help someone complete a made-up number. If yours fails, read the digits again from the card or e-Aadhaar.

    Can an Aadhaar number start with 0 or 1?

    No. Residents’ numbers start with 2 to 9; 0 and 1 were reserved in UIDAI’s numbering scheme.

    You might also need