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.

Działa w Twojej przeglądarce. Twoje pliki nigdy nie opuszczają urządzenia. Zobacz, jak to sprawdzić

…

Jak to zrobić

  1. 1
    Wprowadź numer

    Wpisz jeden lub więcej numerów, po jednym na wiersz.

  2. 2
    Sprawdź

    Sprawdź.

  3. 3
    Przeczytaj wynik.

    Zobacz format, rodzaj karty i cyfry.

  4. 4
    Napraw błędy

    Porównajcie spodziewaną cyfrę i ponownie sprawdźcie numer na karcie.

O tym narzędziu

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.

Przykład z rozwiązaniem

911000199001011235: 18 cyfr, zaczyna się od 9, sprawdź czy cyfra 5 jest poprawna.

W skrócie

Najczęstsze pytania

Co oznacza pierwsza cyfra 9?

It marks the number as a foreigner's permanent residence ID.

Jak oblicza się cyfrę kontrolną?

With the MOD 11-2 method used for Chinese ID numbers.

Czy stara 15-sygnałowa karta jest nadal ważna?

Tak, do czasu wygaśnięcia; posiadacze mogą ubiegać się o nową kartę.

Czy mogę znaleźć narodowość z numeru?

Numer go szyfruje, ale to narzędzie nie może go odszyfrować.

Czy wynik potwierdza, że karta jest prawdziwa?

Tylko oficjalna weryfikacja może to zrobić.

Czy liczby są zapisane?

Sprawdzanie działa w przeglądarce.

Całkowicie za darmoBez opłat i rejestracji
Pliki zostają prywatneWszystko działa w Twojej przeglądarce
Łatwo w Twoim językuDostępne w wielu językach