Extract Emails, URLs & Data From Text
This free data extractor scans any block of text and pulls out the structured items hidden inside it: email addresses, http and https URLs, IPv4 and IPv6 addresses, domains and hostnames, dates, phone numbers, hashtags, @mentions, and hex hashes such as MD5 and SHA sums. Paste a log file, an email thread, an HTML source, a chat export, or a scraped page and get each kind of data as its own clean, copyable list.
Every type has its own checkbox so you can extract exactly what you need, and results can be de-duplicated and sorted in one click. All matching is done in your browser with regular expressions using JavaScript, so nothing you paste is uploaded, stored, or transmitted — it is safe for logs, private messages, and other sensitive text.
How to use Data Extractor
- Paste or type your text into the input box.
- Tick the data types you want to extract (emails, URLs, IP addresses, dates, and so on). Results update instantly.
- Review each type's list and its match count. Enabled types with no matches are shown so you know they were checked.
- Toggle De-duplicate to keep only unique values, and Sort A to Z to order each list.
- Copy an individual list, use Copy all for a combined report, or Download everything as a .txt file.
Data types it can extract
- Email addresses — standard local@domain addresses, for example name@example.com.
- URLs — absolute http and https links; trailing sentence punctuation is trimmed automatically.
- IPv4 addresses — dotted-quad addresses with each octet validated to 0-255, so 999.1.2.3 is ignored.
- IPv6 addresses — full and :: compressed forms, plus IPv4-mapped addresses like ::ffff:192.168.0.1.
- Domains and hostnames — names such as example.com and sub.domain.co.uk. This is off by default because it overlaps with emails and URLs and can also match file names like report.txt.
- Dates — the common formats yyyy-mm-dd, mm/dd/yyyy, and dd/mm/yyyy.
- Phone numbers — international and local formats with 7 to 15 digits; obvious dates and IP addresses are excluded.
- Hashtags — words beginning with # that start with a letter, for example #release.
- Mentions — handles beginning with @, for example @textutil.
- Hex hashes — hexadecimal strings at MD5 (32), SHA-1 (40), SHA-224 (56), SHA-256 (64), SHA-384 (96), and SHA-512 (128) lengths.
How extraction works and where it can be wrong
The tool uses carefully bounded regular expressions to find each kind of data, which makes it fast even on very large pastes and safe from the runaway backtracking that can freeze a browser. Extraction is a pattern-matching heuristic, not full validation, so it can occasionally produce false positives — a software version number like 10.0.0.1 read as an IPv4 address, or a file name read as a domain — and it can miss values written in unusual or non-standard ways.
When accuracy matters, treat the output as a strong first pass and skim the results. Because matching runs entirely on your device, you can safely paste confidential material; nothing is sent to a server. Extremely large inputs are capped for scanning, and the tool tells you when that happens.
Related terminology
- Regular expression
- A pattern that describes a set of strings, used here to recognize the shape of emails, URLs, IP addresses, and other data within free text.
- Structured data
- Values that follow a predictable format — such as an email address or an IP address — as opposed to unstructured prose.
- Deduplication
- Removing repeated values so each extracted item appears only once, while keeping the order in which it first occurred.
- IPv4 and IPv6
- The two Internet address formats: IPv4 uses four numbers 0-255 separated by dots (192.168.0.1); IPv6 uses groups of hexadecimal separated by colons and can be shortened with :: (2001:db8::1).
- Top-level domain (TLD)
- The final label of a domain name, such as .com or .co.uk, used here to recognize where a domain or email host ends.
Frequently asked questions
- How do I extract all email addresses from a block of text?
- Paste the text into the input box and make sure the Email addresses type is ticked. Every address is listed instantly; use the Copy button to grab the whole list, and turn on De-duplicate to remove repeats.
- Can it extract both IPv4 and IPv6 addresses?
- Yes. IPv4 addresses are validated octet by octet, and the IPv6 matcher understands full addresses, :: compression, and IPv4-mapped forms like ::ffff:192.168.0.1. Enable either or both types.
- Why did it match something that is not really an email, IP, or phone number?
- Extraction is based on pattern matching, which is a heuristic. Some strings look structurally like the target — a version number can resemble an IP address, and a file name can resemble a domain — so occasional false positives are expected. Skim the results when precision matters.
- Is my text uploaded to a server?
- No. All scanning happens in your browser with JavaScript, so your text never leaves your device. That makes the tool safe for logs, private messages, and other sensitive content.
- How do I get only unique results or sort them?
- Keep De-duplicate enabled to collapse repeated values, and enable Sort A to Z to order each list alphabetically. Both options apply live to every extracted type.
- What does the Hex hashes type detect?
- It finds standalone hexadecimal strings at the lengths of common digests — 32 (MD5), 40 (SHA-1), 56, 64 (SHA-256), 96, and 128 (SHA-512) characters. It reports the strings; it does not verify or compute them.