xDataIDAbout
EN, choose language

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

Need NIKs that pass format validation while testing a form or an application? Generate several at once with the region, gender, and birth-year range you choose. The structure follows the NIK pattern, the numbers are not checked against Dukcapil, and one could coincide with a real person's NIK. For test data only.

Gender
to

Results

Set the filters above, then press Generate NIKs.

This is test data. The numbers are not verified against any database, and because they are generated at random from the same pattern as real NIKs, one may coincide with someone's actual NIK. 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. Dummy family card (KK) numbers follow the same pattern; the FAQ shows how, and the result fits the sample KK.

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 0001 and 0150, the range usually seen in practice.
  • 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. They are generated at random from the same pattern as real NIKs and are not checked against any database, so a coincidence is possible. 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.

Can I make a dummy KK (family card) number?

Yes. A KK number is built like a NIK, except that the middle six digits are the date the number was created and there is no add-40 rule. Choose Male so the day is not increased by 40, and a sensible year range for the creation date, for example 2008 to this year. The result can be used on the Sample KK page.

Why are the serials always small?

The serial is random between 0001 and 0150, because the number of people born on the same date in one district rarely exceeds that. The numbers then look realistic in tests.

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