Email Extractor

Paste any text and instantly extract every email address found inside it.

Share this tool:

How the Email Extractor Works

The Email Extractor scans any block of text using a robust regular expression pattern that conforms to the most common email address formats defined by RFC 5322. It identifies the local part (before the @), the domain, and the top-level domain (TLD), capturing addresses buried inside HTML source, CSV files, log outputs, forum posts, or plain prose.

What Counts as a Valid Email Address?

The extractor recognises addresses with:

  • Standard local parts containing letters, numbers, dots, hyphens, underscores, and plus signs
  • Domain names with one or more subdomains (e.g. mail.company.co.uk)
  • TLDs of 2–20 characters, covering all modern gTLDs and ccTLDs

Addresses inside HTML attributes (like mailto: links), quoted strings, and comma-separated lists are all detected correctly.

Output Options

  • One per line — clean list ready for import into spreadsheets or CRMs
  • Comma separated — paste directly into an email client's BCC field
  • Semicolon separated — compatible with Outlook and many enterprise email systems
  • JSON array — ready to paste directly into code or an API payload

Common Use Cases

  • Extracting contacts from a copied webpage, PDF text, or forum thread
  • Cleaning up raw data exports from CRMs or databases with mixed content
  • Pulling email addresses from HTML source code or server log files
  • Quickly building a recipient list from a document without manual searching
  • Deduplicating messy mailing lists before an email campaign

Privacy & Security

All extraction happens entirely in your browser using JavaScript. No text is ever sent to a server. Your content — including any sensitive email addresses it contains — never leaves your device.

Frequently Asked Questions

Yes. Paste raw HTML and the extractor will find addresses inside mailto: links, plain text content, meta tags, and any other location within the markup. It treats the HTML as a plain text string and scans the full character sequence.
Yes. The regex matches domains with multiple subdomains (e.g. user@mail.uk.company.co.uk) and TLDs up to 20 characters long, covering all current ICANN-delegated gTLDs and ccTLDs including newer ones like .technology, .consulting, and country codes like .sa, .sg, and .tr.
When checked (the default), each unique email address appears only once in the output regardless of how many times it appears in the input. The comparison is case-insensitive when "Lowercase all" is also enabled, so User@Example.com and user@example.com are treated as the same address.
There is no hard limit imposed by the tool. Processing happens in your browser using JavaScript regex, which is fast enough to handle several megabytes of text without any noticeable delay. For extremely large inputs (tens of MB), performance will depend on your device's available memory.
Yes. Click the .txt download button to save the extracted email list as a plain text file in whichever output format you have selected (one per line, comma-separated, semicolon-separated, or JSON array).

Was this tool helpful?

Comments

Loading comments...

Check Out Other Popular Tools