Skip to content
← Back

Text Extractor Tool - Email/Phone/URL/IP Extractor

Text
Runs locally · Not uploaded

Free online text extraction tool, quickly extract emails, phone numbers, URLs, IP addresses, ID numbers, supports custom regex

Was this result helpful?

For local tools, open DevTools → Network and search your input — it should not appear in requests.

Usage Guide

Pull emails, phones, URLs, IPs, ID numbers and numbers from logs, page source or contracts in one regex pass. Presets plus strip-HTML, collapse-whitespace and dedupe options; custom patterns supported; all local.

1. How to use

  1. Paste source text (logs, HTML or plain text) into the input.
  2. Pick a type: email, phone, URL, IP, national ID, Chinese, numbers — or custom regex.
  3. Optionally enable Strip HTML, Collapse whitespace and Deduplicate; copy the match list when ready.

2. Preset boundaries

  • Email preset covers common ASCII addresses (plus-tags and hyphenated domains); CJK-domain mail needs custom regex.
  • Phones match mainland 11-digit 1[3-9]… numbers and normalize +86 / spaces / hyphens to digits only.
  • URLs require http(s), keep path/query/hash, and trim trailing sentence punctuation.
  • Number mode accepts signs and scientific notation (e.g. -12.5, 1.2e-3); ID extraction does not verify checksums.

3. After extraction

Extraction is step one — marketing or analytics on harvested contacts touches personal-data compliance. For page source, enable Strip HTML first to drop script/attribute noise; validate presets on a small sample before bulk runs.

FAQ

Extraction runs locally and nothing is uploaded — but mind the downstream side too: exported files, clipboards, and screen sharing are also leak surfaces, and extracted ID-card numbers should be treated as sensitive data.

Supports extracting 7 common types: emails, phone numbers, URLs, IP addresses, ID card numbers, Chinese characters, and numbers. Custom regex extraction is also supported.

Yes. Enable "Strip HTML tags" to drop script/style and markup before matching, which cuts attribute and script noise. You can also enable "Collapse whitespace" to squeeze runs of spaces and newlines.

Yes. Mainland mobiles accept +86 / 86 prefixes and space or hyphen separators; results normalize to 11 digits. Deduplicate works for both built-in and custom modes.

Built-in patterns target common Chinese and international formats, so rare variants can slip through — spot-check anything critical. Deduplication is great for building contact lists but hides occurrence counts; leave it off when doing frequency analysis.

Yes. Beyond the 7 presets you can paste any custom regex, with the same strip-HTML and whitespace-collapse preprocessing. Watch out for backtracking and catastrophic complexity — experiment on short text first, and validate tricky patterns in a regex tester.

Related Tools

Related Articles