# NIK Parser

Parse Indonesian NIK into region codes, birth date, gender and serial number.

## URL

https://ilham.dev/tools/nik-parser/

## 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.

## Features

- Runs in the browser
- No login required

## Input

text input.

## Output

text output.

## Privacy

Processing happens locally in the browser.

No input data is uploaded to ilham.dev.

- Requires login: false
- Requires API key: false
- Stores user data: false


## Examples

- Can this validate that a NIK is real?
- Why does a female birth date look larger than 31?




## 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.

