Home NIK (Nomor Induk Kependudukan) Indonesia

Indonesia NIK (Nomor Induk Kependudukan) validator

How the NIK (Nomor Induk Kependudukan) format works

Format
16 digits: 2-digit province code + 2-digit regency/city code + 2-digit district code + 6-digit date of birth as DDMMYY (day +40 for women) + 4-digit serial number
Example
3171011504900001

Things to watch for

  • Format-only check — does not confirm the NIK was actually issued or belongs to a real person
  • The first 12 digits encode province, regency/city, district and date of birth (day +40 for women), but this checker only validates the overall 16-digit shape — it does not decode or cross-check those embedded fields
  • Runs entirely in your browser — the number you enter is never transmitted or stored
Regex for NIK (Nomor Induk Kependudukan)
^[0-9]{16}$

Indonesia’s NIK (Nomor Induk Kependudukan) is the 16-digit population identification number that Dukcapil — the Direktorat Jenderal Kependudukan dan Pencatatan Sipil within the Ministry of Home Affairs — assigns to every registered resident, for example 3171011504900001. Unlike a random serial, the NIK’s digits are structured: a 2-digit province code, a 2-digit regency/city code and a 2-digit district code identify where the holder first registered, followed by a 6-digit date of birth written DDMMYY — with 40 added to the day for female holders — and a 4-digit serial number that separates people who’d otherwise share every earlier digit.

What this checker verifies

This tool confirms the input is exactly 16 digits, catching an obviously wrong length or a stray letter carried over from a scan or a copy-paste. It does not decode or cross-check the province, regency, district or date-of-birth segments embedded in those digits.

What a pass doesn’t confirm

A 16-digit match doesn’t mean Dukcapil actually issued that NIK, that it belongs to a real person, or that the embedded province and birth-date fields are internally consistent with each other — this checker validates shape only, not those component values. Because a NIK encodes real personal information, treat any number you check here with care.

Scope: format-only validation, running entirely in your browser — nothing you type is transmitted or stored.

Content last reviewed 2026-08-09.

NIK (Nomor Induk Kependudukan) FAQ

What does an Indonesian NIK's 16 digits encode?

The first 6 digits are a province, regency/city and district code, the next 6 are the holder's date of birth as DDMMYY (with 40 added to the day for women), and the final 4 digits are a serial number — all visible in the number itself.

Why is the day of birth sometimes over 40 in a NIK?

Dukcapil adds 40 to the day-of-birth digits for women specifically, so gender can be read directly from the NIK without a separate field — a man born on the 15th shows 15, a woman born on the 15th shows 55.

Does a correctly formatted NIK confirm someone is registered with Dukcapil?

No. This checker confirms the string is 16 digits in the right shape — it doesn't decode the embedded province, district or birth-date fields, or confirm Dukcapil actually issued that NIK to a real person.

← More NIK (Nomor Induk Kependudukan) validators