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

相关问答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.

Further reading

觉得好用?Found it useful?