Skip to content
MyToolkit.pro

Text extraction

Extract emails from text

Find every e-mail address in a block of text, remove duplicates and get a clean, sorted list — one address per line. Everything happens in your browser.

Private by design: no text is uploaded or stored.

Private by design: no text is uploaded or stored.

Extraction options

Try an example

Result

Updates when you run the tool.

Emails found
0
Total matches
0

Matched addresses

Matches e-mail-shaped text; it does not verify a mailbox.

No e-mail-shaped address was found for this filter.

How addresses are found

The tool matches standard e-mail patterns (local part, @, domain with a valid top-level domain), then removes duplicates comparing them case-insensitively and sorts the result alphabetically. It never contacts a server or validates whether the mailbox exists — it only extracts what is already in your text.

How to pull e-mail addresses out of pasted text

  1. Paste the source into Text to scan. It can be an e-mail thread, a signature block, exported chat logs, a web page copied with markup, or a messy spreadsheet column.
  2. Choose the extraction options. Merging duplicates and alphabetical sorting are on by default. Tick Keep first-seen order to list addresses in the order they first appear in the text. This overrides sorting.
  3. Click Extract emails. The result also refreshes on its own shortly after you stop typing or pasting.
  4. Check the table. Each row shows the address, its domain, how many times it occurred and the character position of its first match. Untick the rows you don't want, or use Filter domain to show addresses from a single domain.
  5. Pick an export format and use Copy result or Download export. The download is saved as emails.txt for the two list formats and as emails.csv for CSV.

The output only includes rows that are still ticked. If you untick an address, it leaves the copied text and the downloaded file too.

Examples with real output

Duplicates that differ only in letter case are merged. The domain is lowercased, and the local part keeps the case of the first occurrence:

Input:  Write to [email protected] or [email protected] today.
Output: [email protected]
        [email protected]

Here is a pasted header block containing a display name, angle brackets, a mailto: link with a query string and a repeated address:

From: "Jane Doe" <[email protected]>
Cc: [email protected], [email protected]
Reply-To: mailto:[email protected]?subject=Hi

The default sorted list has three addresses. Emails found shows 3 and Total matches shows 4:

[email protected]
[email protected]
[email protected]

If you choose Semicolon-separated list, you get a single line that you can paste into the To or Bcc field of most mail clients:

[email protected];[email protected];[email protected]

CSV with details adds the table columns. Every field is quoted and lines end with CRLF:

"Address","Domain","Occurrences","First position"
"[email protected]","example.net","1","110"
"[email protected]","mail.example.org","2","19"
"[email protected]","example.net","1","50"

Punctuation at the end of a sentence is not included. see [email protected]. Or ([email protected]) gives [email protected] and [email protected], with no trailing dot or bracket.

Where it saves time

  • Building a contact list from a long thread: paste the whole conversation, including quoted replies, and get each participant once.
  • Cleaning a CRM import: paste a column where addresses are mixed with names and notes, export CSV, then open it in a spreadsheet with CSV to XLSX.
  • Auditing who is mentioned in a document: with Merge duplicates turned off, every occurrence gets its own row and its own First position, so you can find each mention in the original text.
  • Separating internal and external contacts: filter by your company domain, untick those rows, and export only the outside addresses.
  • Collecting several kinds of contact data: after the addresses, run the same text through Extract phone numbers from text.

What the pattern does and doesn't catch

The tool looks for a local part made of Latin letters, digits and . _ % + -, then @, then a domain with at least one dot and a top-level domain of two or more letters. This covers everyday addresses, including plus-addressing (name+tag@…), subdomains and multi-part endings such as .co.uk. It does not cover everything the address syntax in RFC 5322 allows:

  • Addresses on hosts without a dot, such as user@localhost, and one-letter TLDs, such as [email protected], are skipped.
  • Quoted local parts ("first last"@example.com) are not matched.
  • Domains in non-Latin scripts are not found. info@münchen.de produces nothing, but the punycode form [email protected] is matched.
  • Obfuscated forms such as jan [at] example [dot] com are not recognised. Convert them back to normal addresses before you paste the text in.
  • A match only means the text looks like an address. Nothing is sent anywhere to check that the mailbox exists or accepts mail.

Duplicate detection ignores letter case in the whole address, so [email protected] and [email protected] count as the same address. That is how nearly all mail providers behave, although the standard technically allows a case-sensitive local part. The input field accepts up to 1,000,000 characters.

Frequently asked questions

Can I extract emails from a PDF or Word file?

Not directly. Copy the text out of the document and paste it here. For a PDF, get the text first with [Extract text from a PDF](/en/tools/pdf-text-extractor).

Why is an address from my text missing from the list?

First check that Filter domain is set to All domains, because the table only shows the selected domain. If it is, the address probably has a shape the pattern skips, such as a host without a dot, a quoted local part or a non-Latin domain (see the limitations section above).

Can I export only the addresses from one company?

Yes. With All domains selected, untick the checkbox in the table header to clear every row. Then pick the company's domain in Filter domain and tick the header checkbox again. Filtering on its own only changes what the table shows, so rows that are hidden but still ticked stay in the export. Subdomains such as mail.example.org are listed as separate domains.

How do I get the addresses into Excel or Google Sheets?

Copy the One address per line output and paste it into column A, and you get one address per cell. In Google Sheets you can also load the downloaded emails.csv with File → Import.

Can it pull e-mail addresses from a website URL?

No. The tool does not fetch pages, it only scans text you paste. Copy the visible page text, or paste the page source if you also want addresses that only appear inside mailto: links.

All in Text & Lists

Extract URLs from text

Pull every http and https link out of a block of text, trim trailing punctuation, remove duplicates and get a clean, sorted list. Everything happens in your browser.

Text & Lists In your browser

Strip HTML tags

Turn HTML into clean, readable plain text. Tags are removed, the contents of script and style blocks are dropped, and common HTML entities are decoded. Runs in your browser.

Text & Lists In your browser

Extract text from a PDF

Pull the text out of a PDF into a plain .txt file. Free, no account, files deleted after 60 minutes.

Document Converters File on the server

Lines, words & characters counter

Count lines, words, Unicode characters, UTF-8 bytes, paragraphs and reading time locally in your browser.

Text & Lists In your browser

Case converter

Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE — all nine at once, each with its own copy button. Works entirely in your browser.

Text & Lists In your browser

What do you need?

Swipe up for the next one