Iranian national ID validator
Check the control digit of a 10-digit Iranian national code, for form testing and data cleanup. The code never leaves your device.
- Fully offline
Loading…
Features
- Official control-digit algorithm
- Accepts Persian digits, spaces and dashes
- Detects dropped leading zeros
- Rejects repeated codes like 1111111111
- Works offline
Examples
Valid code
- Input
- 1234567891
- Output
- Valid
Wrong control digit
- Input
- 1234567890
- Output
- Invalid
FAQ
Does valid mean the code belongs to a real person?
No. It only means the control digit is correct. The tool is not connected to any database.
Why does my code have 9 digits?
Codes starting with zero often lose it in spreadsheets. The tool suggests the zero-padded version.
Is my code stored or sent?
No. The check runs entirely on your device.