Skip to content

ChinaResident Identity Number

Also known as居民身份证 · Jūmín Shēnfènzhèng

ISO codes
CHN / CN
Region
Asia
Length
18 characters
Checksum
Yes

Character map

Each cell is one character of the sample test value; separators are shown as-is.

Sample test value

071003161710048368

This value was randomly generated to pass this country's validation rules. It is not a real ID and does not belong to any person.

(01)Country reference

Specification

Format
  • #################X
  • # — any digit
  • X — any letter or digit

Documented field layout: AAAAAAYYYYMMDDSSSC

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.

Check a China number now.

Validate a China Resident Identity Number now — it runs in your browser and the number never leaves your device.

Try it in the validator

Validation rules for China come from the open-source idnumbers library. Report a format issue on GitHub