A short companion for NIK Parser: when it is useful, what it expects, and what to check before using the result.

What it does

Parse an Indonesian NIK/KTP number locally in the browser. The tool splits the 16 digits into province, regency or city, district, encoded birth date, gender marker and serial number, then looks up the region names from an offline copy of Indonesian administrative codes. It does not verify whether a NIK belongs to a real person; it only explains the structure of the number you typed.

Use the tool

Open NIK Parser, add the input the tool asks for, run it, and check the output before using it elsewhere.

Input and output

  • Input: text.
  • Output: text.
  • Category: Data.

Privacy and processing

Processing happens locally in your browser. This tool does not upload the input to ilham.dev.

Questions

Can this validate that a NIK is real?

No. It can validate the format and decode the embedded fields, but only Dukcapil or an authorised system can confirm whether the identity exists and is active. Treat this as a parser, not an identity check.

Why does a female birth date look larger than 31?

In a NIK, the day of birth is stored directly for male holders and with 40 added for female holders. So 01 means male born on the 1st, while 41 means female born on the 1st. The page shows that explanation beside the decoded gender.

Related guide

For broader background, see Indonesian Data Formats.