Email Extractor

Paste text that contains email addresses. Every address appears on the right, one per line, ready to copy into a spreadsheet or contact list.

0 addresses found

Last reviewed:

What the extractor counts as an email address

An email address has two halves joined by an @: the mailbox name and the domain. The extractor looks for the shape people actually use, which is letters, digits, dots, underscores, percent signs, plus signs and hyphens before the @, then a domain with at least one dot and an ending of two or more letters. Anything wrapped around the address, such as brackets, a mailto: prefix or the full stop at the end of a sentence, is left behind.

In your textExtractedWhy
Email me (pat.lee@school.edu) todaypat.lee@school.eduBrackets and spaces aren't part of an address
mailto:help@site.org?subject=Hihelp@site.orgThe link prefix and subject line are dropped
jo.smith+news@mail.example.co.ukjo.smith+news@mail.example.co.ukPlus tags and long domains are kept whole
Write to first.last@example.ca.first.last@example.caThe sentence's full stop is trimmed
user@localhostNothingNo dot in the domain
info@münchen.deNothingAccented letters in the domain aren't matched
o'brien@example.como'brien@example.comApostrophes in the name are kept

The email standard, RFC 5322, allows far stranger addresses than these, including quoted names with spaces inside them. They almost never turn up in real lists, so matching the common shape gives cleaner results. The cost is the occasional rare address that's missed, like the two rows above the last one, so skim the list for names you expected to see.

Duplicates, capital letters and the order of the list

Duplicates are matched without regard to capital letters, so Pat.Lee@School.edu and pat.lee@school.edu count as one address, and whichever spelling comes first in your text is the one you keep. Domains never care about case, and in everyday use the part before the @ is treated the same way, so this is almost always what you want.

Example: A sign-up sheet typed up from three clipboards

  1. Pasted text: names, phone numbers and emails from a school fair
  2. Addresses found with duplicates kept: 188
  3. With duplicates removed: 161

27 entries were repeats, usually families who signed up at more than one table. Send one message per address, not one per signature.

Sorting A to Z orders the list by the part before the @, so it groups first names rather than companies or schools. Leave the list in its original order when the order means something, such as who signed up first.

Anti-spam rules to check before you hit send

Finding an address isn't the same as having permission to market to it. Canada's anti-spam law (CASL) generally requires consent before you send a commercial electronic message, and Canadian privacy law (PIPEDA) prohibits address harvesting, meaning collecting addresses with a computer program, with very limited exceptions. The US CAN-SPAM Act works on an opt-out basis instead, but the FTC's guide lists harvesting addresses, or generating them through a dictionary attack, among the practices that can bring criminal penalties.

  • Use extracted addresses for people who already expect to hear from you: your own club roster, a class list or customers who signed up.
  • Keep a record of how and when each person agreed. Under CASL, it's the sender who has to prove consent.
  • Give every marketing email a working unsubscribe link. Both laws require a way to opt out, and CAN-SPAM makes no exception for business-to-business email.
  • For a one-off personal message to a group, put the addresses in Bcc so nobody's address is shown to everyone else.

Getting addresses out of emails, web pages and PDFs

SourceWhat to pasteWatch for
Email threadThe header lines and signaturesMany mail apps show only display names, so open the full To and Cc details first
Web pageThe copied page, or its source codeSource code can include image names like logo@2x.png, which look like addresses
PDFSelect all and copyAn address split across two lines comes out cut short or not at all
Spreadsheet or contacts exportThe whole column or fileSeveral address columns per person, such as home and work

After extracting, Compare Two Lists shows which addresses are new compared with the list you already have, and Remove Duplicate Lines cleans up a list you've merged by hand.

Skim the finished list for typos before you import it anywhere. Handwritten sign-up sheets produce gems like gmial.com, hotmal.com or an address ending in .con, and every one of them will bounce. Fix the obvious ones and ask in person about the rest.

Delete role addresses such as info@, sales@ and noreply@ before a personal mailing. They reach a shared inbox or nobody at all, and a noreply address usually isn't monitored.

Sources and further reading

How to use it

  1. 1Paste your text, a copied web page or a document.
  2. 2Choose whether to remove duplicates and sort the list.
  3. 3Copy the addresses.

Questions

Does it find addresses written like name [at] domain [dot] com?

No. It finds standard addresses only. Disguised addresses are written that way on purpose to avoid collection, so it's best to respect that.

Can I email everyone on the list?

Only if they've agreed to hear from you. Anti-spam laws such as Canada's CASL and the US CAN-SPAM Act set rules for commercial email, so check them before sending a bulk message.

Is my text uploaded anywhere?

No. Everything happens in your browser; your text never leaves your device.

Also handy: Text to QR Code, Shuffle a List