Saudi Iqama & National ID validator
Validate a 10-digit Saudi national ID (رقم الهوية الوطنية) or Iqama (رقم الإقامة) number. The tool reads the leading digit — 1 for a Saudi citizen ID, 2 for a resident Iqama — and verifies the number with the official Saudi check-digit algorithm, a Luhn variant used by the Ministry of Interior and the Absher platform.
How it works
Both numbers share one 10-digit structure: digit 1 is the identity type, digits 2–9 are the individual serial, and digit 10 is the check digit. The check digit is computed over the first nine digits:
- For each digit in an odd position (1st, 3rd, 5th, 7th, 9th), double it; if the result is two digits, subtract 9 (equivalently sum the two digits).
- Take each even-position digit as-is.
- Sum all nine results.
- The expected check digit is
(10 − (sum mod 10)) mod 10.
The number is valid when that expected digit equals the actual 10th digit and the leading digit is 1 or 2.
Example
For 1012345674, doubling and reducing the odd positions, adding the even ones,
gives a running sum whose last digit produces an expected check of 4 —
matching the final digit, so the number is well-formed and flagged as a Saudi
citizen ID.
| Leading digit | Identity type |
|---|---|
| 1 | Saudi citizen (National ID / Hawiya) |
| 2 | Resident foreigner (Iqama) |
It is privacy-first — nothing leaves your browser. A passing check digit only means the number is mathematically well-formed; it does not prove the number is issued or active in any government system.