Skip to content

ID Card Validator

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

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.

Related Tools