We use cookies.This website uses essential cookies to operate core features. With your consent, we also use analytics cookies to understand traffic and improve the service. For more details, see our .
If this tool helped you, you can buy us a coffee ☕
Quickly locate and extract mainland China ID numbers from any text. Supports both 15-digit and 18-digit formats and includes a total count.
Enter text to start extraction

Online MIDI Tester
Play, parse, and debug MIDI files or hex data online. Features event log analysis and instant music playback to assist in music production and development.

Android Permission Lookup & Reference Guide
Provides developers and users with instant plain English names and functional descriptions for standard Android permission strings.

CIDR Subnet Calculator
Calculate subnet masks, network addresses, broadcast addresses, and usable host ranges from CIDR IP addresses. Ideal for network planning and management.

UUID Generator
Bulk generate unique identifiers (UUID/GUID) across multiple versions (V1-V7) for developers and system design.

Online MIDI Tester
Play, parse, and debug MIDI files or hex data online. Features event log analysis and instant music playback to assist in music production and development.

Android Permission Lookup & Reference Guide
Provides developers and users with instant plain English names and functional descriptions for standard Android permission strings.

CIDR Subnet Calculator
Calculate subnet masks, network addresses, broadcast addresses, and usable host ranges from CIDR IP addresses. Ideal for network planning and management.

UUID Generator
Bulk generate unique identifiers (UUID/GUID) across multiple versions (V1-V7) for developers and system design.
Nano ID Generator
Generate secure, unique, and URL-friendly identifiers for database IDs, API keys, and more.
When dealing with messy text containing a mix of words and numbers, manually finding all the ID numbers is both inefficient and error-prone. The Chinese ID Number Extractor uses a built-in regular expression engine to automatically scan the input text, accurately matching and extracting all strings that conform to the formatting rules of mainland China's 18-digit (new) and 15-digit (old) resident identity card numbers. A Chinese ID number is a personal identifier composed of an address code, birth date code, sequence code, and a checksum (for 18-digit numbers). The core function of this tool is "format matching extraction," outputting a plain text list where each identified ID number is placed on a separate line.
Q: Can this tool verify the authenticity of the ID numbers?
No. It only performs format matching extraction and does not validate the checksum's correctness or the authenticity of the information.
Q: What can be extracted from the text "Zhang San: 110101199003074512, Li Si: 420106198512126633"?
It will extract two 18-digit ID numbers: 110101199003074512 and 420106198512126633.
This tool is strictly for format matching extraction and is not responsible for the authenticity or validity of the resulting data. Do not use it to process sensitive personal privacy data or for illegal purposes. If the input text is extremely long, processing may take a few seconds; please be patient. The results will include all matches, including duplicate numbers.
When processing data exported from unstructured text (such as customer service logs or open-ended survey questions), this tool can significantly improve data cleaning efficiency. Its matching rules are based on public ID card coding standards. However, please note that it cannot identify masked numbers (e.g., partially replaced with asterisks *) or severely malformed formats. A typical input/output example: Inputting "User A's ID is 110101199003074512, User B's is 420106198512126633" will output two independent lines of numbers. For scenarios with high data compliance requirements, we recommend manual review or integration with an authoritative verification service after extraction.