Email Extractor
Pull emails, URLs, phone numbers and hashtags out of text. Runs in your browser.
About this email extractor
This email extractor finds every email address in a block of text and gives you a clean, de-duplicated list. It also pulls out URLs, phone numbers, hashtags and @mentions, so one paste of an email thread, a web page's source or a CSV export gives you all the contact details in it.
Paste the text or open a file. The lists build as you type, each match is highlighted in your original text so you can see what was picked up, and you can copy the result one per line, comma separated or semicolon separated for Outlook. A CSV export puts every type in one file. The scanning runs in your browser, which matters here because a list of email addresses is personal data.
Features
Five kinds of data in one pass
Emails, URLs (http, https, ftp and www. links), phone numbers, hashtags and @mentions are found at the same time. Switch between them with the tabs. Each tab shows how many unique items it holds.
Smart about false matches
Image names like [email protected] are not treated as emails, colour codes like #1f6feb and numbers like #42 are not treated as hashtags, and dates or invoice numbers like 2026-0458 are not treated as phone numbers. Addresses inside a URL stay part of the URL.
Finds hidden addresses
People often write name [at] site [dot] com to dodge spam bots. With that option on, the extractor reads these back into real addresses.
Dedupe, sort and filter
Duplicates are removed ignoring case, and each item shows how many times it appeared. Sort by the order found, A to Z, by domain or by most repeated. Type gmail.com in the filter box to keep only those addresses.
Export that opens cleanly in Excel
Download a .txt list or a CSV with type, value and count columns. The Excel-safe option adds an apostrophe in front of values that start with +, =, - or @, so a phone number like +44 20 7946 0958 is not read as a formula.
How to use the email extractor
- 1Paste text or open a .txt, .csv or .html file.
- 2Pick Emails, URLs, Phone numbers, Hashtags or Mentions, then sort or filter.
- 3Copy the list with your separator, or download it as .txt or CSV.
When to use it
Collecting sign-ups from a messy document
Paste a sign-up sheet, a chat export or a long email thread and get a list of unique addresses to paste into the To or Bcc field. Choose the semicolon separator for Outlook and the comma for Gmail.
Auditing links on a page
Paste the HTML source of a page and switch to URLs to list every link it contains, sorted by domain. That makes it easy to spot links to an old domain after a migration. To pull one link apart into its host, path and query, open it in the URL parser.
Cleaning a contact export
CRM and spreadsheet exports often mix names, notes and addresses in one column. Extracting the emails gives you a column you can trust. If you then need the list sorted or compared with another list, sort it or compare the two lists.
What counts as a valid email address?
The formal rules are in RFC 5322, and they allow far more than any real mail system accepts: quoted local parts with spaces, comments in brackets, IP addresses instead of domain names. This extractor uses the same characters the HTML standard allows in type=email form fields, plus the stricter dot rules from the RFC. The part before the @ can hold letters, digits and . ! # $ % & ' * + / = ? ^ _ ` { | } ~ -, it cannot start or end with a dot or contain two dots in a row, and RFC 5321 caps it at 64 characters.
The domain must have at least two parts, each label up to 63 characters without a leading or trailing hyphen, and the last part must be a real-looking top-level domain of two or more letters (or an xn-- internationalised one). The whole address is limited to 254 characters, the practical maximum that mail servers handle.
- Found: [email protected], [email protected]
- Ignored: [email protected] (a file name), name@localhost (no top-level domain)
- Ignored: [email protected] (two dots in a row)
How are phone numbers detected?
There is no single phone number format worldwide. The ITU's E.164 standard sets a maximum of 15 digits including the country code, and most national numbers have at least 7. So the extractor looks for runs of 7 to 15 digits that can include spaces, dots, dashes and brackets, with an optional + in front.
That catches (415) 555-0132, +44 20 7946 0958 and 020 7946 0321, and skips 2026-11-14 (a date) and 192.168.1.10 (an IP address). It cannot know that a 10-digit order number is not a phone number, so check the list before you rely on it. Tick Digits only to get numbers like +442079460958, which most CRMs and dialers prefer.
Using extracted addresses responsibly
An email address belongs to a person. Under GDPR in Europe, and similar laws elsewhere, collecting addresses is processing personal data and you need a lawful reason to email them. In the US, the CAN-SPAM Act requires an honest subject line, a physical address and a working unsubscribe link in marketing messages.
In practice: extract from data you already hold, such as your own inbox, a sign-up sheet people filled in or a customer export, not from pages you scraped. This tool never sends anything anywhere, which makes it safe to use on confidential material.
Why use Mavros
| Mavros | Typical upload sites | |
|---|---|---|
| Data types | Emails, URLs, phones, hashtags, mentions | Emails only |
| Hidden [at] [dot] addresses | Yes, optional | No |
| False match filtering | Skips image names, colours, dates | Matches [email protected] |
| Highlight in text | Yes, colour coded | No |
| Export | .txt and CSV, Excel-safe option | Copy only |
| Privacy | Runs in your browser | Text uploaded to a server |
Tips
- Paste the HTML source of a page (Ctrl+U in most browsers) rather than the visible text to catch mailto: links whose address is not shown on screen.
- Keep the Excel-safe CSV option on if anyone will open the file in a spreadsheet. Turn it off when the CSV goes into a script that reads raw values.
Questions
How do I extract email addresses from text?
Paste the text into the box and the Emails tab lists every address it finds, with duplicates removed. Copy the list or download it as a .txt or CSV file. Nothing is uploaded.
Can it extract emails from a PDF or Word file?
Not directly. Open the document, select all the text, copy it and paste it here. For a scanned PDF with no selectable text, run PDF OCR first to turn the pages into text.
Does it remove duplicate emails?
Yes. With Remove duplicates on, addresses that differ only in capital letters count once, and the list shows how many times each one appeared. The local part is technically case-sensitive, but no major mail provider treats it that way.
How accurate is the phone number extraction?
It finds numbers with 7 to 15 digits in common formats and skips dates, IP addresses and invoice-style numbers. It can still pick up an account number that looks like a phone number, so give the list a quick look.
Is it legal to extract email addresses?
Extracting addresses from data you hold is fine. Emailing those people is governed by laws like GDPR and CAN-SPAM, which need consent or a legitimate reason and an unsubscribe option for marketing. This is general information, not legal advice.
Is my text uploaded?
No. The extractor runs entirely in your browser, so the text you paste and the addresses it finds never leave your device.