Free online text extraction tool, quickly extract emails, phone numbers, URLs, IP addresses, ID numbers, supports custom regex
TL;DR: Free text extraction tool for emails, phones, URLs, IPs, ID numbers and numbers. Strip HTML, collapse whitespace, dedupe and custom regex — all local, no data upload.
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
- Paste source text (logs, HTML or plain text) into the input.
- Pick a type: email, phone, URL, IP, national ID, Chinese, numbers — or custom regex.
- 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
Text Extractor Tool: Quickly Extract Useful Information from Messy Text
Extract emails, phones, URLs, IPs and numbers from logs, HTML source and messages. Strip HTML, collapse whitespace and dedupe — all in your browser.
How to Fix 'Hydration failed / Text content does not match' in Next.js
The complete guide to Next.js/React SSR hydration errors: why server and client renders diverge, the three usual suspects (timestamps, random values, localStorage), correct suppressHydrationWarning usage, and a ClientOnly pattern for browser-only widgets.
How to Batch Encode Multiple Files or Texts to Base64 (No Script Needed)
Need to convert dozens of images or strings to Base64 at once? Learn batch Base64 encoding and step-by-step how to do it locally without uploading files or writing scripts.