# Chinese ID Number Validator - Check Digit, Region, Birthday

> Validate Chinese ID numbers (GB 11643-1999): check digit, birth date, region, gender, age, zodiac; 15-to-18 upgrade; batch check with CSV. Runs locally.

- URL: https://qilingtools.com/en/id-card
- Category: Productivity (https://qilingtools.com/en/office)
- Tags: [Chinese](https://qilingtools.com/en/tags/chinese), [Everyday Life](https://qilingtools.com/en/tags/life), [Productivity](https://qilingtools.com/en/tags/office)
- Last updated: 2026-10-26
- Price: Free, no sign-up
- Privacy: Runs locally in the browser; files are never uploaded

Validate 18-digit Chinese resident ID numbers: check digit, date of birth and region code, plus the decoded birthday, gender, age, zodiac and issuing region. Also upgrades 15-digit numbers, computes a missing check digit and validates lists in bulk, all locally in your browser.

## How to use

1. Choose Validate one, Batch validate or Check digit
2. Type or paste the ID number (one per line in batch mode)
3. Read the result, region, birth date and gender — upgrade a 15-digit number or export the batch as CSV

## Features

- GB 11643-1999 check digit (ISO 7064 MOD 11-2)
- Birth date validity and future-date check
- Province and prefecture region lookup incl. some old codes
- Gender, age, Chinese zodiac, star sign
- 15- to 18-digit upgrade
- Check digit from 17 digits with working shown
- Batch validation, masking and CSV export
- Runs locally — nothing uploaded

## FAQ

### Why do some Chinese ID numbers end in X?

The last character is a check digit. 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, add them up and take the remainder modulo 11; remainders 0–10 map to 1 0 X 9 8 7 6 5 4 3 2. A check value of 10 is written as the Roman numeral X, so X is valid and can be typed in either case.

### Does passing the check mean the ID is genuine?

No. It only shows the number follows the encoding rules — check digit, date and region code. It cannot tell whether the number was actually issued or who it belongs to. Identity verification has to go through the police or a licensed real-name verification service.

### Is the region where the person lives now?

No. The first six digits are the administrative code of the place where the ID was first issued, and they never change when someone moves or when divisions are reorganised, so the region may be an old or renamed one. This tool covers provinces and prefecture-level cities, not counties.

### How is a 15-digit ID upgraded to 18 digits?

15-digit numbers were issued before 1999 and have a two-digit birth year. Insert “19” after the sixth digit to get 17 digits, then append the check digit computed with the algorithm above. Enter a 15-digit number in single mode to see the 18-digit version and copy it.

## Related tools

- [QiLing Mind](https://qilingtools.com/en/mindmap): QiLing Mind is a free online mind map editor: add nodes with Tab/Enter, drag to restructure, import and export XMind and Markdown, export PNG/SVG/PDF.
- [Password Generator](https://qilingtools.com/en/password): Free online random password generator: choose length, character sets and look-alike exclusions, generate several at once with a strength meter, all locally.
- [QR Code Generator](https://qilingtools.com/en/qrcode): Free online QR code generator: turn URLs, text, Wi-Fi or contact cards into QR codes with custom size, colour and error correction. Crisp PNG or vector SVG.
- [Word Counter](https://qilingtools.com/en/word-count): Free online word counter: live counts of characters with and without spaces, words, CJK characters, lines, paragraphs, sentences, bytes and reading time.
- [Case Converter](https://qilingtools.com/en/case-convert): Free online case and naming converter: get UPPERCASE, lowercase, Title Case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE at once.
- [Lorem Ipsum Generator](https://qilingtools.com/en/lorem): Free online Lorem Ipsum generator: classic Latin placeholder text or Chinese filler by paragraph, sentence or word, with one-click copy for mockups.
- [Sort & Dedupe Text](https://qilingtools.com/en/text-sort): Free online text tool: sort lines alphabetically or by length, remove duplicate and empty lines, trim whitespace, optionally ignoring case. Runs locally.
- [Sign & Stamp PDF](https://qilingtools.com/en/pdf/sign): Free online PDF signing tool: drop in a handwritten signature or company stamp, drag it into place on a page preview, adjust size and opacity, then export.
