National ID Validator

Validate an Iranian National ID (کد ملی) checksum.

Runs entirely in your browser
Valid National ID
Normalized
0499370899

Checksum verification only — this cannot confirm a National ID belongs to a real person. Never store or transmit National IDs alongside other personal data without proper authorization.

FAQ

Which patterns get rejected up front?
All-same-digit values like 1111111111 fail the checksum by construction and are rejected before the arithmetic runs.
Does a valid checksum mean the ID is real?
No. It only means the last digit is consistent with the other nine — a common typo would be caught, but a fabricated checksum-correct ID would pass.
Should I store National IDs?
Only when you have a legitimate reason. Treat them as sensitive personal data — never log them, encrypt at rest, and combine with your identity-verification policy.

Related tools