ID CARD CHECK
ID card, see through it.
Enter an 18-digit resident ID to validate the checksum and parse birth date, province and gender — handy before filling a form.
结果会显示在这里
Everything runs locally in your browser
What is this?
The first 6 digits are the region code, the next 8 are the birth date, the 17th digit is odd for male / even for female, and the last digit is a checksum of the first 17. This tool only validates format and checksum in your browser and keeps nothing.
示例与注意事项Example & notes
一个例子A worked example
输入 18 位身份证号:按加权因子算出校验位,同时解析出生日期、性别与地区码;有错会指出是哪一位不合法。Enter an 18-digit ID number: the check digit is recomputed, and birth date, sex and region code are parsed. An error names the offending digit.
注意事项Things to watch
- 校验位用的是 ISO 7064(MOD 11-2)加权算法,随便改一位数字必然对不上。The check digit follows ISO 7064 (MOD 11-2), so altering any digit breaks it.
- 前 6 位是行政区划代码,历史上撤并过的地区可能查不到对应地名。The first six digits are an administrative code; merged or retired regions may not resolve to a name.
- 号码只在本地解析、不上传;涉及实名业务请以官方核验接口为准。Numbers are parsed locally and never uploaded; for identity checks use an official verification service.
相关问答More Q&A
15 位的老身份证能校验吗?Can it validate the old 15-digit format?
可以,会先按规则升位到 18 位再校验,并说明补了哪些位。Yes — it upgrades to 18 digits by the standard rule and shows what was added.
校验通过就等于真身份证吗?Does passing the check prove the ID is real?
不等于。校验只能说明号码格式自洽,真实性必须由官方渠道核验。No. A valid checksum only means the number is internally consistent; authenticity needs official verification.