xDataIDAbout
EN, choose language

Decode an Indonesian NIK: birth date, gender, and region from the ID number

The 16-digit NIK on an Indonesian ID card (KTP) is not random. The first six digits are a region code, the middle six are the birth date (women have 40 added to the day), and the last four are a serial number. Type a NIK and the reading appears as a card, with age, weekday, and Javanese weton.

Provinsi ——
NIK
••••••••••••••••
Nama
—
Tempat/Tgl Lahir
—
Jenis Kelamin
—Gol. Darah : —
Alamat
—
RT/RW
—
Kel/Desa
—
Kecamatan
—
Agama
—
Status Perkawinan
—
Pekerjaan
—
Kewarganegaraan
—
Berlaku Hingga
—
Sample rendering only, not an official document. Shows only what the NIK encodes. Field labels follow the Indonesian ID card.

Download card
Need a name, address, and photo on the card?Continue on Sample KTP, this NIK comes along

Processed on your device. The NIK is not sent to any server and is not stored. Names, addresses, and photos cannot be derived from a NIK.

Detailed reading

  • Province
  • Regency / city
  • District (kecamatan)
  • Gender
  • Birth date
  • Weekday of birth
  • Age today
  • Javanese weton
  • Registration serial

Need to check something else about a NIK?

The tool above only reads digits. Anything that needs the government database goes through these official channels. Numbers and message formats can be copied directly. All channels operate in Indonesian.

Whether a NIK is registered

Only Dukcapil (the civil registry) can confirm that a NIK is registered. Have the NIK and the family card (KK) number ready.

Halo Dukcapil (phone)Normal call charges, office hours
1500-537
Dukcapil WhatsAppSend: Full name/NIK/Village/District/Regency or City
0813-2691-2479
Dukcapil SMSMessage format: Cek#KTP#NIK
0815-3636-9999
Direct message to the official accountX @ccdukcapil or Facebook Halo Dukcapil. Format: #NIK#Full_Name#KK_Number#Phone#Issue
Lapor KemendagriMenu Sampaikan Laporan, choose Permintaan Informasi, category Kependudukan
IKD appIdentitas Kependudukan Digital. Activate once at a Dukcapil office; your ID data then shows on your phone
IKD on Play Store / App Store

Whether a NIK was used for online loans or gambling

Credit history under your name is recorded in OJK's SLIK. The request is free and the result is emailed in about one working day.

iDebku OJKRegister, fill in your details, upload a photo of your ID, then track under Status Layanan
OJK contact 157Phone 157, or WhatsApp to ask and report misuse
081-157-157-157
If a loan is not yoursReport to OJK and the police with the SLIK evidence. Ask the lender to block the account
konsumen@ojk.go.id

Phone numbers registered under your NIK

Operators must provide a number-check facility so you can see every number registered under your NIK and request a block (Komdigi ministerial regulation, January 2026). Since 1 July 2026 new subscribers are verified with facial biometrics instead of NIK and KK; existing numbers stay recorded under your NIK. The formats below are published by each operator and may change.

TelkomselMyTelkomsel app, Akun Saya menu, registration data
MyTelkomsel
IndosatSMS from an Indosat number
INFO#NIK to 4444
XL and AxisDial code from an XL/Axis number
*123*4444#
TriSMS from a Tri number
STATUS to 4444
SmartfrenCustomer service from a Smartfren number
888

Whether a NIK is listed for social assistance

Cek Bansos KemensosSearched by region and name as on the ID card, not by NIK

Compiled from official channels and news coverage up to October 2026. Service numbers change. If something does not connect, check the institution's official account.

A complete guide to the Indonesian NIK

Updated 14 October 2026

Everything you need to know about the Nomor Induk Kependudukan: what it is, how the digits are structured, what can and cannot be read from it, and how to keep it from being misused. About eight minutes of reading.

Quick facts

  • How many digits? 16 digits, no letters, no spaces.
  • Structure: 6-digit region code, 6-digit birth date (DDMMYY), 4-digit serial number.
  • Women: the day of birth has 40 added, giving 41 to 71.
  • Validity: for life; it does not change when you move, marry, or replace your card.
  • Not in the NIK: name, address, photo, marital status, religion.

