DevTools Logo

Philippines TIN Generator

Philippines TIN Generator

Generate BIR Taxpayer Identification Numbers in the 000-000-000-000 layout — 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

    Generate a TIN

    Input
    PH TIN · Generate
    Output
    123-456-789-000

    A non-zero nine-digit body with branch code 000 passes the length and all-zero checks.

    Validate the short form

    Input
    123456789
    Output
    Valid — 9-digit TIN

    The body alone is a legitimate form; the validator accepts 9 or 12 digits.

    Reject a truncated value

    Input
    123-456-78
    Output
    Invalid — a TIN has 9 digits, or 12 with the branch code

    Eight digits cannot be a TIN, so the length check reports the count it found.

    About this tool

    The Philippines TIN Generator produces one BIR Taxpayer Identification Number in the 000-000-000-000 layout: a nine-digit body followed by a three-digit branch code. The branch code 000 marks the head office, or the single registration of an individual taxpayer, while a non-zero code identifies a branch.

    The BIR publishes no check digit for the TIN, so this is a structure-only tool. Validation counts the digits after spaces and hyphens are removed and rejects a body that is all zeros. A nine-digit value is accepted as the shortened form and a twelve-digit value as the full form with branch code, which is how the same identifier appears with and without the suffix on Philippine forms.

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

    What this tool does not do

    • There is no check digit, so validation cannot detect a mistyped digit in an otherwise well-shaped number.
    • The tool cannot confirm whether a TIN was ever issued or which taxpayer it belongs to.
    • Generated values always end in 000, so they do not exercise non-zero branch codes unless you edit one yourself.
    • The TIN is the only identifier this tool covers; Philippine SSS, PhilHealth and Pag-IBIG numbers live elsewhere.

    How to use this tool

    1. Open the TIN generator

      The tool is pinned to the Philippine TIN, which uses the nine-digit body plus a three-digit branch code shown as 000-000-000-000.

    2. Generate a value

      Click Generate to create one number whose first digit is non-zero and whose branch code is 000.

    3. Copy or validate

      Copy the result to a form fixture or download it as a .txt file, or switch to Validate to check a pasted TIN.

    Use cases

    BIR form fixtures

    Fill taxpayer fields on onboarding and invoice mockups with a value that passes the structural checks.

    Branch-code handling

    Test whether your form keeps or drops the three-digit branch suffix when it normalizes a TIN.

    Negative-path tests

    Pair a generated value with a truncated or all-zero sample to cover each rejection branch.

    Philippine TIN structure and checks

    PartRule
    Body (9 digits)First digit non-zero; 000000000 is never valid
    Branch code (3 digits)000 for a head office or individual; other values for branches
    Short form9 digits — the body alone
    Full form12 digits — body plus branch code
    Check digitNone published by the BIR

    Spaces and hyphens are ignored, so 123-456-789-000 and 123456789000 validate the same way.

    Common mistakes

    Mistake:Expecting a checksum to catch typos

    Fix:The BIR publishes no TIN check digit, so only the digit count and the non-zero body can be verified.

    Mistake:Treating the branch code as part of the taxpayer number

    Fix:The first nine digits identify the taxpayer; the last three identify a branch or head office.

    Mistake:Assuming a formatted value needs its hyphens stored

    Fix:Normalize separators before storage; the validator compares digits only.

    Frequently asked questions

    Are these real Philippine TINs?

    No. Every value is synthetic test data for QA and development, never for real applications, KYC checks, tax filings, or identity documents, and DevTools accepts no liability for how generated data is used.

    Does a Philippine TIN have a check digit?

    No. The BIR publishes no check digit, so validation confirms the digit count and rejects an all-zero body only.

    Why does the tool accept both 9 and 12 digits?

    The first nine digits identify the taxpayer and the last three give the branch code, so the same TIN appears with and without the suffix.

    What does branch code 000 mean?

    It marks the head office of a registered business or the single registration of an individual taxpayer; other values identify branches.

    Can I confirm a TIN was issued with this tool?

    No. The validator checks structure only and cannot look up whether a number exists or who it belongs to.

    References & standards