---
title: "Email extractor: pull addresses from text"
url: "https://coldagentai.com/tools/email-extractor.md"
canonical_url: "https://coldagentai.com/tools/email-extractor"
last_updated: "2026-10-18"
type: "tool"
summary: "Paste any text, page source, mail export or CSV and get a clean list of the email addresses in it, with repeats removed and image file names left out."
related: ["https://coldagentai.com/tools.md", "https://coldagentai.com/tools/email-checker.md", "https://coldagentai.com/tools/remove-duplicate-emails.md", "https://coldagentai.com/tools/bulk-email-verifier.md", "https://coldagentai.com/tools/reverse-email-lookup.md", "https://coldagentai.com/tools/email-pattern.md"]
install: "claude mcp add --transport http coldagentai-free https://coldagentai.com/api/mcp"
---

# Email extractor: pull addresses from text

> **For AI agents:** the complete index of ColdAgentAI pages is [llms.txt](https://coldagentai.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Paste any text, page source, mail export or CSV and get a clean list of the email addresses in it, with repeats removed and image file names left out.

Paste anything that contains email addresses: a web page source, a forwarded thread, an export from a spreadsheet or a block of notes. The extractor returns the addresses it finds as a clean list you can copy, with repeats removed, the case made consistent and image or font file names left out.

The text you paste is read in this page and is never sent anywhere.

## Inputs

- Text to search, up to 2 MB. It can be messy: addresses inside quotes, angle brackets, CSV cells or sentences are all found.
- Remove duplicates (on by default). Repeats are matched without regard to case and the first spelling is kept.
- Lowercase (on by default). Domains are never case sensitive, and the mail standard discourages treating the part before the @ as case sensitive, so lowercase makes repeats easy to spot.
- Sort A to Z (off by default). Without it the list keeps the order the addresses appeared in.

## How it works

- The tool finds each @ sign and reads outward in both directions. To the left it collects the characters that may appear in the first half of an address. To the right it collects letters, digits, dots and hyphens.
- Punctuation around the match is trimmed: a quote or slash in front, a full stop or comma after. So a sentence that ends with the address and a full stop still gives back "ada@example.com" without the stop.
- A match is kept only when the first half is 64 characters or fewer, the domain has at least two parts, every part is 1 to 63 characters without a leading or trailing hyphen, and the last part is at least two letters.
- Matches whose ending is an image or font extension (png, jpg, jpeg, gif, svg, webp, avif, bmp, ico, tif, tiff, heic, woff, woff2, ttf, otf, eot) are dropped, because high-density image files, named with an @ sign before a size such as 2x, are file names and not mailboxes. The result shows how many were skipped.
- Addresses that touch a non-ASCII letter are skipped and counted, rather than returned cut in half.

## What an email address looks like to a program

An address has two halves around one @ sign. The Internet Message Format standard, RFC 5322, lets the first half use letters, digits and a set of symbols: ! # $ % & ' * + - / = ? ^ _ ` { | } ~, plus dots between runs of those characters. The mail transfer standard, RFC 5321, caps that first half at 64 octets. The second half is a domain name, whose parts the DNS standard, RFC 1035, limits to 63 octets each.

Because the first half allows so many symbols, a loose pattern captures too much. A closing quote, an equals sign from a URL or a slash from a path can all be legal symbols and still not belong to the address. The extractor trims leading punctuation and ending dots and dashes for that reason, and it requires a plain alphabetic ending on the domain.

## Why image file names with an @ sign are removed

Designers name high-density images with an @ sign before the size: a double-size version of a logo file carries @, then 2x, then the .png ending. Page source is full of them. They match the shape of an address, since the part after the @ looks like a domain, so any plain pattern returns them. The extractor drops any match that ends in a known image or font extension. That list is ours and covers the common formats. A real address on a domain that ends in one of these words is possible in principle, and the skipped count lets you check.

## Cleaning the list after you extract it

Extraction is the first step, not the last. Addresses scraped from pages are often role mailboxes such as info@ or sales@, old addresses of people who left, or typos. Before you send anything, remove repeats across all your sources, check each address with an email verifier and confirm the domain can receive mail. A list you checked a week ago is already a little stale, so check again close to the send date.

If you plan to import addresses into a sending tool, load only people you have a reason to write to. Sending to a large number of unchecked addresses is how bounce rates and spam complaints climb, and mailbox providers react to both.

## Reading the counts under the list

The result shows how many addresses were found before repeats were removed, how many repeats were dropped, and how many matches were skipped as file names or as non-ASCII text. If the found number is much smaller than you expected, look at how your source writes addresses: obfuscated forms and images of text hold addresses this tool cannot read. If the skipped file names number is large, your source is probably raw page code and the list is better for it.

## Worked example

Input:

```
Ada Lovelace <ada@example.com>, Support: help@example.com
Row 42,"grace@example.org",Engineering
Asset: brand@2x.png
Repeat: ADA@example.com
```

Result:

```
ada@example.com
help@example.com
grace@example.org

Found 4, repeats removed 1, file names skipped 1.
```

## Limits

- Addresses written to dodge scrapers, such as "name [at] example [dot] com", are not found. The tool reads the @ sign and nothing else.
- Addresses with accented or non-Latin letters, in either half, are skipped. The result shows how many, so you know to look at them by hand.
- Text glued straight onto an address can be taken as part of it. "ada@example.com-and-more" is dropped, because the hyphenated ending is not a valid top-level label. Put a space after addresses in your source if you can.
- A found address is not a checked address. It has the right shape, but nothing here confirms the mailbox exists or accepts mail.
- Input over 2 MB is refused with a message rather than cut short. Split it and run it in parts.

## Questions

**Does the extractor send my text anywhere?**

No. The search runs in your browser, on your device. Nothing you paste is uploaded or stored by this page.

**How much text can I paste?**

Up to 2 MB at once, measured in bytes. A page of text is a few kilobytes, so this holds a very large export. Larger input is refused with a message, and you can split it and run it in parts.

**Why was an address I can see in my text not found?**

The usual causes are an obfuscated form such as "name [at] example.com", a non-ASCII letter in the address, a first half over 64 characters, or an ending that is not plain letters. Check the skipped counts under the list for non-ASCII and file name matches.

**Does it handle "Name <address>" and CSV files?**

Yes. The tool looks only at the characters around each @ sign, so angle brackets, quotes and commas around an address do not matter. Paste a CSV as text and the addresses in any column come back.

**Are the extracted addresses safe to email?**

Not yet. They have the right shape, and that is all the extractor checks. Verify them first, remove role mailboxes you do not want, and only write to people you have a reason to contact.

**Why does it lowercase everything by default?**

Domains are never case sensitive. For the first half, RFC 5321 says a host may treat case as meaningful but that relying on it hurts interoperability and is discouraged, so lowercase makes repeats easy to spot. Turn lowercase off if you need the original spelling.

## Sources

- [RFC 5322, Internet Message Format, section 3.2.3 (characters allowed in the first half of an address)](https://www.rfc-editor.org/rfc/rfc5322) (read 2026-10-18)
- [RFC 5321, Simple Mail Transfer Protocol, section 4.5.3.1.1 (local part at most 64 octets)](https://www.rfc-editor.org/rfc/rfc5321) (read 2026-10-18)
- [RFC 1035, Domain Names Implementation and Specification (labels 63 octets or less)](https://www.rfc-editor.org/rfc/rfc1035) (read 2026-10-18)

## Related tools

- [Email checker](https://coldagentai.com/tools/email-checker.md)
- [Remove duplicate emails](https://coldagentai.com/tools/remove-duplicate-emails.md)
- [Bulk email list cleaner](https://coldagentai.com/tools/bulk-email-verifier.md)
- [Reverse email lookup](https://coldagentai.com/tools/reverse-email-lookup.md)
- [email-pattern](https://coldagentai.com/tools/email-pattern.md)

## Related

- [Free cold email tools](https://coldagentai.com/tools.md)
- [Free email checker: syntax, typos, domains](https://coldagentai.com/tools/email-checker.md)
- [Remove duplicate emails from a list](https://coldagentai.com/tools/remove-duplicate-emails.md)
- [Bulk email list cleaner and syntax checker](https://coldagentai.com/tools/bulk-email-verifier.md)
- [Reverse email lookup: free email search](https://coldagentai.com/tools/reverse-email-lookup.md)
- [Email pattern generator](https://coldagentai.com/tools/email-pattern.md)
