China Resident ID Card Number Validator and Info Decoder (身份证)

Paste an ID number to see if its check character and date are valid and what the province, birth date and gender digit say.

在您的浏览器中运行。您的文件不会离开设备。 了解如何验证

…

使用方法

  1. 1
    贴上这个号码

    输入或粘贴一个ID号码每行.

  2. 2
    阅读结果

    检查结构和符号是否通过.

  3. 3
    阅读详情

    查看省份,出生日期,年龄和性别.

  4. 4
    修复故障

    使用预期的检查字符来找到错误.

  5. 5
    保持私密

    Do not post ID numbers publicly.

关于此工具

在中国,18位数的居民身份证编号是固定式构建的:注册地点为6位数,出生日期为8位数,最后一个数字显示性别的序列号为3位数,并使用ISO 7064 MOD 11-2方法计算的检查字符,可以是X.该验证器检查长度,省代码,日期和检查字母,转换旧15位数,显示省份,出生日,年龄,性别和生肖符号.它无法判断是否发出了数字或谁拥有它.

Who this is for

Developers who validate forms, HR and finance staff who catch typing errors, and students who study the number system.

The structure

Digits 1 to 6 are the administrative division code of the place of first registration: the first two digits are the province (11 Beijing, 31 Shanghai, 44 Guangdong and so on), the next two the city and the next two the county. Digits 7 to 14 are the date of birth as YYYYMMDD. Digits 15 to 17 are a serial number; the 17th digit is odd for males and even for females. The 18th character is the check character, a digit or X.

The check character

Multiply the first 17 digits by the weights 7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2 and add them. Take the sum modulo 11. The check character is taken from the sequence 1 0 X 9 8 7 6 5 4 3 2, indexed by that remainder. For 11010519491231002X, the sum gives remainder 2, which corresponds to X.

Old 15-digit numbers

Cards issued before 1999 had 15 digits, with a two-digit year. The tool converts them by inserting 19 before the year and calculating the check character, so you can compare them with the 18-digit form.

What the tool does

It removes spaces, converts a lowercase x to X, checks that the number has 18 characters with 17 digits and a digit or X, checks that the province code exists, checks that the date is real and not in the future, and checks the check character. For a valid number it shows the province, the birth date, the age, the gender, the zodiac and the check character. If a check fails, it explains why and shows the expected check character.

Worked example

11010519491231002X passes: Beijing, born 31 December 1949, the 17th digit is 0 so female, the sign is the Ox, and the check character is X. 110105194912310021 fails because the check character should be X. 11010519491331002X fails because 13 is not a month. A number of 15 digits is converted and checked.

Privacy

ID numbers are very sensitive. The check is done in your browser and nothing is sent anywhere. Do not share your ID number or photos of your card publicly.

Limits

Structure only. It does not verify identity and is not legal advice.

计算示例

11010519491231002X 通过:北京,1949年12月31日出生,女性数字,检查字符X.

要点

常见问题

检查字符是如何计算的?

通过权重7,9,10,5,8,4,2,1,6,3,7,9,10,5的第17个数字模块11的加权和,

第17个数字显示什么?

男人,甚至是女性都很奇怪.

首先的六位是什么?

首次登记地点的行政区分代码.

通过证明身份吗?

没有,这只表明这个数字是正确的.

它们是否接受15位数?

是的,它将它们转换为18位数.

我的数据是否存储?

不,它会留在你的浏览器中.

完全免费无费用,无需注册
文件保持私密一切都在您的浏览器中运行
用您的语言轻松使用提供多种语言