Email Extractor

Paste text or upload a file and this tool scans it for valid-looking email addresses, removes duplicates case-insensitively, sorts the results alphabetically, and shows how many were found versus how many are unique. Export the list as a plain .txt file (one per line) or a single-column .csv you can import into a spreadsheet or mailing tool. Everything runs locally in your browser, so nothing you paste gets uploaded.

PrivateFreeWorks offline

Reviewed by Vincenzo Manto, Founder & Lead Developer · Last updated September 27, 2026

How it works

  1. 1

    Paste text into the box, or drop/upload a .txt, .log, or .csv file.

  2. 2

    The tool scans the text with a regex tuned for real-world email formats and lists every match.

  3. 3

    Duplicates are removed case-insensitively and the results are sorted alphabetically.

  4. 4

    Copy the list or download it as .txt or .csv.

A fast way to pull contacts out of unstructured text

Emails end up buried in exported chat logs, scraped web pages, PDFs converted to text, and old spreadsheets pasted as plain text. Instead of manually scanning for the @ symbol, this tool finds every address in one pass and gives you a deduplicated list ready to use.

Built for privacy-sensitive text

Since everything runs client-side in JavaScript, you can paste text with real customer or contact data, such as server logs, support tickets, or CRM exports, without it being sent or stored anywhere outside your browser tab.

Frequently asked questions

Does this tool upload my text or file anywhere?

No. The extraction runs in your browser with JavaScript, so nothing you paste or upload leaves your device.

How does it decide what counts as a valid email?

It uses a regular expression that matches the common structure of real email addresses (local part, @, domain with at least one dot), then trims stray punctuation that often gets caught at the edges, like a trailing period ending a sentence.

Are duplicate emails removed?

Yes, case-insensitively. '[email protected]' and '[email protected]' count as the same address, and only the first-seen casing is kept in the output.

Can I extract emails from a log file or a large document?

Yes. You can upload a .txt, .log, or .csv file directly instead of pasting, and the tool reads the file content and scans it the same way it scans pasted text.

What formats can I export the results in?

A plain-text file with one email per line, or a single-column CSV with an 'email' header, so you can drag it straight into a spreadsheet.

Will it catch every possible valid email address?

It covers most real-world formats, including plus-tagged addresses and subdomains, but no regex fully implements the email specification, so extremely unusual or deliberately obscure formats can be missed.

Related tools