What a NIK is and how many digits it has

NIK stands for Nomor Induk Kependudukan, the single, unique identity number attached to every person registered as a resident of Indonesia. Its legal basis is Law No. 23 of 2006 on Population Administration, amended by Law No. 24 of 2013. The number is issued by the civil registry office (Dukcapil) through the Ministry of Home Affairs' SIAK system.

Three properties matter most:

  • Issued once, valid for life. Moving, marrying, replacing the card, or losing it: the NIK stays the same.
  • Assigned at birth. A baby receives a NIK when the birth is registered on the family card and birth certificate, long before the ID card is issued at 17.
  • One person, one NIK. Electronic ID enrolment with fingerprints and iris scans is used to find duplicate NIKs, after which one is deactivated.

How many digits?

Always 16 digits, no letters, no spaces. A number with more or fewer digits is not a NIK, or was mistyped. Do not confuse it with numbers often requested alongside it: the student number NISN has 10 digits, the family card number (KK) has 16 digits but different values, and the tax number NPWP now uses the same 16 digits as the NIK.

A little history: nationwide single numbering followed the 2006 law. Electronic ID cards (KTP-el) were enrolled en masse from 2011, and since 2013 they are valid for life. The digital version, the IKD app, was introduced in 2022.

The 16-digit structure

A NIK is not a random string. Its sixteen digits fall into three segments with the same pattern for everyone, as set out in the implementing regulation of the population law (Government Regulation No. 37 of 2007).

12 71 18Codes for the province, regency or city, and district where you were registered when the NIK was issued. They follow the Ministry of Home Affairs region codes.
23 08 84Day, month, and two-digit year of birth. For women, 40 is added to the day.
0005Issuance serial number, starting at 0001.
  1. First six digits: region

    Two digits for the province, two for the regency or city, two for the district. Regencies are numbered 01 to 69 and cities from 71, so the middle pair alone tells you city or regency. The code marks where the NIK was created, not where the person lives now. For a baby it is usually the parents' address on the family card.
  2. Middle six digits: birth date

    The format is DDMMYY. If the day is above 40, the holder is a woman and the real day is that number minus 40. Example: 63 means the 23rd, female. The year is written with two digits only.
  3. Last four digits: the meaning of the final numbers

    This serial distinguishes people born on the same date and registered in the same district. The first person gets 0001, the next 0002, and so on. Large serials, say 0100 and above, are rare.

Reading a NIK: where and when someone was born

A NIK tells you two things: the region where it was issued (usually where the parents lived at birth, not necessarily the birthplace), and the date of birth. Take the example above, 1271182308840005, segment by segment:

  1. 12 is Sumatera Utara (North Sumatra).
  2. 71 within Sumatera Utara is Kota Medan. The number 71 immediately tells you it is a city, not a regency.
  3. 18 within Kota Medan is the district of Medan Perjuangan.
  4. 23 is below 40, so the holder is male and was born on the 23rd.
  5. 08 is August, and 84 is read as 1984.
  6. 0005 means he was the fifth person registered in Medan Perjuangan with the birth date 23 August 1984.

Now a female example: 3275014505920012. The region segment is 32 (Jawa Barat), 75 (Kota Bekasi), 01 (Bekasi Timur). The day segment is 45, above 40, so female, and the real day is 45 minus 40, which is 5. Month 05 is May, year 92 reads as 1992. The serial is 0012. Conclusion: female, born 5 May 1992, registered in Bekasi Timur, Kota Bekasi. Paste that number into the boxes above and compare.

Male and female NIKs: the difference

The only difference is in the two day-of-birth digits (digits 7 and 8). On a man's NIK the digits are the day as is, 01 to 31. On a woman's NIK, 40 is added, giving 41 to 71. The six region digits, month, year, and serial are not gendered.

Day of birthMaleFemale
10141
90949
232363
313171

The rule is simple: if the number is above 40, the holder is female and the real day is that number minus 40. Values 32 to 40 never appear in a valid NIK.

Cases that often confuse people

