xDataIDAbout
EN, choose language

About xDataID

xDataID is a set of small tools for understanding Indonesian population data: the NIK, the family card (KK) number, and administrative region codes. Every tool reads the structure of the digits in your browser. Nothing here represents or is connected to Dukcapil, the Ministry of Home Affairs, or any government body.

Content principles

  • Sources. Since 24 October 2026, anything we write or change rests on documents opened directly, such as the text of a regulation, an agency's page, or a news report we cite. When a sentence rests on a specific provision, its article number is given; when the official text cannot be opened, the copy or agency explanation used is named on that page. Our summaries do not claim more than their sources. Older pages that do not yet meet this rule are fixed as we find them.
  • Corrections. Confirmed factual errors are fixed, and from November 2026 every correction is recorded under Contact and corrections.

Privacy

  • The numbers you type are not sent to a server. Reading a NIK or KK number, searching region codes, generating test numbers, and exporting images all run as JavaScript in your browser. The code can be inspected with your browser's view source.
  • No account, no cookies, and numbers are not stored. Closing the page discards everything you typed. Files you download are saved only on your device, with file names that do not contain identity numbers.
  • Network requests that do happen: loading this site's pages, fonts, and files from this site's own domain, plus one Cloudflare Web Analytics statistics script from static.cloudflareinsights.com. There are no requests to Google Fonts or ad networks, and no request carries the numbers you type.
  • Visit statistics. This site uses Cloudflare Web Analytics, which sets no cookies and stores nothing on your device. It records only visits per page, the referring site, country, device type, browser, operating system, and page speed. It never contains the numbers you type.

Data sources and updates

  • Region codes: Minister of Home Affairs Decree No. 300.2.2-2430 of 2025 (amending Decree No. 300.2.2-2138 of 2025 on assigning and updating administrative region and island codes), via the open dataset cahyadsn/wilayah (MIT licence), file db/wilayah.sql at commit 7586f42 (8 October 2026), retrieved 13 October 2026 and converted into a list of 38 provinces, 514 regencies/cities, and 7,285 districts by the extraction script shipped with this site's source code. Village codes are not used.
  • NIK structure: Government Regulation No. 40 of 2019, Article 31, which implements Law No. 23 of 2006 on Population Administration as amended (Law No. 24 of 2013). The text was read from the copy published by the Batam City civil registry office, because peraturan.go.id could not be opened when it was checked (November 2026).
  • KK number structure: the explanation published by the civil registry office of Klaten Regency (March 2026, in Indonesian).
  • NIP structure: BKN Head Regulations No. 22 of 2007 on civil servant identity numbers and No. 43 of 2007 on the procedure; PPPK numbers under BKN Regulation No. 1 of 2019, Article 29(5). Retirement ages and dates under Government Regulation 11/2017, BKN Regulation 3/2020, and Law 11/1969, checked October 2026. The NIP tool only reads the structure of the number and is not connected to BKN.
  • NPWP format: Minister of Finance Regulation PMK 112/PMK.03/2022 as amended by PMK 136 of 2023, tax directorate press release SP-21/2024, and published explanations of the 15-digit format. The NPWP tool only reads the structure of the number and is not connected to the tax directorate.
  • Historical codes. NIKs issued before a region was split carry old codes that may not be in this list. The tools mark those as "not in the list", not as "fake".
  • Official service channels (Dukcapil, OJK, mobile operators) were compiled from official channels and news coverage, last checked October 2026. Service numbers change; check the institution's official account before use.
  • Sample KTP card: background map from Natural Earth (public domain), deliberately showing the Americas. The NIK is set in the OCR-A typeface (public domain) and the other fields in Arimo (SIL Open Font License), free stand-ins for the typefaces on the real card.
  • Weton is computed from the five-day pasaran cycle with 17 August 1945 (Friday Legi) as the reference, cross-checked against other commonly known dates.
  • Updates. The Updated date on tool and guide pages moves only when that page's content changes. Pages on things that change often (IKD, Perlinsos, DTSEN deciles, school-age rules, and region codes) are re-checked when we learn of a new regulation, data release, or official announcement.

Limits you should know

  • The tools read the structure of a number only. A "format OK" result is not evidence that the number is registered, active, or belongs to a particular person.
  • Names, addresses, photos, and registration status can only be confirmed by Dukcapil through official channels.
  • The downloadable card and sheet images are sample renderings, not documents. Names and other rows are filled in only when the user types them, and the photo frame on the KTP card always reads SAMPLE. Every image always carries a “Sample only” watermark, the signature reads Sample, and there is no state emblem. The KTP card also carries a background band reading “NOT A REAL ID CARD !” and a background map of the Americas.

Contact and corrections

Found a wrong region code, a dead link, or a mistaken explanation? Write to halo@xdataid.com, naming the page and the section. Never send your NIK, KK number, or a photo of your documents; they are not needed to fix this site.

From November 2026, every factual correction is recorded here; typos and display fixes are not. Between the site's launch and then, we corrected more than twenty factual errors. Those that matter most to readers are listed below, newest first.

  • 30 October 2026, KK number decoder and this page. The middle six and last four digits of a KK number are now explained as the Klaten Regency civil registry office describes them; before, we wrote that the serial was counted per day within the same district, without a source. On this page, the NIK and KK number structures shared one source, Law No. 23 of 2006 "and its implementing regulations". The NIK structure now cites Government Regulation No. 40 of 2019, Article 31, and the KK number structure cites the Klaten explanation, because we have not found a national regulation that spells it out.
  • 27 October 2026, KK number decoder and the Indonesian guide on moving. A KK number stays when the card is reprinted because members are added or removed, and changes when the head of the family changes; a member who starts their own KK gets a new number. Before, the decoder did not mention a change of head of family, and the guide said the number may change when the card is reissued.
  • 19 October 2026, NIK decoder, KK number decoder, and Sample KK. SIM card registration still uses the NIK, with face verification added; we had written that new subscribers are verified with facial biometrics "instead of NIK and KK". The WhatsApp and SMS numbers we listed as Dukcapil channels were removed, because they came only from news reports. Column headings and answer options on the Sample KK sheet that did not match the current official form were aligned with forms F-1.09 and F-1.01 in the annex to Minister of Home Affairs Regulation 6/2026.
  • 18 October 2026, NIK decoder. Lifetime validity of the e-KTP is now limited to citizens; a foreign resident's e-KTP follows their permanent stay permit.
  • 17 October 2026, after a content audit. On the NIK decoder, the NIK structure now cites Government Regulation No. 40 of 2019, Article 31, not Government Regulation No. 37 of 2007, which has been revoked, and a section heading that implied the NIK shows the place of birth was replaced; the region code in a NIK shows where it was registered. On the NIP decoder, a PPPK number ends with four digits for sex and serial, not three. On the NPWP 16-digit converter, the sentence saying the NIK automatically becomes the NPWP was removed. This page said there was no storage and "no requests to third parties"; both were replaced with accurate descriptions.