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.

Se ejecuta en tu navegador. Tus archivos nunca salen de tu dispositivo. Cómo comprobarlo

…

Cómo hacerlo

  1. 1
    Pegar el número

    Type or paste one ID number per line.

  2. 2
    Lee el resultado.

    Compruebe si la estructura y el carácter de verificación pasan.

  3. 3
    Lea los detalles

    Ver la provincia, fecha de nacimiento, edad y sexo.

  4. 4
    Solucionar fallos

    Utilice el carácter de verificación esperado para encontrar el error.

  5. 5
    Mantenga esto en privado .

    Do not post ID numbers publicly.

Sobre esta herramienta

El número de tarjeta de identidad residente de 18 dígitos en China está construido de manera fija: seis dígitos para el lugar de registro, ocho dígitos por la fecha de nacimiento, tres dígitos de un número de serie cuyo último dígito muestra género y un carácter de verificación calculado con el método ISO 7064 MOD 11-2, que puede ser X. Este validador verifica la longitud, el código de provincia, la fecha y el carácter de vericación, convierte números viejos de 15 dígitos y muestra la provincia, la fecha de nacimiento , la edad, el sexo y el signo zodiacal.

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.

Ejemplo práctico

11010519491231002X pasa: Beijing, nacido el 31 de diciembre de 1949, dígito femenino, caracter X.

Datos rápidos

Preguntas frecuentes

¿Cómo se calcula el carácter de verificación?

Con las sumas ponderadas de los primeros 17 dígitos módulo 11, utilizando los pesos 7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10,5,8,4,2.

¿Qué muestra el 17o dígito?

Sexo: extraño para el hombre, incluso para la mujer.

¿Cuáles son los primeros seis dígitos?

El código de división administrativa del lugar de primera inscripción.

¿Un pase prueba su identidad?

No, sólo muestra que el número está bien formado.

¿Acepta números de 15 dígitos?

Sí, las convierte a 18 dígitos.

¿Se almacenan mis datos?

No, se queda en tu navegador.

Totalmente gratisSin coste, sin registro
Tus archivos son privadosTodo se ejecuta en tu navegador
Fácil en tu idiomaDisponible en muchos idiomas