China Foreigner Permanent Residence ID Number Validator (外国人永久居留身份证)
Enter one or more permanent resident ID numbers to check the format, the first digit 9 and the check digit, and to tell new cards from old ones.
在您的浏览器中运行。您的文件不会离开设备。 了解如何验证
…
使用方法
- 1输入号码
输入一个或多个数字,每行一个.
- 2检查
检查一下.
- 3阅读结果
查看格式,卡类型和检索数字.
- 4纠正错误
检查预期的数字,并重新检查卡上的号码.
关于此工具
Foreigners with permanent residence in China hold the Foreign Permanent Resident ID Card, often called the Chinese green card. Since 1 December 2023, the National Immigration Administration has issued a new version whose number follows the structure of the citizen identity number: 18 characters, 17 digits and a check character, calculated by the same MOD 11-2 method as Chinese ID numbers. The first digit is always 9, which marks the holder as a foreigner and distinguishes the number from citizens' ID numbers, which start with 1 to 8. The number also encodes the nationality and the place of application, and it stays the same for life. Older cards had 15 characters: three Latin letters for the country followed by twelve digits. Old cards remain valid until they expire. This validator checks both formats so that hotels, banks, employers and online systems can catch typing mistakes.
Who this is for
Permanent residents filling in forms, HR staff, hotel and bank front desks, developers adapting systems to accept the new number, and anyone checking a number before submitting it.
The new 18-digit number
- Length: 18 characters. - First digit: 9, the foreigner identification code. - Characters 2 to 17: digits encoding nationality, place of application and other information. - Last character: a check character from 0 to 9 or X, calculated with MOD 11-2 as in GB 11643.
The tool checks the length, the first digit and the check character. It does not decode the nationality or place, because the detailed position table is not published in a form we can verify.
The old 15-character number
Old cards have three letters for the country, such as USA or GBR, followed by twelve digits. They do not have a check digit, so only the format can be checked.
Holding both
People who replace an old card receive a new number, and the new card shows the old 15-character number as well. Systems should accept both while old cards remain valid.
Why systems reject numbers
Many online systems used to accept only citizen ID numbers. A system that checks the first digit against province codes may reject a number starting with 9. The National Immigration Administration asked service providers to adapt; if a system still refuses, contact its operator.
Worked example
911000199001011235 is 18 digits, starts with 9, and its check digit is 5, so it passes. Changing the last digit to 6 makes it fail. USA110090010501 matches the old format.
For developers
A form that accepts Chinese ID numbers can accept the new permanent residence number by allowing a first digit of 9 and skipping the province and birth date checks for it, while keeping the same check digit routine. Store the number as text, not as a number, so that a final X is not lost. Accept the old 15-character format during the transition, and allow both numbers to be linked to one person.
Limits
A format check, not an official verification of a card or its holder.
计算示例
911000199001011235: 18个数字,以9开始,检查数字5正确.
要点
- 分类: 法律与政务
- 在浏览器中运行,无需注册,无需上传。
- 您输入的信息保留在设备上。
- 提供英文版。
- 内容最后审核日期:
- 官方来源: National Immigration Administration announcement on the new Foreign Permanent Resident ID Card (2023) and GB 11643 check digit
常见问题
第一个数字9是什么意思?
It marks the number as a foreigner's permanent residence ID.
检查数字是如何计算的?
With the MOD 11-2 method used for Chinese ID numbers.
旧的15字符卡还有效吗?
是的,直到它到期;持有人可以申请新的卡.
能否从这个号码中找出国籍?
编码号码是密码的,但这个工具无法解码.
否则,我们将会被迫接受.
只有官方证实才能做到这一点.
它们是否存储?
不,检查在你的浏览器中运行.
