ID Card Number Extractor

Quickly identify and extract China Mainland ID card numbers from text, supporting new and old formats and displaying statistics.

Green Tool
Loading tool, please wait...

Related Tools

Tool Introduction

The ID Card Number Extractor is an efficient and convenient online tool designed to help users quickly identify and extract all strings conforming to China Mainland ID card number rules from any text content. This tool can accurately capture both the new 18-digit ID card numbers and the old 15-digit ID card numbers. Additionally, users can choose to display the total number of extracted ID card numbers for easy data statistics and verification.

How to Use

  1. Enter or paste the text you need to process into the "Content to extract" text box. This content can include any text, numbers, and symbols; the tool will automatically identify ID card numbers from it.
  2. (Optional) If you want to display the total number of identified ID card numbers in the extraction results, please check the "Show Statistics" checkbox.
  3. The tool will automatically process your input and display all identified ID card numbers in real-time in the "Extraction Result" text box. Each number will be on a separate line.

Input Parameter Format: Supports any plain text format input, with no restrictions on content length or special characters.

Output Result Format: The extraction results will be displayed in plain text, with each ID card number occupying one line. If "Show Statistics" is checked, an additional statistical number will be displayed above the list of numbers, indicating the total number of extracted ID card numbers.

Usage Example

Below is a specific usage example:

Example Input Data:

Zhang San's ID number is 110101199003074512, and his phone number is 13800001234.
Li Si's ID number: 420106198512126633, address: Wuhan City, Hubei Province.
There is also an old format ID: 370982850101123.
Invalid number: 1234567890123456, test ends.

Operation Demonstration:

Paste the above text into the "Content to extract" input box and check the "Show Statistics" checkbox.

Expected Output Result:

A total of 3 ID card numbers were extracted.
110101199003074512
420106198512126633
370982850101123

Frequently Asked Questions

  • Q: What ID card number formats does this tool support for extraction?
  • A: This tool supports identifying and extracting 18-digit citizen ID card numbers (new version) and 15-digit citizen ID card numbers (old version) from mainland China.
  • Q: Can I process text containing a large number of ID card numbers at once?
  • A: Yes, you can paste text containing a large amount of content into the input box at once, and the tool will automatically iterate through and extract all ID card numbers that conform to the rules.
  • Q: Are the extracted ID card numbers validated for authenticity?
  • A: The primary function of this tool is format matching and extraction based on regular expressions. It will identify strings that conform to the 18-digit or 15-digit ID card format, but it will not further verify the authenticity of the number, whether the checksum is correct, or whether it is a real existing citizen ID card information.
  • Q: Do the extraction results contain duplicate numbers?
  • A: The tool will extract all matched numbers. If there are duplicate ID card numbers in the input text, the extraction results will also include these duplicates.

Notes

  • Please ensure that the text content you paste is clear and readable to avoid recognition failures due to encoding or formatting errors.
  • This tool is only used for ID card number format identification and extraction and does not assume any responsibility for data verification or information accuracy. Users are responsible for verifying the authenticity and validity of the extraction results themselves.
  • Please do not use this tool for illegal purposes; protecting citizens' personal privacy is everyone's responsibility.
  • When the input content is particularly large, the tool may take a short time to process, please be patient.

Rating

0 / 5

0 ratings

Statistics

Views: 6159

Uses: 11231