Skip to content

ID Card Validator

Validate 18-digit CN ID number, extract birth, gender, region

About This Tool

ID Card Validator helps you validate 18-digit cn id number, extract birth, gender, region. Common searches include ID card validator, Chinese ID number, CN ID check, making it useful for quick browser-based processing and immediate results.

Common Use Cases

  • ID Card Validator:Clean up API data, tables, and database scripts
  • ID Card Validator:Check structure and format before importing or exporting
  • ID Card Validator:Create or validate sample data for development and testing

Practical Tips

  • Confirm field names, encoding, and privacy requirements before using real data
  • Review several exported rows to catch nested fields or delimiter issues

Features

  • 18-digit ID number format validation
  • Checksum algorithm verification (mod 11-2)
  • Auto-extract birth date, gender, province
  • Show current age
  • All validation done locally in browser

How to Use

  1. 1Enter an 18-digit ID number (last digit can be X)
  2. 2Format and checksum are validated automatically
  3. 3If valid, province, birth date, gender, and age are shown

FAQ

What is the checksum?

The last digit is a checksum computed from the first 17 digits using weighted sum mod 11. It can be 0–9 or X (representing 10).

Can this 100% verify an ID number?

It can verify whether the number follows the encoding rules. It cannot confirm whether the number was actually issued by public security authorities.

Is data uploaded to a server?

No. All validation happens locally in your browser. ID numbers never leave your device.

Can 15-digit legacy ID numbers be validated?

This tool validates 18-digit numbers. For 15-digit legacy numbers, prepend "19" to the birth year and compute the trailing checksum to upgrade to 18 digits first.

What does the final X mean?

X is the Roman numeral for 10. The checksum is computed from the first 17 digits by weighted sum mod 11; when the result is 10 it is written as X.

What info can be extracted after validation?

Province, city, birth date, and gender (digit 17: odd = male, even = female), plus the current age calculated from the birth date.

Related Tools

Longzhong Dialect

All tools process data locally in your browser. Nothing is uploaded to any server.