Email extractor
Paste any text, such as an email thread or a spreadsheet column. The addresses are pulled out, de-duplicated and counted by domain.
Free · no signup Runs in your browser
How do I extract email addresses from text?
Paste the text into the box, whether it is an email thread, a document or a spreadsheet column. The tool finds every email address in it, removes duplicates if you ask, sorts them and shows how many come from each domain. Choose to separate the list with new lines, commas or semicolons, so it can go straight into a mail program or a spreadsheet. Everything happens in your browser.
What it is good for
An email address has a simple shape: a local part, an @ sign and a domain with a dot in it. This tool finds that shape in any text, which makes it useful for cleaning a list you already own: pulling the addresses out of a long reply-all thread, a signature-filled export, a form-submissions file or a messy spreadsheet column, and then removing the repeats. The domain count helps you spot typos such as gmial.com, because a one-off domain next to a common one stands out.
It finds addresses written in the usual form. It does not check that the mailbox exists, since that would require contacting mail servers, and it does not decode addresses that are hidden or written as 'name at example dot com'.
It runs in your browser. Your text is never uploaded, and there is no sign-up.
Use it lawfully in Canada
Canada's anti-spam law (CASL) and the federal privacy law (PIPEDA) apply to what you do with addresses. Sending commercial messages generally needs the recipient's consent. The Office of the Privacy Commissioner also notes that collecting electronic addresses with a computer program designed to harvest them, and using addresses collected that way, is covered by the law's address-harvesting rules. So use this tool to tidy lists of people who have given you their address or who are part of your own correspondence, not to build a marketing list from web pages or from a purchased list without checking consent. This is general information, not legal advice.
When to use it
- Cleaning a list of your own contacts
- Pulling the addresses out of a long email thread
- Checking a list for duplicates and typo domains
- Preparing addresses for a mail merge or a spreadsheet
Mistakes it helps you avoid
- Keeping the same address in several cases (Ana@x.ca and ana@x.ca).
- Missing a typo domain in a long list.
- Copying addresses with a trailing full stop.
- Treating a scraped list as consented.
The formula
How the answer is worked out.
1. Scan the text for the pattern: letters, digits and . _ % + - ' , then @, then a domain with at least one dot and a final part of two or more letters.2. Trim stray punctuation from the ends.3. Optionally lower-case, remove duplicates and sort.4. Count addresses per domain.
The pattern is a practical one, not the full email standard, so unusual but legal addresses (quoted local parts, for example) are not matched. Domains are compared in lowercase because they are not case-sensitive.
Example: a short thread
A thread mentions ana@example.ca three times, ben@mail.com once and Ana@Example.ca once.
- Found5
- Unique (ignoring case)2: ana@example.ca and ben@mail.com
2 addresses from 2 domains
Untick unique to keep all five.
Terms on this page
- CASL
- Canada's anti-spam legislation, which governs commercial electronic messages.
- Address harvesting
- Collecting electronic addresses with a program, which Canadian law restricts.
Common questions
Does it check that the addresses are real?
No. It checks the form only.
Is it legal to extract emails?
Tidying your own lists is fine. Harvesting addresses to send marketing without consent breaks Canadian law. This is not legal advice.
Can it find hidden addresses like 'name at example dot com'?
No.
How do I put the list into Excel?
Choose new lines, copy and paste into a column.
Is my text uploaded?
No.
Is anything I enter sent to a server?
No. The calculation happens in your browser and nothing you type leaves your device.
What to work out next
Where these numbers come from
- Office of the Privacy Commissioner of Canada — Guidance for businesses doing e-marketing (CASL and PIPEDA) Address harvesting and consent for electronic addresses.
- Wikipedia — Email address The structure of an email address.
Last verified 2026-10-25 The method on this page is checked against the sources above at least once a year. Spotted something out of date? Tell us and we will fix it.
Related tools
Remove duplicates
Paste a list and remove repeated lines, with options to ignore case, trim spaces, drop blanks and sort.
Open toolSort lines
Sort a list of lines A to Z, Z to A, in number order, by length, reversed or shuffled, and copy the result.
Open toolFind and replace
Find text and replace every match, with case and whole-word options, optional regular expressions, a match count and a highlighted preview.
Open toolLink extractor
Paste HTML to list every link on it, with link text, internal or external status and nofollow flags, and copy the URLs.
Open toolList randomizer
Shuffle the lines of any list into a random order, with options to remove blanks and duplicates or keep only the first few.
Open toolWord counter
Count words, characters, sentences and paragraphs as you type, with reading time and your most used words.
Open tool📝 Text tools
Small text jobs done in your browser: counting, converting, comparing and cleaning. What you type never leaves your device.
See all 17 tools in this section