DevTools Logo

Tax Number Generator

Tax Number Generator

Generate and validate format-valid tax IDs for 14 countries — for testing only.

    Privacy Notice: Runs entirely in browser. Data is never sent to any server.

    Generator Configuration

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

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

    Legal Disclaimer: Generated numbers are for software testing and validation purposes only. They do not belong to real entities. Use responsibly.

    Examples

    Validate a Turkish VKN test value

    Input
    Country: Turkey
    Tax number: 1234567890
    Output
    Valid Tax Number
    Country: Turkey
    Formatted: 1234567890
    Check Digit: 0

    The component recomputes the tenth digit with its Turkish VKN checksum routine. This is format-valid test data, not proof of assignment to a real taxpayer.

    Validate a French SIREN test value

    Input
    Country: France
    Tax number: 123 456 782
    Output
    Valid Tax Number
    Country: France
    Formatted: 123 456 782

    Spaces are removed for the nine-digit Luhn check and restored in three groups. A passing result does not establish that the number was issued to an entity.

    Validate a US EIN-shaped test value

    Input
    Country: United States
    Tax number: 12-3456789
    Output
    Valid Tax Number
    Country: United States
    Formatted: 12-3456789

    The US validator checks the XX-XXXXXXX shape and its allowlist of prefixes only. The result is format-valid test data, not a real assigned EIN.

    About this tool

    The Tax Number Generator produces format-valid tax identification numbers for 14 countries — Turkish VKN, US EIN, Australian TFN, UK NINO, German Steuernummer, Italian Partita IVA, French SIREN, Saudi VAT, UAE TRN, Egyptian TIN, Qatar Tax ID, Singapore UEN, and Jordanian and Kuwaiti TINs.

    Each number follows the country's official structure and check-digit algorithm, so it passes real-world form validation — while remaining synthetic test data that is registered to no business or person. Validator mode checks numbers you already have and reports which rule fails.

    The tool is fully client-side: nothing you generate or paste is transmitted, logged or stored.

    How to use

    1. Pick a country and tax ID type

      Choose one of the 14 supported countries — for example Turkish VKN, US EIN, Singapore UEN or Saudi VAT.

    2. Generate or validate

      Generate a fresh, format-valid test number, or paste an existing one to validate its structure and check digits.

    3. Copy into your tests

      Copy the number and use it in fixtures, invoices in staging environments, or QA scenarios.

    Use cases

    Testing localized tax forms

    Exercise country selectors, masks, length checks, formatting, and validation states with synthetic test data.

    Creating staging fixtures

    Populate invoices, checkout flows, and account forms in non-production environments without using a real taxpayer's identifier.

    Covering checksum branches

    Generate or validate values for implementations that check Turkish, Australian, Italian, French, or Singapore check characters.

    Diagnosing country-specific rejection

    Use Validator mode to distinguish formatting, prefix, length, checksum, and check-letter failures.

    Supported countries & tax ID types

    CountryTax ID type
    Turkey (TR)Tax Identification Number (VKN)
    United States (US)Employer Identification Number (EIN)
    Australia (AU)Tax File Number (TFN)
    United Kingdom (UK)National Insurance Number (NINO)
    Germany (DE)Steuernummer
    Italy (IT)Partita IVA (VAT Number)
    France (FR)SIREN (Company ID)
    Saudi Arabia (SA)VAT Number
    United Arab Emirates (AE)Tax Registration Number (TRN)
    Egypt (EG)Tax Identification Number (TIN)
    Qatar (QA)Qatar Tax ID
    Jordan (JO)Tax Identification Number (TIN)
    Kuwait (KW)Tax Identification Number (TIN)
    Singapore (SG)Unique Entity Number (UEN)

    Common mistakes

    Mistake:Treating a format-valid or checksum-valid result as proof that a tax authority assigned the number.

    Fix:Use generated values only as synthetic test data; the tool does not query registries or verify assignment, ownership, or taxpayer status.

    Mistake:Sending generated tax numbers to production tax, invoicing, identity, or government systems.

    Fix:Keep them in isolated tests, demos, and staging environments, and use each external service's approved sandbox values when available.

    Mistake:Assuming all 14 countries receive checksum validation.

    Fix:Review the component's rule for the selected country; several validators check only length, separators, a prefix, or a broad format.

    Mistake:Using one country's formatting rules to validate a similarly sized identifier from another country.

    Fix:Select the correct country explicitly and test the exact formatted and unformatted inputs accepted by your application.

    Frequently asked questions

    References & standards