Email Extractor
Paste any text and get all email addresses. Optionally deduplicate and sort.
Pulling addresses out of messy text
This tool scans any block of text and pulls out every email address it contains, removing duplicates and sorting the results. It is useful when you have a wall of text - an exported thread, a signup list, a document - and need just the addresses.
Key takeaways
- Addresses are found using a pattern match, then deduplicated and sorted.
- Everything runs in your browser - no addresses are uploaded anywhere.
- The pattern catches standard addresses; rare valid forms may be missed.
- Extracting addresses is easy; using them lawfully is the harder part.
- Sending unsolicited email to scraped addresses is illegal in most jurisdictions.
How extraction works
A regular expression scans for the standard address shape: a local part, an @ symbol, a domain, and a top-level domain of at least two characters.
Matches are collected, lowercased for comparison, deduplicated and sorted. This catches the overwhelming majority of real addresses.
| Input | Extracted? | Note |
|---|---|---|
| john@example.com | Yes | Standard form |
| first.last+tag@sub.example.co.uk | Yes | Plus addressing and subdomains work |
| user@localhost | No | No dotted top-level domain |
| "odd name"@example.com | No | Quoted local parts are valid but very rare |
| user@[192.168.1.1] | No | IP literals are valid but almost never used |
| Contact us at sales(at)example.com | No | Deliberately obfuscated |
Legitimate uses
- Cleaning up your own contact exports from a CRM or mail client.
- Pulling addresses from a form submission dump or survey export.
- Extracting recipients from a long email thread for a follow-up.
- Auditing a document for exposed addresses before publishing it.
- Migrating a list between systems that will not talk to each other.
- Data cleaning where addresses are buried in a free-text field.
The legal position on scraped addresses
| Jurisdiction | Law | Position on scraped addresses |
|---|---|---|
| EU / EEA | GDPR | Requires a lawful basis; consent normally needed for marketing |
| United Kingdom | UK GDPR + PECR | Consent required for marketing to individuals |
| United States | CAN-SPAM | Harvesting is expressly prohibited; aggravated penalties apply |
| Canada | CASL | Express or implied consent required; among the strictest regimes |
| Australia | Spam Act | Consent required; address-harvesting software is prohibited |
This is general information, not legal advice. If you are building a mailing list, take proper advice for the jurisdictions you operate in.
Building a list the right way
- Collect addresses with explicit consent through a signup form that says what you will send.
- Use double opt-in. A confirmation email proves consent and filters out typos and bad actors.
- Keep records of when and how each subscriber consented.
- Include an unsubscribe link in every message and honor it immediately.
- Clean your list regularly. Bounces and inactive addresses damage deliverability.
- Never buy a list. They are almost always scraped, they perform terribly, and they can get your sending domain blacklisted.
Frequently Asked Questions
How does the email extractor work?
It scans your text with a regular expression that matches the standard email address pattern - a local part, an @ symbol, a domain and a top-level domain of at least two characters. Matches are then deduplicated and sorted.
Are the extracted addresses sent anywhere?
No. Extraction runs entirely in your browser using JavaScript. No addresses are uploaded, logged or stored, which matters a great deal given that email addresses are personal data.
Will it find every email address?
It finds the overwhelming majority. Some technically valid but very rare forms are missed, such as quoted local parts or IP-literal domains, and deliberately obfuscated addresses like "name (at) example.com" are not matched by design.
Does it validate that the addresses are real?
No. It checks the shape only. An address can be perfectly formatted and not exist at all. The only way to confirm an address works is to send a message to it, which is exactly what confirmation emails are for.
Is it legal to extract email addresses from a website?
Extracting them may be, but emailing them generally is not. GDPR requires a lawful basis for processing personal data, CAN-SPAM expressly prohibits address harvesting, and CASL and the Australian Spam Act take similar positions. Penalties are significant.
Can I use this to build a marketing list?
Not from scraped sources. Build lists through explicit opt-in with a clear description of what subscribers will receive, use double opt-in to prove consent, keep records, and honor unsubscribes immediately. Bought lists perform badly and risk blacklisting your domain.
Why are some addresses written as "name (at) example.com"?
It is a deliberate anti-scraping measure. Writing the @ symbol as text stops automated harvesters from matching the address while leaving it readable to humans. This tool does not attempt to decode such forms.
Can I extract addresses from a PDF or spreadsheet?
Yes, indirectly. Copy the text out of the document and paste it in. The tool works on plain text, so any format you can copy from will work.