↑↓ to move ↵ to open Esc to close Browse all tools

Email Extractor

Paste text or drop a file and get every email address in it, without duplicates. Sort and filter the list, then copy it or download it.

Paste any text, a web page's source, a CSV or contact list, or drop .txt, .csv, .html or .vcf files. The list updates as you type.
Order
Output
Separate domains with commas or spaces. A domain also matches its subdomains: example.com matches mail.example.com.
Email addresses found 0

Paste text to find the addresses in it.

Addresses

The addresses appear here.

Runs in your browser. Your text and the addresses are not sent anywhere.

Hand-checked listFree Form and Survey BuildersWhat the free plans of 13 form and survey builders allow: forms, monthly responses, uploads and branding.

Email Extractor by Freebiefy, free online tools · Privacy · Legal notice

Embed this tool on your site

Paste this code into your page. The tool runs in the visitor's browser, free and without signup. The height adjusts to the content. All tools you can embed

Extract email addresses from any text

This email extractor reads a block of text and pulls out every email address in it. The text can be anything: a long email thread, an exported contact list, a CSV file, the HTML source of a web page or a vCard file. The result is a clean list with each address once, which you can sort, filter by domain, copy or download as a .txt or .csv file. The domain table shows how many different addresses each domain has.

Everything runs in your browser. The text and the files you open stay on your device. To clean up other lists, the remove duplicate lines tool and the sort lines tool work on any line-based text, and find and replace fixes a pattern in bulk.

The pattern it uses, and why not the full standard

The format of an address is defined in RFC 5322, section 3.4.1: a local part, an @ sign and a domain. The local part may be a dot-atom, a run of letters, digits and the symbols ! # $ % & ' * + - / = ? ^ _ ` { | } ~ with single dots between them, or a quoted string that can even hold spaces. The domain may be a host name or an address literal in square brackets. A regular expression that accepts all of that also accepts a lot of text that is not an address, so this tool uses a practical subset:

PartAcceptedLeft out
Before the @Letters of any script, digits, dot, underscore, plus and hyphen; no dot at the end and no two dots in a rowQuoted local parts, and the symbols ! # $ % & ' * / = ? ^ ` { | } ~
After the @Two or more labels of letters, digits and hyphens, separated by dots; the last one all letters or an xn-- nameIP addresses in square brackets, names without a dot such as localhost
LengthUp to 64 bytes before the @ and 255 bytes after itAnything longer

The length limits come from RFC 5321, section 4.5.3.1, which sets a maximum of 64 octets for the local part and 255 octets for the domain. Letters outside A to Z are accepted because RFC 6531 lets mail systems that support it carry addresses with non-ASCII characters in both parts, such as jürgen@bücher.de. The symbols that are left out are rare in real addresses, and in running text a quote or an equals sign next to an address is far more often punctuation or part of a link.

Cleanup: punctuation, links and file names

  • Trailing punctuation is dropped, so "write to jane@example.com." gives jane@example.com. Brackets, quotes and angle brackets around an address, as in Jane Doe <jane@example.com>, are not part of the result.
  • mailto: links are decoded first, so mailto:jane%2Bnews@example.com?subject=Hi gives jane+news@example.com without the subject.
  • Names of image and code files that look like addresses, such as logo@2x.png, are skipped and counted.
  • Domains are written in lowercase, because RFC 5321, section 2.4 says mailbox domains are not case sensitive. The part before the @ keeps its first spelling.

The dedupe step compares addresses by the domain without case and by the local part with case. The same section says the local part must be treated as case sensitive, and also that exploiting this is discouraged. Turn on Ignore case before the @ when your list mixes Jane@ and jane@ for the same person.

A worked example

The text "Contact Jane (jane.doe@example.com) or sales [at] example [dot] org. Old: JANE.DOE@EXAMPLE.COM, logo@2x.png" gives two addresses: jane.doe@example.com and JANE.DOE@example.com. The file name is skipped. With Ignore case before the @, the two become one. With Find spelled-out addresses, sales@example.org joins the list. Choose By domain to see example.com and example.org as separate groups.

Use the list responsibly

Having an address does not mean its owner wants your email. Sending unsolicited email to addresses you collected may break laws such as the US CAN-SPAM Act and the EU's data protection rules (GDPR). The FTC's CAN-SPAM compliance guide lists harvesting email addresses among the aggravated violations. The European Commission gives an address like name.surname@company.com as an example of personal data, while a general address like info@company.com is not. Use the tool for lists you are allowed to use, such as your own contacts or sign-ups.

Limits

The tool checks only the form of an address, not whether the mailbox exists. Text in scripts written without spaces, such as Chinese or Japanese, can run straight into an address, and then the neighboring characters may become part of it. PDF and Word files need to be turned into text first, for example with copy and paste. Files up to 20 MB are read; very long texts take a moment, and the preview shows the first part while copy and download always hold the full list. To turn the CSV into JSON, use the CSV to JSON converter.

How to use the email extractor

  1. 1Paste your text into the box, or open or drop one or more files.
  2. 2Pick the order and the output format: one per line, comma or semicolon.
  3. 3Filter by domain if needed, and decide whether case before the @ counts.
  4. 4Copy the list, or download it as .txt or as .csv with the domain and the count for each address.

Frequently asked questions

Is my text uploaded anywhere?

No. The addresses are found by a script in your browser, and files you open or drop are read on your device. Nothing you paste is sent to a server. Copy link shares only your settings, never the text or the addresses.

Does it find every valid email address?

It finds the addresses people actually use: letters, digits, dots, underscores, plus signs and hyphens before the @, and a domain name after it, including international ones. The full grammar in RFC 5322 also allows rare forms such as quoted local parts with spaces and IP addresses in square brackets. Those are left out on purpose, because in normal text the pattern would otherwise pick up punctuation and code.

Are duplicates removed?

Yes. Domain names are always compared without case, so jane@Example.com and jane@example.com count once. The part before the @ is compared with case by default, because RFC 5321 says it must be treated as case sensitive. When your list has Jane@ and jane@ for the same person, turn on Ignore case before the @ to merge them.

Does it check whether an address really exists?

No. It only checks the form of the address. Whether a mailbox exists can only be told by the mail server for that domain, and this tool does not contact any server.

What about addresses written as name [at] example [dot] com?

Turn on Find spelled-out addresses. Then forms like name [at] example [dot] com, name(at)example(dot)com, NAME AT EXAMPLE DOT COM, %40 and the HTML codes &#64; and &commat; are read as real addresses. It is off by default, because it can also turn ordinary text into a false match.

Can I use the extracted list to send a newsletter?

Only if the people agreed to hear from you. The tool extracts addresses; it does not give you permission to email them. In the US, the FTC lists harvesting addresses among the aggravated violations of the CAN-SPAM Act, and in the EU an address that names a person counts as personal data.