EthicalFusion

Email Extractor

Extract all email addresses from any text or page source.

Was this tool helpful?

Thanks for the feedback!

The Email Extractor scans any block of text, such as a copied web page, an HTML page source, a chat export or a spreadsheet dump, and lists every email address it finds, one per line. It saves you from reading through hundreds of lines to pick out contact addresses by hand.

What counts as an email address

The extractor looks for a pattern rather than checking a list:

  • Before the @: letters, digits, dots, underscores, plus signs and hyphens, so rahul_99, priya.sharma and name+tag all match.
  • After the @: a domain name containing at least one dot, such as gmail.com or acme.co.in.

Addresses inside HTML are found too, so pasting a page's source code picks up the addresses in mailto: links along with the visible ones. Any text around an address, such as "mailto:" or "?subject=", is left out.

Example, including one quirk to watch

Input:

Contact priya.sharma@gmail.com or sales@acme.co.in.
CC: Priya.Sharma@gmail.com, name+tag@sub.domain.com
Link: mailto:info@example.org?subject=Hello

Output:

priya.sharma@gmail.com
sales@acme.co.in.
Priya.Sharma@gmail.com
name+tag@sub.domain.com
info@example.org

Two things stand out. First, sales@acme.co.in. carries the full stop that ended the sentence, because dots are allowed in domain names. Check the ends of your results and delete any trailing dot before using the list. Second, duplicates are not merged: the same Gmail address appears twice with different capitalisation.

Cleaning the extracted list

  1. Remove trailing full stops from any address that ended a sentence.
  2. Convert the list to lowercase. Domain names ignore case, and large providers such as Gmail also ignore case before the @.
  3. Remove repeats with the duplicate line remover.

Gmail also ignores dots in the part before the @, so priya.sharma@gmail.com and priyasharma@gmail.com reach the same inbox. The extractor treats them as different addresses, so decide manually whether to keep both.

What the extractor will not find

  • Deliberately disguised addresses such as "name [at] domain [dot] com".
  • Addresses without a dot after the @, such as internal admin@localhost.
  • Internationalised addresses written in Devanagari or other non-Latin scripts.
  • Addresses that appear only inside images or PDFs; copy the text out first, or use OCR on an image.

It also does not verify anything. a@b.c matches the pattern even though no such mailbox exists, so a matched address is not proof the inbox is real.

Use extracted addresses responsibly

The legitimate uses are things like pulling your own customers' addresses out of an order export, collecting colleagues' addresses from a long email thread, or finding the contact address on a supplier's web page. Sending bulk mail to people who never agreed to hear from you breaks email providers' rules and can breach anti-spam and data protection law, including India's Digital Personal Data Protection Act, 2023. For links rather than addresses, the URL extractor works the same way.

Frequently asked questions

How do I extract email addresses from a web page?
Copy the page text, or view the page source and copy all of it, then paste it into the box and press Extract emails. Every address is listed on its own line.
Why does an extracted email end with a full stop?
If the address ended a sentence, the full stop is picked up because dots are valid in domain names. Delete the trailing dot before using it.
Does the email extractor remove duplicate addresses?
No, each occurrence is listed. Convert the list to lowercase and run it through a duplicate line remover to get unique addresses.
Does it check whether the email addresses are valid?
No. It only matches the shape of an address, so an address can be listed even if the mailbox does not exist.
Can it find emails written as name [at] domain [dot] com?
No. Disguised formats like that are not matched. Replace [at] with @ and [dot] with a full stop first.

Related tools

Embed this tool on your site

Paste it into any blog or website. Free, with a credit link.