Why do women's NIKs add 40?

It is not an error. Dukcapil adds 40 to a woman's day of birth so that gender is encoded in the number without an extra digit. The range is 41 to 71, meaning days 1 to 31.

The year has only two digits

84 could mean 1984 or 2084, and 05 could mean 1905 or 2005. This tool guesses with a simple rule: if the 20xx year has not passed the current year, it reads 20xx; otherwise 19xx. The guess is wrong only for people over a hundred years old.

Regions that have since been split

The region code in a NIK is the code at the time of issue. When an area is split, the new area gets a new code, but old NIKs are not changed. The biggest example: in 2022 Papua was split into several new provinces with codes 93 to 96. People whose NIKs were issued before that still carry 91 or 92, and their regency code may no longer be in the current list. This tool marks that as "unknown", even though the NIK is valid.

The address on the card differs from the NIK region

Normal. Once you move and get a new card, the address is updated but the NIK stays, old region code included. The NIK region is history, not the current address.

The NIK is rejected as unregistered during verification

Banks, mobile operators, or apps sometimes reject a valid NIK. Common causes are data not yet consolidated centrally, a spelling or date mismatch with the Dukcapil database, or the NIK being caught in a data clean-up. The fix is a visit to the local Dukcapil office with the family card, or one of the official channels above.

Newborns and children

A NIK is assigned when the birth is registered: once the birth certificate is issued and the baby is added to the family card, the NIK exists, with the region code of the parents' registration. Children under 17 can get a child identity card (KIA) carrying the same NIK. The electronic ID card is issued at 17 or upon marriage, and the NIK does not change. When a school asks for a child's NIK, look at the NIK column in that child's row on the family card. The NIK is not the NISN: the NISN is a 10-digit student number for education records, while the NIK is the 16-digit civil registry number.

Twins

Twins never share a NIK. Born on the same date and registered in the same district, same-sex twins share the first twelve digits, because the region and birth date are the same. For boy-girl twins even the day digits differ, since 40 is added to the girl's day. What separates them is the last four digits, the serial: for example 0001 and 0002.

Foreign nationals

Foreigners holding a permanent stay permit (KITAP) also receive a NIK and an electronic ID card with the same 16-digit structure. The difference is that their card has an expiry date tied to the permit rather than being valid for life.

Duplicate NIKs

This happened to people who registered in two regions before electronic enrolment. The biometric system finds the duplicate and deactivates one NIK. If you ever held two ID cards, make sure the active NIK is the one on your current family card.

How to find your own NIK

Lost your ID card, or never had one? Your NIK appears on other documents, because the number is the same everywhere.

  • Family card (KK). There is a NIK column next to every family member's name. This is the fastest way.
  • Birth certificate and KIA. Newer certificates and the child identity card show the NIK.
  • IKD app. If you have activated it, your ID data including the NIK shows on your phone.
  • Dukcapil. Call Halo Dukcapil 1500-537 or use the official WhatsApp with your full name and family card number. If every document is lost, visit the local Dukcapil office.

What is not possible: looking up a NIK from a name or birth date alone. No public service does that, and any site offering it should be treated with suspicion.

Which phone numbers are registered under my NIK?

Each operator keeps a list of prepaid numbers registered with your NIK, up to three per operator. Operators are required to provide a number-check facility; the check is made from the operator's own number, for example SMS INFO#NIK to 4444 for Indosat or *123*4444# for XL. The full list per operator is in the official channels section above. If a number is not yours, ask the operator to remove it.

Can a NIK be checked online?

Confirming that a NIK is registered is only possible through Dukcapil, whether via the IKD app, WhatsApp, SMS, phone, or its official accounts. The tool on this page reads the meaning of the digits, not the registration status.

What the NIK is used for

