How to Pull Every Email Address Out of a PDF, Word File or Web Page
What an email extractor does
An email extractor reads a block of text and picks out everything that looks like an email address. It saves you from scrolling through a long document, a pasted inbox or a page of HTML and copying addresses one at a time.
ToolJiffy’s Email Extractor works on text you paste into it. You can paste plain text, a copied table or the HTML source of a page. It then:
- finds every string shaped like
name@domain.tld, including dots, plus signs and multi-part domains such as.co.uk; - removes exact duplicates;
- lists the results one per line, ready to copy or download as a
.txtfile.
The pasted text is processed in your browser. The tool does not upload files, does not visit websites and does not check whether an address can receive mail.
The basic method: copy, paste, extract
Every source in this guide uses the same three steps:
- Get the text out of the source. Select all and copy (Ctrl+A then Ctrl+C on Windows, Cmd+A then Cmd+C on a Mac).
- Paste it into the extractor. Open Email Extractor, paste into the box and choose Extract emails.
- Copy or download the list. Use Copy to paste the addresses elsewhere, or Download to save them as a text file with one address per line.
The only thing that changes between sources is step 1.
From a PDF
Open the PDF in your browser or PDF reader, select all text and copy it. Paste the result into the extractor.
If select-all highlights nothing, or you can only select the whole page as one picture, the PDF is a scan. A scan has no text layer, so there is nothing to copy. Run it through OCR PDF first to recognise the text, then copy that text into the extractor. OCR can misread characters, for example rn as m, so check the important addresses by eye.
If you want an editable document as well, PDF to Word gives you a DOCX of a PDF that already has selectable text.
From a Word document
Open the document, press select all and copy, then paste. Addresses inside tables, headers and footnotes come along with the main text when they are included in the selection. If the document has several sections with different headers, scroll through and copy the header text separately.
From Excel or Google Sheets
Select the column or the whole sheet and copy. When you paste, the cells arrive as tab-separated text, which the extractor reads like any other text. Names, phone numbers and notes in other columns are ignored because they do not look like addresses, so you do not need to delete those columns first.
To get only the domain of each address, keep the addresses in a sheet and use =MID(A1,FIND("@",A1)+1,100) next to each one. This returns everything after the @ sign.
From Outlook or Gmail
Mail apps do not have a single “copy every address” button, but there are two practical routes:
- From the message text. Open the email or thread, select all inside the message and copy. Signatures, quoted replies and CC lines are included.
- From the recipient fields. In a long CC list, click into the field, select all and copy. Mail apps usually copy names and addresses together as text; the extractor keeps only the addresses.
For a whole mailbox, use the mail app’s own export, then open the exported file in a spreadsheet and copy the relevant columns.
From a web page
Copying the visible text of a page only gets addresses that are shown on screen. Many sites put addresses only inside mailto: links. To catch those, open the page source (Ctrl+U in most desktop browsers), select all and copy, then paste the HTML into the extractor. It finds addresses inside links, such as mailto:hr@company.in, as well as in the page text.
The extractor reads only what you paste. It does not follow links, open other pages or crawl a website.
What the extractor finds, and what it skips
We tested the extractor’s pattern on a mixed sample. Here is how it behaved:
| Text in the sample | Result |
|---|---|
John.Doe@Example.com |
Found |
sales@shop.co.uk. at the end of a sentence |
Found as sales@shop.co.uk (the final full stop is dropped) |
me+news@mail.com |
Found, plus tag kept |
mailto:hr@company.in?subject=Job in HTML |
Found as hr@company.in |
john.doe@example.com after John.Doe@Example.com |
Kept as a separate line: duplicates are removed only when they match exactly, including capital letters |
name [at] domain dot com |
Not found: written-out addresses are skipped |
user%40site.com (URL-encoded) |
Not found |
admin@localhost (no dot in the domain) |
Not found |
Two practical tips follow from this:
- Lowercase before you deduplicate if your list mixes capitals. Paste the result into a sheet and use
=LOWER(A1), or use Text Capitalizer to lowercase the whole list, then extract again. - Fix written-out addresses by hand. Search the source for
[at]and(at)before you copy.
Check the list before you use it
The extractor finds text that looks like an address. It does not:
- send a test email;
- check that the domain exists;
- check that the mailbox exists or belongs to the person you think it does.
So jon@gmial.com is listed just like a real address. Read through short lists, and for long lists, sort them alphabetically so typos and near-duplicates sit next to each other.
Use addresses responsibly
Extracting addresses from your own documents, mailboxes and contact sheets is routine admin work. Collecting addresses from other people’s pages to send them marketing email without their consent can break anti-spam and privacy laws in many countries, and it damages your sender reputation. Only contact people who expect to hear from you.
Related: extracting links instead
If you need the web links in a document rather than the email addresses, URL Extractor uses the same copy-and-paste method and lists every literal http:// or https:// link, one per line.
Try it on ToolJiffy
- Email ExtractorExtract email addresses from pasted text or HTML in your browser, remove exact duplicates, and export a .txt list.
- URL ExtractorExtract HTTP and HTTPS URLs from pasted text or HTML in your browser, strip trailing punctuation, and download a deduplicated .txt list.
- OCR PDFMake a scanned or image-only PDF searchable, selectable, and copyable.
- PDF to WordConvert PDF to editable Word (.docx) in your browser without email or signup—keeps positioned text boxes, separate pictures, and page sizes.
Questions
How do I extract email addresses from text?
Paste the text into the Email Extractor and choose Extract emails. It finds strings shaped like name@domain.tld, removes exact duplicates and lists one address per line, ready to copy or download as a TXT file. The text stays in your browser.
How do I extract email addresses from a PDF?
Open the PDF, select all text and copy it, then paste it into the extractor. If nothing gets selected, the PDF is a scan with no text layer; run it through OCR PDF first, then copy the recognised text.
How do I extract email addresses from Excel?
Select the cells or the whole sheet, copy, and paste into the extractor. It ignores everything that is not an address, so columns of names, phone numbers and notes do not need cleaning first.
How do I extract the domain from an email address?
The domain is everything after the @ sign. In Excel or Google Sheets, =MID(A1,FIND("@",A1)+1,100) returns it for the address in cell A1. The extractor itself lists full addresses, not domains.
Does the extractor check whether an email address works?
It only finds text that looks like an address. It does not send mail, look up the domain or confirm that a mailbox exists, so a typo such as jon@gmial.com is listed like any other match.