Toolvist

Extract Emails from Text

Extract all email addresses from any block of text.

Free Online Extract Emails Tool

The Extract Emails tool pulls every email address out of any block of text and lists them one per line. Great for harvesting contacts from copied pages, logs, or documents.

After extraction, Remove Duplicate Lines collapses the repeats, Sort Lines orders the list for review, and the Keyword Extractor can show which domains or roles dominate a large paste.

How to use the Extract Emails

  1. 1 Paste the text you want to scan — an email thread, a page source, a log excerpt, or a document pasted as plain text.
  2. 2 Choose how strict the match should be; a stricter pattern rejects addresses that are technically invalid.
  3. 3 Optionally enable deduplication so each address appears once even if it recurs.
  4. 4 Copy the resulting list, or export it comma-separated for a spreadsheet.

Common sources worth scanning

Support inboxes are the classic case. A thread about ten separate customer issues contains ten addresses scattered through quoted replies, and copying them one at a time is slow and error-prone. Pasting the whole thread and pulling the list out at once turns a five-minute chore into a few seconds of review.

The second common source is page markup or a database export. Both contain addresses embedded in surrounding syntax, which is exactly what a plain-text scan is good at ignoring. Here you should review the output carefully, because a value that merely looks like an address in a minified file is not necessarily a contact you want to mail.

Working with the result responsibly

  • Deduplicate before you do anything else; a long thread will yield the same four people dozens of times.
  • Keep the source text around, so you can check whether a match was a real contact or an artefact.
  • Strip role-based addresses such as no-reply and postmaster unless you have a reason to keep them.
  • For outreach, prefer a list you collected with consent over one assembled by scanning.

Frequently asked questions

Does this tool find addresses that are deliberately obfuscated?

Only the ones written as plain text. Addresses formatted as "name at example dot com" or split across elements with HTML tags between them are not matched by a text scanner, because there is no valid address in the string to find. Those conventions exist specifically to defeat automated harvesting, so you would need to normalise them by hand first.

Is extracting email addresses legal?

Extracting them from text you are entitled to hold is ordinary data processing, but what you do next is heavily regulated. Sending unsolicited commercial mail to addresses harvested from a website violates anti-spam law in many jurisdictions, and GDPR treats an address as personal data from the moment it is collected. Use the list for the purpose the people actually consented to.

How accurate is the pattern matching?

It recognises the standard shape — a local part, an at sign, and a domain with at least one dot — which covers the overwhelming majority of real addresses. It will not accept addresses with unusual characters or a domain literal in brackets, because those are vanishingly rare and accepting them produces far more false positives than true ones.

Related Text Tools

Browse all Text Tools →

You might also need

Tools from other categories that people pair with the Extract Emails:

Browse the full tool directory →