Email Extractor
Extract and de-duplicate every email address from a block of text or a pasted document. Validates each match, lowercases it, removes duplicates, and lets you sort by domain or alphabetically.
Input
Output
Guides
The Email Extractor pulls every email address out of a block of text, a pasted document, a log file, or a chunk of scraped HTML — then cleans, validates, de-duplicates and sorts the results into a tidy list you can copy or download. It runs entirely in your browser, so nothing you paste ever leaves your device.
What it does
Paste any text and the tool scans it for anything shaped like an email address.
Each candidate is checked against real formatting rules — exactly one @, a
sensible local part and domain, and a plausible top-level domain — so stray
handles, @mentions and half-written addresses are dropped. Surviving matches
are lowercased and de-duplicated, so Alice@Example.com and
alice@example.com collapse into a single entry.
How to use it
- Paste or type your text into the input box (or send text from another tool).
- Pick a Sort order — by domain then name, plain alphabetical, or in the order the addresses first appear.
- Choose a Separator for the output: new line, comma, or semicolon.
- The extracted list and a running count update instantly. Use the copy or
download buttons to grab the result as a
.txtfile.
The Emails found field shows how many unique addresses were detected, which is handy for quickly sizing a mailing list or auditing a document.
What counts as a valid email?
An address must contain a single @, a local part of 1–64 characters with no
leading, trailing or doubled dots, and a domain that contains at least one dot
(the sole exception being localhost). The final label — the TLD — must be at
least two characters and cannot be all digits, which filters out things like
user@1.2 while keeping name@my-company.co.uk.
Why are duplicates removed automatically?
De-duplication is case-insensitive and always on. Because addresses are lowercased before comparison, the same mailbox written with different capitalisation is only listed once. This keeps exported lists clean and avoids sending the same person multiple copies.
Does it work with commas, brackets or trailing punctuation?
Yes. Addresses wrapped in (), <> or [], or followed by punctuation such as
a comma, period or semicolon, are trimmed automatically — so
(jane@company.org). is extracted as jane@company.org.
Can I feed the output into another tool?
Yes — use the output card's "Send to…" option to pass the extracted list straight into another text tool, or download it for import into a spreadsheet or email client.
Privacy
This tool is fully client-side. Your text is processed locally in your browser and is never uploaded, logged or stored. You can even use it offline once the page has loaded.