How to pull e-mail addresses out of pasted text
- 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.
- 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.
- Click Extract emails. The result also refreshes on its own shortly after you stop typing or pasting.
- 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.
- Pick an export format and use Copy result or Download export. The download is saved as
emails.txtfor the two list formats and asemails.csvfor 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.deproduces nothing, but the punycode form[email protected]is matched. - Obfuscated forms such as
jan [at] example [dot] comare 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.