What is an email extractor?
An email extractor is a tool that scans a block of text and lists every email address in it. It does the tedious part of cleaning up a CRM export or a long thread: finding each address, removing duplicates and handing you a clean list.
This one also works as a link extractor: the same scan collects every URL. It reads only what you give it and never goes out to the web.
- Email threads: every sender and recipient in a thread or .eml file.
- Spreadsheets: extract email addresses from text cells that mix names and notes.
- HTML source: addresses in
mailto:links and URLs in everyhref. - Contacts and logs: .vcf cards, server logs and JSON payloads.
How to extract emails from text in three steps
Paste the text, read the list, then copy or download it. Everything else is optional clean-up.
- Paste the text or open the file. The scan runs in chunks, so a 5 MB export won't freeze the tab.
- Check the list. Each address appears once, and upper and lower case versions count as the same address.
- To narrow it, type domains in the filter box. Exclude drops free-mail domains such as gmail.com; Only keeps just the domains you list.
- Copy or download. One per line suits import screens, comma-separated suits a To: field, and CSV opens in Excel.
For a PDF, web page or Word file, copy the text out first; the sections below cover each source.
What this email extractor catches, and what it throws out
It finds real addresses in messy text and skips strings that only look like one.
| In the text | Result | Why |
|---|---|---|
Jane Doe <Jane.Doe@Acme.IO> | Jane.Doe@acme.io | Angle brackets and display names are stripped; the domain is lowercased |
mailto:sales%40acme.io?subject=Hi | sales@acme.io | Percent-encoding is decoded and the ?subject part ignored |
jane@acme.io | jane@acme.io | HTML entities for @ and . are decoded |
sales [at] acme [dot] io | sales@acme.io | Only with the decoding option on |
write to bob@acme.io. | bob@acme.io | Trailing punctuation is not part of the address |
logo@2x.png | Removed | Retina image names end in a file extension, not a real domain |
lodash@4.17.21 | Removed | Version numbers have no valid top-level domain |
you@example.com | Kept, flagged | example.com is reserved for documentation (RFC 2606) |
Flagged addresses stay in the list but also appear under Worth a second look: placeholders, and long machine IDs that error-tracking services put in page source. Removed matches are listed too, so you can check nothing real was dropped.
The syntax check is light: it enforces the RFC 5321 limit of 64 characters before the @, a 254-character total and a valid top-level domain. It can't tell whether a mailbox exists, because that needs a network lookup. Files must be text-based (up to 5 MB each); save .xlsx or .docx as CSV or text first.
Link extractor: extract links from webpage source code
Paste a page's HTML source and switch to Links. The URL extractor collects every http and https address plus href and src values, without duplicates.
- In Chrome, press Ctrl + U (⌘ + Option + U on a Mac) to view the source.
- Select all, copy, and paste it above.
- Tick Include relative links and type the page's address as the base URL, so
/pricing/becomes a full URL. A<base href>tag in the source is used if the box is empty. - Keep Hide image, script and font links on to see only pages.
Base URL: https://example.com/blog/post/
href="/pricing/" -> https://example.com/pricing/
href="../archive/" -> https://example.com/blog/archive/
href="//cdn.example.com/app.js" -> https://cdn.example.com/app.jsTracking parameters such as utm_source and fbclid are removed by default, so one page shared from three campaigns counts once. Links starting www. get https:// added. Nothing is fetched, so links loaded later by JavaScript won't be in the source you paste.
How to extract emails from a PDF, Excel or a website
Get the content out as text, then paste it here.
- How to extract emails from a PDF
- Open the PDF, press Ctrl + A then Ctrl + C, and paste, or export it to plain text and open that file. A scanned PDF is an image, so run OCR on it first.
- How to extract email addresses from Excel
- Paste the column or sheet, or save it as CSV and open the file. Addresses buried in notes are found too.
- Extract emails from a website
- View the page source (Ctrl + U), copy it and paste. The source includes
mailto:links and entity-encoded addresses the visible page hides. The tool doesn't crawl other pages. - Gmail or Outlook
- Choose Show original (Gmail) or View message source (Outlook) and paste, or open a downloaded .eml file.
Email extractor vs email finder: what's the difference?
An email extractor pulls addresses that are already written in the text you give it. An email finder guesses or looks up the address of a named person who hasn't published it, usually by testing common patterns like first.last@company.com against a database or mail server.
| Email extractor (this tool) | Email finder | |
|---|---|---|
| Input | Text, HTML, CSV or files you already have | A person's name and company, or a LinkedIn profile |
| Output | Every address present in that text | A likely address, often with a confidence score |
| Needs the internet | No | Yes: it queries the provider's database or servers |
| Typical user | Anyone cleaning a list or export | Sales and recruiting teams doing outreach |
| Account needed | No | Usually, with monthly lookup limits |
To reach a specific person, use an email finder. Apollo.io runs as a Chrome extension on LinkedIn and Gmail; our email finder extension guide compares the options. If you already have the text, an extractor is faster, free and keeps data on your machine.
Do you need an email extractor Chrome extension?
Only if you want to pull addresses from pages as you browse without copying the source. For text you already have, a web page like this one does the same job without installing anything.
An email extractor extension for Chrome reads the page you're on. To work on any site it usually asks for access to all websites, which Chrome shows as "Read and change all your data on all websites": it can see every page you open, including email and banking tabs. Read what all-sites access means and what the scripting permission adds before you install one.
- Check where results go. Some send found addresses to their own servers.
- Prefer narrow access. One that runs only when you click its icon (activeTab) is safer.
- Avoid crawlers. Tools that harvest whole sites are what anti-spam laws target.
For tables or lists from a page, a scraper such as Instant Data Scraper exports them to CSV; see our web scraper picks.
Is email extraction legal? Consent and anti-spam law
Extracting addresses from your own documents is generally fine; the law regulates harvesting addresses by automated means and sending marketing to them. Rules differ by country.
| Law | Consent before marketing? | Harvesting | Must include |
|---|---|---|---|
| CAN-SPAM Act (US) | Not required; honour opt-outs within 10 business days | Sending to addresses harvested with automated tools from sites that forbid it is an aggravated violation (15 U.S.C. 7704(b)) | Honest headers and subject, ad disclosure, postal address, unsubscribe |
| UK GDPR and PECR | Yes for individuals and sole traders (or the soft opt-in for existing customers); companies can be emailed unless they object | Scraped personal addresses are personal data and need a lawful basis | Your identity and an opt-out in every message |
| EU GDPR plus national ePrivacy rules | Generally yes for individuals | You must tell people where you got their data, within a month (Article 14) | Identity, purpose, and a way to object |
| CASL (Canada) | Yes: express or implied consent | Collecting personal addresses with harvesting software without consent is prohibited (PIPEDA s. 7.1); a published address implies consent only for messages relevant to the person's business role | Sender identity, contact details, unsubscribe |
The FTC says each email that breaks CAN-SPAM can cost up to $53,088, and CASL allows penalties up to $1 million for individuals and $10 million for businesses per violation. The CRTC notes that finding an address online is not a broad licence to email it.