The NIK has become the primary key for almost every service that needs to know who you are:

  • Tax. For resident individuals, the NIK serves as the tax number (NPWP) once matched; tax services have used it since 1 July 2024. Company NPWPs use a different 16-digit form, the old 15-digit number with a 0 in front. The NPWP converter tells the two apart.
  • Prepaid SIM cards. Until mid-2026, registration used the NIK and family card number, up to three numbers per operator. Since 1 July 2026 new subscribers are verified with facial biometrics; existing numbers stay recorded under the NIK.
  • National health insurance (BPJS Kesehatan). The NIK is used as the participant number.
  • Banks, e-wallets, and lenders. Identity verification (KYC) always asks for the NIK, often with a photo of the card and a selfie.
  • Social assistance. Beneficiary data is keyed to the NIK.
  • Elections. Voter rolls are built from NIKs.
  • School, driving licence, passport, employment. School enrolment, licence and passport applications, and HR administration all reference the NIK.

Real or fake NIK: what you can and cannot check yourself

Two different questions are often mixed up. First, does the digit structure make sense? Second, is the number actually registered to the person claiming it? The first you can check yourself in seconds; the second can only be answered by Dukcapil.

Signs of a made-up NIK

  • Not 16 digits, or contains letters.
  • A province code that is not in the list (for example starting with 00, 10, or 99).
  • Day digits 32 to 40, or above 71. A month above 12. A date that does not exist, such as 31 February.
  • Serial number 0000.

The tool above checks all of these. If a number passes, the stamp says "format OK". That does not mean genuine: a carefully invented NIK still passes a format check.

Confirming that a NIK is registered

Match the NIK, name, and birth date through Dukcapil: the IKD app, WhatsApp 0813-2691-2479, phone 1500-537, or its official accounts. For tax purposes, the DJP portal validates a NIK against population data during NPWP matching. Any site or person claiming to confirm authenticity from the digits alone cannot be trusted.

What cannot be read from a NIK

  • Name, full address, mother's name, and photo. These exist only in the Dukcapil database, not in the digits. Any site claiming to show a name from a NIK alone deserves suspicion.
  • Authenticity. A number with the right structure is readable even if it was never issued. Confirming registration is only possible through Dukcapil.
  • Current residence. The region code is where the NIK was first created.
  • Place of birth. The region code is the place of registration, which is often but not always the birthplace.
  • Blood type, religion, marital status, occupation, nationality. Printed on the card, but not stored in the NIK.

Age, weekday, and weton

Once the birth date is read, three more things can be computed. Age is counted from the birth date to today according to your device's clock, in years, months, and days. Weekday follows the ordinary Gregorian calendar.

Weton combines the seven-day week with the five-day Javanese market cycle (pasaran: Legi, Pahing, Pon, Wage, Kliwon). Both cycles run continuously, so each combination repeats every 35 days. Each day and each pasaran has a value called neptu, and their sum is the weton's neptu.

DayNeptuPasaranNeptu
Sunday5Legi5
Monday4Pahing9
Tuesday3Pon7
Wednesday7Wage4
Thursday8Kliwon8
Friday6
Saturday9

This tool computes the pasaran from the reference date 17 August 1945, a Friday Legi, and runs the five-day cycle forward or backward. The example above, 23 August 1984, falls on Thursday Pahing with neptu 8 + 9 = 17. Weton is part of Javanese tradition; this tool only calculates, it does not interpret.

Making a sample KTP from a NIK

The card above holds only what the NIK stores. If you need a full sample card with a name, address, religion, occupation, and even a photo, for example for a design mockup, app testing, or teaching, use the Sample KTP page. The NIK you typed here comes along. There, the fields read from the NIK stay locked, the whole card is covered by the watermark "Sample only, NOT a real KTP", the signature reads Sample, and the result downloads as PNG, JPG, WebP, or PDF at real card size.

A column of NIKs in Excel?

For a column of NIKs in Excel or Google Sheets, the Excel formulas for birth date from a NIK, gender, age, and region code are on the bulk NIK page, together with how to stop Excel turning a NIK into 1.27E+15. The same page reads hundreds of NIKs at once without formulas.

Protecting a NIK from misuse

