DevTools Logo

Thailand Company TIN Generator

Thailand Company TIN Generator

Generate 13-digit Thai juristic person tax IDs (0…) with the mod-11 check digit — synthetic test data only

Runs in your browser

For Development & Testing Purposes Only - Synthetic Mock Data

Settings

1 value

Generates one value with a valid checksum. Press ⌘/Ctrl+Enter for a fresh one.

Generated value

No value yet

Set options, then press Generate.

Generated values are valid in shape but randomized (Test Data).

Legal Disclaimer: Generated data is for software testing and validation purposes only (e.g. verifying input masks, form validation, or database seeding). It is randomly generated and not taken from any real record, but a random value can coincidentally match a real, issued number, so never use it in real applications, payments, KYC or official forms. Using it to impersonate real people or for any fraudulent activity is illegal. DevTools accepts no liability for how generated data is used.

    Examples

    Generated company TIN

    Input
    Juristic person TIN · Generate
    Output
    0994000617721

    A 0 prefix, a DBD-style body and the mod-11 check digit 1.

    Validate a pasted TIN

    Input
    0994000617721
    Output
    Valid — check digit 1 matches the first 12 digits

    The validator confirms the leading 0 and the checksum.

    Wrong check digit

    Input
    0994000617723
    Output
    Invalid — check digit is 3 but the first 12 digits require 1

    The validator prints the expected digit for the body.

    About this tool

    The Thailand Company TIN Generator produces 13-digit juristic person tax identification numbers. For companies the TIN is the juristic person registration number from the Department of Business Development, so it starts with 0 and shares the citizen ID's mod-11 check digit.

    The generator emits numbers beginning 0105 — a Bangkok office registration for a limited company — and appends the check digit computed over the first 12 digits with weights 13 down to 2. Validation rejects any value that does not start with 0, which keeps company numbers separate from citizen IDs. Individuals use their 13-digit citizen ID as a TIN, and that has its own generator.

    These are synthetic values for QA and development, never for real applications, KYC checks, tax filings or identity documents; a random value can coincidentally match a real, issued number, and DevTools accepts no liability for how generated data is used. Everything runs locally in your browser.

    What this tool does not do

    • Only juristic person numbers starting with 0 are generated and validated.
    • The 0105 prefix is fixed at generation time; other office and company-type prefixes are not emitted.
    • Validation does not query the Department of Business Development.
    • Individual TINs are citizen IDs and need the separate national-ID tool.

    How to use this tool

    1. Generate one company TIN

      Click Generate to create a 13-digit number starting 0105 with a valid mod-11 check digit.

    2. Copy the value

      Copy it to an invoice or vendor fixture, or download it as a .txt file.

    3. Validate a pasted TIN

      Switch to Validate to confirm the leading 0 and recompute the check digit.

    Use cases

    Vendor master data

    Fill company tax-ID fields in supplier records with values that pass the mod-11 check.

    Company versus person routing

    Test that a leading 0 routes to company validation and a leading 1–8 to citizen-ID validation.

    Invoice templates

    Seed Thai invoice headers with a juristic person number before rendering test PDFs.

    Juristic person TIN structure

    PartRule
    Length13 digits
    First digit0 for juristic persons
    Generated prefix0105 — Bangkok office, limited company
    Check weights13, 12 … 2 over the first 12 digits
    Check formula(11 − sum mod 11) mod 10
    Individual TINThe person's 13-digit citizen ID, handled by a separate tool

    A number that does not start with 0 fails company-TIN validation.

    Common mistakes

    Mistake:Using a citizen ID as a company TIN

    Fix:Citizen IDs start with 1–8; company TINs start with 0.

    Mistake:Expecting a separate company algorithm

    Fix:Juristic person numbers use the same mod-11 check as the citizen ID.

    Mistake:Assuming every 0105 number is real

    Fix:The prefix is a generation choice for a Bangkok limited company, not proof of registration.

    Frequently asked questions

    Are these real TINs, and can I use them in production?

    No. They are synthetic test values for QA and development, never for real applications, KYC checks, tax filings or identity documents; a random value can coincidentally match a real, issued number, and DevTools accepts no liability for how generated data is used.

    What is a Thai juristic person TIN?

    For companies it is the 13-digit juristic person registration number from the Department of Business Development, so it starts with 0 and uses the same mod-11 check as the citizen ID.

    Why do generated numbers start with 0105?

    0105 encodes a Bangkok office registration for a limited company. It is a fixed generation prefix, not a rule that every company number shares.

    Can I validate a citizen ID with this tool?

    No. Citizen IDs start with 1 to 8, and this validator rejects anything that does not start with 0. Use the national-ID tool instead.

    Does validation check more than the check digit?

    It checks the 13-digit length, the leading 0 and the mod-11 check digit. It does not query the Department of Business Development.

    References & standards