Indonesian NPWP validator
Check the structure of an Indonesian NPWP (Nomor Pokok Wajib Pajak — the taxpayer identification number). This helps businesses and developers catch malformed numbers in invoices, tax forms and onboarding flows before they cause problems downstream.
How it works
The tool strips any dots and dashes, then validates the digit count and breaks
the number into its components. The classic 15-digit NPWP is written
NN.NNN.NNN.N-NNN.NNN:
| Segment | Digits | Meaning |
|---|---|---|
| Category | 2 | Taxpayer type (individual, company, government, etc.) |
| Serial | 6 | Sequential registration number |
| Check | 1 | Structural digit |
| KPP code | 3 | Tax office (Kantor Pelayanan Pajak) |
| Branch | 3 | 000 = head office, otherwise a branch |
It also recognises the newer 16-digit NIK-aligned form used for individuals since 2024.
Example
The number 01.234.567.8-901.000 strips to 012345678901000: category 01,
serial 234567, check 8, KPP 901, branch 000 (head office) — a
clean, well-formed 15-digit structure.
Because Indonesia does not publish a checksum for the NPWP, this is a structure and length validator only — it never claims the number is genuine and never checks it against any register. Everything runs in your browser, so the number you type is never uploaded.