The Nomor Induk Kependudukan (NIK) is Indonesia’s 16-digit national identity number, printed on the KTP electronic ID card. It is not a random string — it encodes the holder’s region of registration, birth date and gender. This free validator checks the structure and decodes those fields so you can verify a NIK during KYC or data-entry checks.
How it works
The 16 digits break down as PP RR DD DDMMYY NNNN:
- PP — province code (01–99).
- RR — regency or city code.
- DD — district (kecamatan) code.
- DDMMYY — birth date. The day is offset by +40 for women, so a male born on the 25th shows
25and a female shows65. - NNNN — a running registration sequence, starting at 0001.
The validator checks the length (16) and that every character is a digit, then extracts the day (subtracting 40 if it exceeds 40 to recover gender), validates the month (01–12) and the day-of-month, and reports the decoded province code, birth date and gender.
Example
For 3201 42 25 01 90 0001 (illustrative): province 32 (West Java region range), the birth-date block 250190 decodes to a male born 25-01-1990. If the day digits were 65 instead, the holder would be female born on 25 (65 − 40) of the same month. A structural pass plus a plausible decoded date means the NIK is well-formed — not that it is registered in Dukcapil. Everything runs locally; nothing leaves your browser.