Thailand National ID Validator

Validate a 13-digit Thai National ID with its official mod-11 check digit.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Thailand National ID validator

This tool validates a 13-digit Thai National ID (เลขประจำตัวประชาชน) using the official mod-11 check-digit algorithm, and decodes the structural fields embedded in the number. It is for HR and KYC checks, form validation, and anyone confirming a typed ID is internally consistent.

How it works

The ID is 13 digits. The first 12 carry the data and the 13th is a mod-11 check digit. The tool computes it by multiplying digit i (1-indexed) by weight (14 − i) — that is weights 13, 12, … down to 2 — summing the products, then:

check = (11 − (sum mod 11)) mod 10

The number is valid only when this matches the 13th digit. It also reads the structural fields:

DigitsMeaning
1Person type (citizen category / residency)
2–3Province code of registration
4–5District (amphoe) code
6–12Registration and sequential numbers
13Check digit

Example

For 1101700230708, the weighted sum of the first 12 digits is 146; 146 mod 11 = 3, so check = (11 − 3) mod 10 = 8, which matches the 13th digit — the ID passes. The tool runs this exact calculation on whatever you enter and reports a match or mismatch, along with the person type (here digit 1 = Thai citizen registered after 1984) and the province/district codes.

It is privacy-first: the validator checks the number’s internal consistency only and never queries any government database — nothing leaves your browser.

Ad placeholder (rectangle)