How to use
- Paste any text containing email addresses into the box above: an email body, cells copied from a spreadsheet, or a web page. A sample is already filled in, so a result shows right away.
- The Extracted emails appear below. Press the copy button or use
Download .txt. - Remove duplicates treats addresses that differ only in letter case as the same and keeps one. Sort by order found, alphabetically, or by domain.
- To paste into a mail client in one go, switch the output separator to semicolon or comma. For one address per spreadsheet cell, use new line.
- To drop promo or internal addresses, enter a domain such as
spam-mail.netunder Domains to exclude. Subdomains such asmail.spam-mail.netgo with it.
What the sample does
Eight addresses are found in the sample. Two duplicates that differ only in case and one excluded domain (spam-mail.net) are removed, leaving five.
| # | Result | Note |
|---|---|---|
| 1 | alex@example.com |
a plain address |
| 2 | Jamie.Kim@gmail.com |
the domain is lowercased, the part before @ is kept as typed |
| 3 | chris.lee@outlook.com |
inside parentheses |
| 4 | sam@sub.example.co.uk |
a subdomain address followed by more text |
| 5 | hello@toolulah.com |
recovered from the obfuscated hello [at] toolulah [dot] com |
What counts as an address
- The part before the @ accepts letters, digits, dots, underscores, percent, plus, hyphens and apostrophes. It is rejected if it is over 64 characters, starts or ends with a dot, or has two dots in a row.
- The domain needs at least two labels separated by dots. Each label is at most 63 characters and cannot start or end with a hyphen. The last label (the top-level domain) must be two or more letters.
user@localhost,a@b.cand@handleare not treated as emails.- Trailing periods, commas and brackets around an address are not included.
- The domain part is ASCII only, so internationalized domain names written in native script are not found (punycode
xn--forms are). - These rules are tuned for real-world text. Rare characters allowed by the email standard (RFC 5322) such as
!,#,/,=and?are not accepted in the local part, so addresses using them can be missed. That choice keeps URLs and paths from being read as addresses.
Things to keep in mind
- If you plan to send marketing email to the result, make sure recipients have consented and follow laws such as CAN-SPAM and GDPR. The tool only collects addresses and cannot know about consent.
- De-obfuscation covers
[at],(at),[dot]and(dot)only. Plain words such as “at” cannot be told apart from normal sentences, so they are left alone. - Input over 2,000,000 characters is scanned only up to that point.
Related tools
- Remove Duplicate Lines: dedupe a list that is already one item per line.
- Sort Lines: sort a list alphabetically or by length.
- List Converter: convert between line lists and comma lists.
- Regex Tester: test a pattern of your own against text.
FAQ
How do I extract only the emails from a block of text?
Paste the text into the box and the tool lists just the email addresses. You can paste a whole spreadsheet selection, and it picks out the addresses.
How do I remove duplicate email addresses?
Keep Remove duplicates on. Addresses that differ only in case, such as A@x.com and a@x.com, count as the same and the first one is kept.
Can I group emails by domain?
Set the sort to By domain to cluster addresses from the same domain. The table below counts each domain, largest first.
How do I paste the list into an email client?
Switch the output separator to semicolon or comma, copy, and paste into the recipient field. Clients differ in the separator they expect, so pick the one yours uses.
Is my text uploaded?
Your text is processed in your browser only and never sent to a server.