National Identity Generator

Generate and validate checksum-valid national IDs for 18 countries — for testing only.

    Privacy Notice: This tool runs entirely in your browser. Your data is never sent to any server or stored anywhere.

    Generator Configuration

    Testing Only: Generated numbers are mathematically valid but randomized (Test Data).

    Generated Identity

    Configure options and generate

    These numbers are mathematically valid but randomized (Test Data).

    Legal Disclaimer: Generated numbers are for software testing and validation purposes only (e.g., verifying input masks). They do not belong to real individuals. Using these numbers to impersonate real people or for fraudulent activities is illegal.

    About this tool

    The National Identity Generator creates checksum-valid national identification numbers for 18 countries — including the Turkish TC Kimlik number, US Social Security Number, Saudi National ID/Iqama, Emirates ID, Brazilian CPF, Singapore NRIC/FIN and Egypt's National ID (الرقم القومي). Every number is algorithmically correct: it passes the country's official format and check-digit rules, but it is synthetic test data that belongs to no real person.

    Use it to seed development databases, test KYC and onboarding flows, exercise form validation, or build demos — without ever touching real personal data. Validator mode runs the same country rules against any number you paste and tells you exactly which rule fails.

    Everything runs locally in your browser: numbers are generated with client-side JavaScript and are never sent to a server, logged, or stored.

    How to use

    1. Pick a country

      Choose one of the 18 supported countries — for example Turkey, the United States, Saudi Arabia, Singapore or Egypt. The format rules adjust automatically.

    2. Generate or validate

      Click Generate for a fresh, checksum-valid test number, or switch to the validator tab and paste an existing number to check its format and check digits.

    3. Copy into your tests

      Copy the result with one click and drop it into your fixtures, database seeds or QA scenarios.

    Supported countries & ID types

    CountryID type
    Turkey (TR)TC Identity Number — 11 digits
    United States (US)Social Security Number (SSN) — 9 digits
    Germany (DE)Identification Number (IdNr)
    United Kingdom (UK)National Insurance Number (NINO)
    Saudi Arabia (SA)National ID / Iqama — 10 digits
    United Arab Emirates (AE)Emirates ID — 15 digits
    Qatar (QA)Qatar ID (QID)
    Kuwait (KW)Civil ID
    Canada (CA)Social Insurance Number (SIN) — 9 digits
    Spain (ES)DNI / NIE
    Brazil (BR)CPF — 11 digits
    France (FR)INSEE / NIR
    Italy (IT)Codice Fiscale
    Netherlands (NL)BSN (Burgerservicenummer)
    Sweden (SE)Personnummer
    Norway (NO)Fødselsnummer
    Egypt (EG)National ID (الرقم القومي) — 14 digits
    Singapore (SG)NRIC / FIN — 9 characters

    Frequently asked questions