Datatypes

Iranian national identification number (code melli)

ID ir_melli_code

DatatypePersonal data (PII)identifierDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Ten-digit national identification number (code melli) printed on the Iranian national identity card and written as XXX-XXXXXX-X. Validators such as validator.js treat the last digit as a modulo 11 check digit over the first nine; no official description of the algorithm was found, so the record sets no checksum.

Categories
Personally identifiable information, Person related
Countries
Iran
Languages
Persian
W3C DPV
pd:OfficialID
Quality
75/100 · missing: examples, negative example, translation
Metacrafter rules
no detection rule yet
Supported by tools
validator.js

Regular expression

^[0-9]{3}-?[0-9]{6}-?[0-9]$

Python re syntax.

Sources

Use this record