xDataIDAbout
EN, choose language

Dummy NIK generator: sample 16-digit Indonesian ID numbers for testing

For developers and testers: dummy 16-digit NIKs with a valid structure, to fill forms and test data without using real people's numbers. Choose the region, gender, and birth-year range. The numbers are not checked against Dukcapil, and one could coincide with a real person's NIK. Test environments only.

Gender
to

Results

Set the filters above, then press Generate NIKs.

This is test data. The numbers are not verified against any database. Their serials are deliberately taken from 9000 to 9999 to reduce the chance of matching a real person's NIK. That is an assumption, not a guarantee: there is no official data on how NIK serials are distributed. Do not use them to register for real services, fill in official documents or tax invoices, or impersonate anyone.

What a dummy NIK is

A dummy NIK is a 16-digit number that follows the NIK rules, a region code, a birth date, and a serial, but is made for testing rather than issued by Dukcapil. Developers use it to test form validation, data imports, and app screens without touching real people's numbers. Every number from this page reads back with the same region and date on the NIK decoder, and can go on a watermarked sample KTP for mockups. Long lists can be checked again in one go with the bulk NIK decoder.

A dummy NIK is not the 0000000000000000 used in the NPWP field of Coretax tax invoices; the FAQ explains the difference, and the valid 16-digit NPWP formats are on the NPWP converter page. For HR test data, the dummy NIP generator makes civil servant and PPPK numbers with a valid pattern.

How the numbers are built

  • The six region digits come from real districts in the Ministry of Home Affairs list. If you pick a province or regency, the district is chosen at random within it.
  • The birth date is random within the years you choose, always a real calendar date, and never later than today. The year range is 1927 to 2026: a NIK stores only two year digits, so only the last 100 years can be read back without a century mix-up. For women, 40 is added to the day, as in a real NIK.
  • The serial is random between 9000 and 9999 and is still valid in format. A serial tells apart people with the same region and birth date, so small serials such as 0001 to 0150 are the most likely to be in real use. We assume serials as high as 9000 are rare, but no official data confirms it.
  • Everything is generated in your browser. No list is stored on a server.

Frequently asked questions

Can I use a generated NIK to register somewhere?

No. These numbers are for testing your own forms and applications. Using them on a real service means submitting false data, and a number that happens to match a real person's NIK could harm that person.

Are the numbers guaranteed not to belong to anyone?

No guarantee. The serial is taken from 9000 to 9999 to reduce that chance, but there is no official data on how NIK serials are distributed, and the numbers are not checked against any database. That is one more reason to use them only in test environments.

What is the "dummy NIK" in Coretax, and can I use these numbers?

Do not use these numbers on invoices. What people call the "dummy NIK" in Coretax is actually 0000000000000000 (16 zeros) in the NPWP field for individual buyers without a tax number. The buyer's real NIK still goes in the document number field, and the system checks it against population data, so an invented number is rejected or causes invoice problems.

Why is the serial always 9000 or higher?

To reduce the chance that a dummy NIK matches a real person. A serial tells apart people with the same region and birth date, so small serials such as 0001 to 0150 are the most likely to be in use. We assume serials as high as 9000 are rare, but no official data confirms it. The range is still valid in format and reads back on the decoder.

Why are birth years limited to the last 100 years and never after today?

A NIK stores only two year digits. The decoder on this site reads those digits as a year within the last 100 years, so anything outside that range would come back in the wrong century. Birth dates also never go past today, so every generated number reads back with the same date.

Other tools