Philippine TIN validator
Check the structure of a Philippine TIN (Tax Identification Number) issued by the Bureau of Internal Revenue. The tool reads the 9-digit core, separates any branch code (000 for the head office), and formats the number as NNN-NNN-NNN. It is handy for confirming a TIN was typed correctly before submitting BIR forms or invoices.
How it works
The validator strips non-digits and checks the total length, then splits the core from the branch:
9 digits → core TIN only (no branch)
12 digits → 9-digit core + 3-digit branch code
14 digits → 9-digit core + 5-digit branch code
core formatted as NNN-NNN-NNN; branch 000 (or all zeros) = head office
Because the BIR’s check-digit algorithm is not public, this is a length and structure validator only — it never claims a number is genuine and never queries any tax register.
Example
Enter 123456789000:
- Length 12 → core 123-456-789, branch 000
- Branch 000 → head office
- Structure: valid
| Input | Core | Branch | Meaning |
|---|---|---|---|
| 123456789 | 123-456-789 | — | core only |
| 123456789000 | 123-456-789 | 000 | head office |
| 123456789005 | 123-456-789 | 005 | branch 005 |
Everything runs in your browser, so the number you type is never uploaded.