Home/Blog/How to Extract Email Addresses from Any Text

How to Extract Email Addresses from Any Text

Extract all email addresses from pasted text, documents, HTML, and more using a free online tool.

2026-03-16Extract Data

Extracting email addresses from unstructured text is one of the most common data tasks for marketers, researchers, and anyone dealing with contact information.

Common Sources of Embedded Emails

Email addresses appear in business documents and PDFs, web page source code, email threads and chat logs, CRM exports and spreadsheets, and resume and cover letter text.

How to Extract Them

Paste any text into the Extract Emails tool above and click Run. The tool scans for all valid email patterns and returns a deduplicated list, one email per line. It handles standard formats, plus addresses with dots, hyphens, and underscores.

Building an Email Extraction Pipeline

For messy text, combine tools: start with Fix PDF Line Breaks to repair broken text, then Normalize Whitespace to clean spacing, then Extract Emails to pull the addresses, and finally Remove Duplicate Lines to deduplicate. Use the pipeline feature to chain these together — each tool's output flows into the next.

What This Tool Does NOT Do

This tool does not validate whether emails are deliverable, look up email addresses from names, or scrape websites. It only extracts email patterns that already exist in the pasted text.

Try it now — paste your text below

Everything runs locally in your browser. No data is stored.

Extract Emails

Scan pasted text and extract every valid email address. Results are deduplicated and listed one per line.

Example

Input

Contact john@example.com or jane@company.org for info.

Output

john@example.com
jane@company.org

How Extract Emails Works

Scan pasted text and extract every valid email address. Results are deduplicated and listed one per line.

This tool runs entirely in your browser — no data is sent to any server. Paste your text, click Run, and get your result instantly. You can also chain this tool with others using the pipeline feature: run Extract Emails, then continue with a related tool to build a multi-step text workflow.

TextRefinery is a free, open-source text processing toolkit. Learn more about regular expressions and text processing on the web.

TextRefinery — Browser-first text transformation tools. All processing happens locally in your browser.