ChinaResident Identity Number
Also known as: 居民身份证 · Jūmín Shēnfènzhèng
Specification
Format
This number has no simple display mask — its structure is defined by validation rules. See the references below for details.
- Length
- 18 characters
- Checksum
- Yes
Check digits are recomputed and verified.
- Embedded data
- Yes
A valid number encodes details such as birth date, gender, or region. The validator extracts them locally in your browser.
Sample test value
071003161710048368This value was randomly generated to satisfy the format and check-digit rules. It is not a real ID and does not belong to any person.
Ready to check a number?
Validate a China Resident Identity Number now — it runs in your browser and the number never leaves your device.
Try it in the validatorValidation rules for China come from the open-source idnumbers library. Report a format issue on GitHub