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.
Funziona nel tuo browser. I tuoi file non lasciano mai il dispositivo. Scopri come verificarlo
…
Come si usa
- 1Incolla il numero
Type or paste one ID number per line.
- 2Leggi il risultato
Controllare se la struttura e il carattere di controllo passano.
- 3Leggi i dettagli
Vedi la provincia, data di nascita, età e sesso.
- 4Risolvere i guasti
Utilizzare il carattere di controllo previsto per trovare l'errore.
- 5- Non dirlo a nessuno .
Do not post ID numbers publicly.
Informazioni su questo strumento
Il numero di carta d'identità da 18 cifre è costruito in modo fisso: sei cifre per il luogo di registrazione, otto cifre per la data di nascita, tre cifre per un numero di serie la cui ultima cifra mostra il sesso e un carattere di controllo calcolato con il metodo ISO 7064 MOD 11-2, che può essere X. Questo validatore verifica la lunghezza, il codice della provincia, la data e il carattere di verifica, converte vecchi numeri a 15 cifre e mostra la provincia, la date di nascita , l'età, il genere e il segno zodiacale.
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.
Esempio svolto
11010519491231002X passa: Pechino, nato il 31 dicembre 1949, cifra femminile, carattere X.
In breve
- Categoria: Legale e pubblica amministrazione
- Funziona nel browser, senza registrazione né caricamento.
- Le informazioni che inserisci restano sul tuo dispositivo.
- Disponibile in inglese.
- Contenuto rivisto l'ultima volta il:
- Fonte ufficiale: GB 11643-1999 (citizen identity number structure)
Domande frequenti
Come viene calcolato il carattere di controllo?
Con somme ponderate delle prime 17 cifre modulo 11, utilizzando i pesi 7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10,5, 8, 4, 2.
Cosa mostra la 17esima cifra?
Sesso: strano per il maschio, anche per la femmina.
Quali sono le prime sei cifre?
Il codice di divisione amministrativa del luogo della prima registrazione.
Un pass prova l'identita'?
No, mostra solo che il numero e' ben formato.
Accetta numeri a 15 cifre?
Si', li converte in 18 cifre.
I miei dati sono archiviati?
No, rimane nel tuo browser.
