Email Extractor: Extract Emails from Text & Files Online
Extract emails from text, HTML, or files online: deduplicate results, view domain stats, and export to CSV. Paste or drop any document.
Updated 2026-08-16
Related Tools
Remove Duplicate Lines: Online Sort & Clean Text Tool
Text Diff Checker: Compare Text Online Side by Side
Prompt Sanitizer: Remove Sensitive Data from AI Prompts
Text Case Converter Online: UPPER, lower & camelCase
HTML to Text Converter: Remove HTML Tags & Get Plain Text
Lorem Ipsum Generator: Text, Words & Paragraphs Online
Features
- Extract every email address from any text with a single paste, without per-use quotas
- Works with plain text, HTML source code, CSV exports, email headers, and log files
- One-click deduplication removes repeated addresses, keeping only unique emails
- Optional placeholder filtering skips fake addresses like user@example.com and info@domain.com
- Smart file-name filter avoids false matches such as logo@2x.png or banner@1x.jpg
- Domain statistics show which email domains appear most frequently in your list
- Copy all extracted emails to the clipboard with one click
- Export results as a CSV file for spreadsheets or mailing lists
- Open local .txt, .html, .csv, or .eml files directly in the browser
- Instant extraction as you type, with live counts of total and unique addresses
- Results list with per-address copy buttons for grabbing a single email
How to Use
- 1Paste or type any text containing email addresses into the left panel, or click Open File to load a .txt, .html, or .csv file.
- 2All email addresses are extracted instantly as you type, with no button to press.
- 3Review the extracted list on the right panel, which updates in real time.
- 4Click the copy button next to any email to copy a single address.
- 5Use Copy All to copy every extracted email as a newline-separated list.
- 6Turn on Unique Only to remove duplicates, essential when cleaning mailing lists.
- 7Enable Ignore Placeholders to skip test addresses like user@example.com found in documentation or templates.
- 8Enable Ignore File Names to filter false positives such as logo@2x.png or screenshot@1x.jpg from image paths.
- 9Check Domain Stats to see which email domains dominate your list, useful for audience or vendor analysis.
- 10Click Save CSV to download the extracted emails as a spreadsheet-ready CSV file.
- 11Use the sample buttons to load demo text and see how filtering options affect results.
Frequently Asked Questions
What is an email extractor?
An email extractor scans text and pulls out every valid email address it finds. Instead of copying addresses one by one from documents, HTML code, or logs, you paste the whole text once and get a clean list of addresses you can copy, deduplicate, and export.
Does it work with HTML source code?
Yes. Paste the raw HTML source (mailto: links, footer signatures, contact blocks) and the tool extracts every address, ignoring the surrounding markup. It also handles plain text, CSV exports, email headers, and log files.
What counts as a valid email address?
The tool uses the standard email pattern: letters, numbers, and common special characters before the @, followed by a domain with a valid two-letter-or-more top-level extension, such as name@company.com or john.doe@sub.example.co.uk.
Why do I get fake addresses like name@example.com?
Placeholder addresses such as user@example.com and info@domain.com are common in documentation, templates, and sample code. Turn on Ignore Placeholders and these known fake domains are automatically filtered from the results.
Why does my list contain things like logo@2x.png?
Text with image paths or URLs can contain @-signs that look like emails, such as logo@2x.png or banner@1x.jpg. Enable Ignore File Names and any match ending in a common file extension (png, jpg, svg, css, and more) is filtered out.
How do I remove duplicate emails?
Toggle Unique Only on. The list is deduplicated case-insensitively, so john@example.com and John@Example.com count as the same address. This is essential before importing addresses into a mailing list or CRM.
Can I use the extracted emails for marketing?
The tool gives you a clean list for import into your own tools. Note that sending unsolicited email to addresses you do not own may violate anti-spam laws such as CAN-SPAM or GDPR. Always use extracted addresses in a compliant way.
Can I extract emails from an Excel file?
If your addresses live in Excel, export the sheet as a .csv file (File > Save As > CSV) and open it with the Open File button; it is read locally and every address is extracted. Native .xlsx support is not included, so for .xlsx files either export the column to CSV first or copy the cells and paste them into the input panel.
Can I open a file instead of pasting?
Yes. Click Open File and choose a .txt, .html, .htm, .csv, or .eml file from your computer. The file is read locally in your browser and its content is placed into the input panel; nothing is uploaded.
How are the emails exported?
Click Save CSV to download a CSV file with one email per row, ready to open in Excel, Google Sheets, or import into a mailing service. You can also use Copy All to get a newline-separated list on your clipboard.
What file formats can I open?
The Open File button accepts plain text (.txt), HTML (.html/.htm), CSV (.csv), and email message (.eml) files. Any other text-based format can be pasted directly into the input panel instead.
Are uppercase emails handled correctly?
Yes. Matching is case-insensitive for duplicates, so JOHN@EXAMPLE.COM and john@example.com are treated as one address. When copied, addresses keep the form in which they first appeared in your text.
Can I extract emails with regex or in Python?
Yes. The common regex pattern is [A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}, which you can use in Python with re.findall(pattern, text) or in any regex tool. This tool applies the same pattern and adds placeholder and file-name filtering on top: if you only need the raw matches, the regex alone is enough.
Can you verify if an email address is real or deliverable?
No. The tool checks format, deduplicates, and filters known placeholders, but it does not contact mail servers, so a valid-looking address may still not exist or be deliverable. For deliverability checks you need an SMTP validation service, which usually has to send test connections from a server.
Why are some emails missing from my results?
The extractor only recognizes standard address formats. Obfuscated forms such as name [at] domain [dot] com, addresses split across HTML entities, or text embedded in images cannot be detected. Paste the unobfuscated text. For image-based emails, run OCR first or type the address manually.