A NIK is not strictly secret. It is printed on many documents, requested by many services, and has leaked in several large data breaches. The danger is when the NIK is combined with other data: the family card number, mother's maiden name, a photo of the ID card, and a selfie. That bundle is what opens bank accounts, takes out online loans, or hijacks phone numbers.

  1. Do not post photos of your ID card on social media or in chat groups. If a service requires one, add a watermark with the service name and date, and send it only through the official channel.
  2. Treat your family card number and mother's maiden name like passwords. Both are used as security questions in many places.
  3. Never share a one-time code, whatever the reason. Genuine staff never ask for it.
  4. Check your credit history in OJK's SLIK regularly. It is free, and the only way to be sure there is no loan in your name.
  5. Activate the IKD app so your ID data is visible on your phone and changes can be monitored.
  6. If misuse has already happened: get the SLIK evidence, report to OJK and the police, then ask the provider to block the account that is not yours. The official channels are in the section above.

Common misconceptions

  • "You can get a name and address from a NIK." You cannot. Only Dukcapil and the institutions working with it hold that data.
  • "The last four digits are random." They are an issuance serial, starting at 0001.
  • "The NIK region code is the current address." It is where the NIK was issued. The current address is on the card, not in the NIK.
  • "The NIK changes when you move or replace the card." The NIK is valid for life and never replaced.
  • "The NIK and the family card number are the same thing." Different. The NIK belongs to a person; the KK number belongs to a family. The structures are similar, the digits differ.
  • "NIK checker sites can confirm authenticity." Any site, including this one, can only read the digit structure. Authenticity can only be confirmed by Dukcapil.
  • "A woman's NIK is misprinted because the day is 45." That is the add-40 rule for women, not an error.

Frequently asked questions

Can I see the holder's name from a NIK?

No. Name, address, mother's name, and photo are not stored in the digits. That data exists only in the Dukcapil database. This tool reads the meaning of each segment, so the other rows on the card stay blank.

Is the NIK I type stored?

No. The reading happens entirely in your browser. This page does not send the NIK to any server and does not store it on your device. If you continue to the Sample KTP page, the NIK is carried over in the same tab and deleted right away.

How do I check whether a NIK is registered?

Only Dukcapil can confirm that. Call Halo Dukcapil 1500-537, WhatsApp 0813-2691-2479, SMS Cek#KTP#NIK to 0815-3636-9999, or message the official @ccdukcapil account. The full list is in the official channels section on this page.

Why is the day in my NIK above 31?

For women, 40 is added to the day of birth. So 41 to 71 means days 1 to 31 and a female holder.

Can the card be downloaded?

Yes, as PNG, JPG, WebP, or a PDF at the print size of 85.6 x 54 mm. The card holds what can be read from the NIK and is always covered by a dense watermark reading "Sample only, NOT a real KTP". For a sample card with a name, address, and photo, use the Sample KTP page. The file name does not contain the NIK.

What does the "format OK" stamp mean?

The 16-digit structure makes sense: the region code is in the list, the date exists, and the serial is not 0000. It is not evidence that the NIK is registered, active, or belongs to a particular person. Only Dukcapil can confirm authenticity. The stamp appears on the page only, not in the downloaded image.

Why is the result shaped like an ID card?

So it is easy to compare with the card in your hand. Only rows stored in the NIK are filled in; the rest are dashed because that data is not in the NIK. For a full sample card with a name and photo, for example for a mockup, use the Sample KTP page.

How are age and weton computed?

Age is counted from the birth date in the NIK to today according to your device clock, in full years, months, and days. Weton uses the five-day pasaran cycle counted from 17 August 1945, a Friday Legi. Neptu is the sum of the day and pasaran values.

Is the NIK on the ID card the same as the one on the family card?

Yes. The NIK belongs to the person, so the number on your ID card is the same as the one in your row on the family card (KK). The number that differs is the KK number at the top of the card, which belongs to the family.

Why does the region in my NIK differ from my current address?

The region code marks where the NIK was first issued. The NIK does not change when you move, so the code stays.

Why is my region code not found?

The list used is the latest Ministry of Home Affairs code list. Older NIKs from regions that were later split or recoded may not match. That is not a sign of a fake NIK.

How is the two-digit year read?

The year is written with two digits, for example 84. If that year in the 2000s has not passed yet, the tool reads it as 20xx; otherwise as 19xx. For people over 100, the guess can be wrong.

Other tools