InputTestHub

Indonesian NIK Decoder

Decodes an Indonesian NIK — region, date of birth and sex are all encoded in the sixteen digits.

Security Nothing uploaded No sign-up Free, unlimited
Security tool
Enter something above.
In short An Indonesian NIK has no check digit, so it cannot be validated by arithmetic — but it is one of the most informative ID numbers anywhere, and decoding it is far more useful than a yes or no. The first six digits are the province, regency and district. The next six are the date of birth as DDMMYY, with one twist that catches every naive parser: for women, forty is added to the day, so a birth day of 41 to 71 means female and the real day is that number minus forty. The last four digits are the registration sequence within that district and date. A NIK whose date field does not decode to a real date is not well formed; one that does is merely possible, and only Dukcapil can confirm it exists.

How to use the Indonesian NIK Decoder

  1. Paste the number — punctuation and spaces are ignored.
  2. Read the verdict and, where the number encodes anything, what it decodes to.
  3. Treat a pass as "typed correctly", not as "confirmed by the authority".

About the Indonesian NIK Decoder

An Indonesian NIK has no check digit, so it cannot be validated by arithmetic — but it is one of the most informative ID numbers anywhere, and decoding it is far more useful than a yes or no. The first six digits are the province, regency and district. The next six are the date of birth as DDMMYY, with one twist that catches every naive parser: for women, forty is added to the day, so a birth day of 41 to 71 means female and the real day is that number minus forty. The last four digits are the registration sequence within that district and date. A NIK whose date field does not decode to a real date is not well formed; one that does is merely possible, and only Dukcapil can confirm it exists.

What people use it for

  • Catching a mistyped number in a form before it reaches a database.
  • Cleaning an imported list and finding the rows that cannot be right.
  • Understanding what the number encodes and what it does not.

Details

Check digitNone — the NIK cannot be validated by arithmetic
First six digitsProvince, regency and district codes
Next sixDate of birth as DDMMYY
The +40 ruleFor women, forty is added to the birth day — a day of 41 to 71 means female
Last fourRegistration sequence within that district and date
Decoding beats validating here: "born 14 March 1991, female, Bandung" is a far more useful answer than a tick, and it is what the number actually supports. Nothing you paste is transmitted — the check runs entirely in your browser.

Where this tool stops

Decoding and plausibility only. The NIK has no check digit, so existence cannot be established offline.

Frequently asked questions

Why does my NIK show a birth day above 31?
Because you are female. Indonesia adds forty to the day of birth for women, so a real day of 15 appears as 55. Subtract forty and the date decodes normally. A parser that does not know this rule reports a valid NIK as malformed.
Can a NIK be validated?
Not by arithmetic — there is no check digit. The date field can be checked for plausibility and the region code for existence, which is what this page does. Confirming that a NIK was issued needs Dukcapil, the civil registration authority.
Is the NIK the same as the NPWP?
They were separate — NIK for identity, NPWP for tax — but Indonesia has been merging them, with the NIK becoming the tax identifier. A sixteen-digit NPWP is the NIK; the older fifteen-digit format is the legacy one.
Is anything I paste sent anywhere?
No. The arithmetic runs in this browser tab and no request is made — open your Network tab and watch while you type. That matters more for an identity number than for almost anything else on this site, which is why there is no server side to this tool at all.
Does this replace an official check?
No, and it cannot. Every scheme here proves at most that the digits are internally consistent. Only the issuing authority can confirm a number exists, is active, and belongs to a particular person.
Does the Indonesian NIK Decoder cost anything?
No charge and no sign-up. There is no free tier to run out of because there is no paid tier — inputtesthub.com is funded by advertising rather than by metering the utility.
Is the Indonesian NIK Decoder safe to use with private information?
No. The Indonesian NIK Decoder runs entirely in your browser using JavaScript. Nothing is transmitted, logged or stored, which you can verify yourself in the Network tab of your browser's developer tools.
What is the Indonesian NIK Decoder used for?
In practice it gets used for three things: catching a mistyped number in a form before it reaches a database. Cleaning an imported list and finding the rows that cannot be right. Understanding what the number encodes and what it does not. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Is there anything the Indonesian NIK Decoder cannot do?
Decoding and plausibility only. The NIK has no check digit, so existence cannot be established offline. Knowing where a tool stops being trustworthy matters more than the cases where it works.
What figures does the Indonesian NIK Decoder work from?
Check digit is None — the NIK cannot be validated by arithmetic. First six digits is Province, regency and district codes. Next six is Date of birth as DDMMYY. These are printed on the page itself, so you do not have to take them on trust.
Will this work on a tablet?
Yes. The page is responsive and the utility works in Chrome, Safari, Firefox, Edge and Samsung Internet on both Android and iOS. There is no app to install and nothing to sign into.

Related security tools

All 100
01

Password Strength Checker

Estimates password entropy and crack time, and identifies the specific weaknesses in what you…

02

Hash Generator

Generates MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text, all at once.

03

MD5 Hash Generator

Generates an MD5 hash of any text or string, with optional HMAC and uppercase output.

05

SHA-1 Hash Generator

Generates SHA-1 hashes, still required by some legacy systems and Git object addressing.

06

SHA-512 Hash Generator

Generates SHA-512 hashes for checksums, signatures and archival fingerprints. Runs in your…

09

AES Text Encryption

Encrypts and decrypts text with AES-GCM 256-bit using a password, entirely in your browser.

10

XOR Cipher Tool

Applies a repeating-key XOR to text or hex, the operation behind many simple obfuscation…