# Detect tampered and deepfake KTP (Indonesian e-ID)

> The KTP, since 2011 the electronic e-KTP, is Indonesia's compulsory identity card, issued by the civil registry (Dukcapil) to citizens aged seventeen or married, and it is the identity anchor for banking, driving licences, and every government service. Its sixteen-digit NIK encodes the holder's registration area and birth date, so fabricated cards fail their own numbers, and the lifetime-validity rule for adults anchors the date checks.

**Canonical URL:** https://tampercheck.ai/documents-support/ktp
**API document class:** `ktp`

---

## What a genuine KTP contains

The NIK runs sixteen digits: the first six encode province, regency, and district of registration, the next six encode the birth date with forty added to the day for female holders, and the final four are a serial. The card adds photograph, name, birthplace and date, gender, address, religion, marital status, occupation, and the validity line.

Adults' cards print SEUMUR HIDUP, lifetime validity, while minors' cards carry an expiry, and the e-KTP embeds a chip and holographic printing that paper forgeries lack. Because the NIK's birth-date encoding is deterministic, a card whose encoded birth date contradicts its printed one was assembled rather than issued.

## How KTP forgeries are made

### NIK birth-date decode

Digits seven through twelve encode day, month, and year, with forty added to the day for women. Decoding them and comparing against the printed birth date catches assembled cards at the number level.

### Area-code coherence

The first six digits encode the registration area. A code naming a province that contradicts the printed birthplace or address is an internal inconsistency forgers rarely reconcile.

### Validity rules

Adults' cards print SEUMUR HIDUP, lifetime validity, while cards for minors carry an expiry. A lifetime card for a holder shown as a minor, or an expiry on an adult card, contradicts the issuing rules.

### Photo and data patching

Substituted portraits or edited data lines leave cut-line edges, font passes, and sharpening halos. Because e-KTP printing is uniform, localised anomalies stand out sharply.

### Security-feature presence

The chip contact and holographic elements are part of the issued design. Flat-printed imitations that simulate them photographically are the common blanko-style forgery.

## What TamperCheck checks on a KTP

TamperCheck runs 200+ forensic checks across three layers and returns a risk score from 0 to 100 with plain-English findings tied to specific regions of the document. These three carry the most weight on this document class.

### Portrait substitution and face-swap analysis

The document is isolated from whatever it was photographed on, then the portrait region is assessed against the card surface around it. A pasted or generated face rarely matches the substrate it was placed onto.

### Security print, foil, and hologram analysis

A genuine security overlay or guilloche background behaves differently from a printed picture of one. A reproduction loses the structure that made the feature a security feature in the first place, and that loss is measurable even when the copy looks convincing on screen.

### Field-level forensics

Every text region is analysed in its own right rather than as part of one whole-page image. This catches the smoothed and feathered edits that whole-image Error Level Analysis misses entirely.

### And many more checks

The three above are the layers that carry the most weight on a KTP. Every upload runs the full suite of 200+ checks regardless of document class, spanning file structure and metadata, pixel-level forensics, font and text rendering, optical and print characteristics, provenance signals, AI-generation signatures, and many more checks.

## Who verifies a KTP, and why

Indonesian banks, eKYC platforms, and telcos. In each case the document is being used to unlock money, access, or a legal status, which is exactly what makes it worth forging.

## How to verify a KTP in 4 steps

1. **Photograph both sides.** Capture the card flat at full resolution so the NIK, printed birth date, and security features survive close analysis.
2. **Decode the NIK.** Split the sixteen digits into area code, encoded birth date, and serial, then compare the encoded date against the printed one, remembering the plus-forty rule for women.
3. **Weigh validity and area.** Check the validity line against the holder's age, and the area code against the printed address and birthplace.
4. **Run a forensic check on the file.** The NIK carries the structural story, and the print carries the edit history. TamperCheck runs 200+ forensic checks including NIK decoding and patch detection, returning a risk score from 0 to 100 with findings tied to specific regions of the image.

## Frequently asked questions

### What does the NIK number on a KTP encode?

Sixteen digits: registration area, an encoded birth date with forty added to the day for female holders, and a serial. The encoding is deterministic, so a card whose number contradicts its printed birth date was assembled rather than issued.

### Do KTP cards expire?

Cards for adults print SEUMUR HIDUP, meaning lifetime validity, while cards issued to minors carry an expiry until the holder comes of age. Validity that contradicts the holder's shown age is a structural red flag.

### Why do some KTPs lack a chip?

The electronic e-KTP issued since 2011 embeds a chip, and very old or counterfeit cards may not. A card claiming current issue without the chip contact and holographic printing is worth escalating rather than excusing.

### How does TamperCheck verify a KTP?

TamperCheck decodes the NIK and compares it against the printed fields, checks area codes against the address story, and inspects the portrait region for patching. Uploads run through a single REST endpoint, are processed ephemerally and not stored, and findings tie to specific regions.

## Related document types

- TamperCheck Forensic Report: https://tampercheck.ai/documents-support/forensic_analysis_report
- Unknown: https://tampercheck.ai/documents-support/unknown

---

Try TamperCheck now: https://tampercheck.ai/dashboard · Docs: https://tampercheck.ai/docs · Pricing: https://tampercheck.ai/pricing
