TXT · Text & Data tools

Email Extractor (Extract Emails from Text)

Input
Emails
0emails0lines scanned
Go to full Text Pattern Extractor

Shareable link

Settings are written to the URL as you change them. Nothing differs from the defaults yet.

Extract emails from a paste or a file

Paste text or open a .txt, .csv, .eml, .mbox, .json or .html file. The output lists each address once, in the order it first appears, ready to copy into a spreadsheet, a CRM import or a suppression list.

An address is listed only when its domain ends in a real top-level domain from the IANA root zone list. That keeps out user@localhost, build@ci-runner and strings like @media from a CSS file. Domains are lowercased, so Ana@Example.COM comes out as Ana@example.com. The part before the @ keeps its case, because RFC 5321 lets a mail server treat it as case-sensitive.

Addresses inside URLs and markup

An address that sits inside a URL, such as the login part of ftp://user@files.example.com/, is part of that URL and is not listed. A mailto: link in HTML is read as the address it points to, and surrounding quotes, angle brackets and trailing punctuation are left behind.

Obfuscated addresses

Pages and tickets sometimes write support[at]example[dot]com to keep scrapers away. Bracketed forms ([at], (at), [@], [dot], (dot), [.]) are read as the real characters. Spelled-out forms without brackets, such as support at example dot com, are not, because the same words appear in ordinary sentences.

Big exports

A mailbox export or a database dump can run to tens of megabytes. Open it as a file rather than pasting it: anything over 2 MB is scanned in full without being shown in the input box, and the whole list is in the download.

Frequently Asked Questions

Paste the text or open the file. Every address appears in the output as you paste, one per line, with each repeat removed. Copy the list or download it as a .txt file.

Yes. Each address is listed once, in the order it first appears. The domain part is compared in lowercase, so Ana@Example.com and Ana@example.com count as one address, while the part before the @ keeps its case.

The domain must end in a real top-level domain, so test@localhost or a@b are skipped. Local parts are matched in ASCII, so an address with accented letters before the @ is missed, and spelled-out forms like name at example dot com are not read.

Bracketed forms, yes: name[at]example[dot]com, name(at)example(dot)com and name [@] example [.] com all come out as name@example.com.

Use the full Text Pattern Extractor with the CSV format. It writes each address with its count and the line number where it first appears.

Explore Our Tools

Browse all tools