toolbench.onlineby Valkyron Labs

Text

Email Extractor

Pull email addresses out of notes, logs, and contact lists and line them up for reuse. Unique, lowercase results are ready to copy or download.

Email Extractor

Pull email addresses out of messy pasted text.

Paste text to pull out email addresses.

Extracted emails

—

Output actions

Ready to copy output once your result appears.

One address per line, unique and lowercased by default

Email Extractor scans the paste for addresses and prints one per line. Unique only and Lowercase results are both checked when the page opens. Unique compares the lowercased form, so a second spelling of the same mailbox is dropped even if you later clear Lowercase results. The match requires a dot in the host. Copy output and Download output read the list, and the download name is email-extractor.txt.

How to pull addresses out

  1. 1Paste into Source text, or press Load sample. The sample mentions hello@toolbench.online twice and Support@Example.com once. The box starts empty.
  2. 2Leave Unique only and Lowercase results checked, or clear either box. The boxes do not rescan until you click.
  3. 3Press Extract emails. Extracted emails lists one address per line. A non-empty find says Extracted N emails. or Extracted 1 email. Zero finds say No email addresses found. and leave the list empty. A blank paste says Paste text that contains email addresses. and clears the list.

What it is good for

  • • Turning a note that mixes sentences and addresses into a one-per-line list.
  • • Collapsing Hello@Toolbench.online and hello@toolbench.online into the first spelling, or into lowercase.
  • • Seeing that a host with no dot never joins the list.

Example

Input

Contact hello@toolbench.online and Support@Example.com
Also ping hello@toolbench.online again.

Output

hello@toolbench.online
support@example.com

Load sample fills this paste. With both boxes checked, the second hello is dropped and Support@Example.com is lowercased. The list keeps first-seen order.

What the address pattern accepts

The scan is one regular expression, not a mailbox lookup. The local part may contain letters, digits, and the characters . ! # $ % & ' * + / = ? ^ _ ` { | } ~ -. The host is labels of letters, digits, and inner hyphens, and there must be at least one dot. user+tag@example.co.uk matches, and a trailing period after the last label is left outside the match. A comma, a closing angle bracket, or the word mailto: in front of an address is not part of the match, so the address itself still counts.

admin@localhost does not match, because there is no dot. a@b does not match either. ops@192.168.0.1 does match: the labels are numeric and the dots satisfy the pattern. That does not mean the address is deliverable. The page never looks up DNS, never opens a link, and never checks that the local part is a real person. Obfuscated wording such as a name followed by the word at and a host is ignored, because those characters are not an @.

Unique only and Lowercase results

Both boxes start checked. Lowercase results maps each match with toLowerCase before anything else. Unique only then walks that list and keeps a match only when its lowercased form has not been kept yet. The comparison key is lowercased even when Lowercase results is cleared, so Hello@Toolbench.online followed by hello@toolbench.online keeps only the first spelling. Clear Unique only and the second spelling remains. Clear both boxes and you get every match in the original case, in the order they occurred.

If Lowercase results stays on and Unique only is off, both copies are lowercased, so the list can show the same lowercase line twice. The count in the status is the number of lines printed, not the number of raw matches before unique filtering. Load sample does not extract by itself. Extract emails is the click that fills the pane. Changing a checkbox after a run leaves the old lines until you extract again.

When a line list of addresses is the goal

Use this scan when a thread, a footer, or a dump already contains real @ addresses and you want those strings on their own lines. It is not a line cleaner. Repeated non-address lines, wrapped sentences, and blank rows are simply ignored. If the next step is to drop duplicate lines of some other kind, paste the result into the text deduplicator. If the lines arrived wrapped, line operations joins breaks. Neither of those pages understands an @ pattern.

A literal find-and-replace is the find and replace tool. Sorting the extracted lines is the alphabetical line sorter. This page does not sort. First-seen order is the order of the output, which is why support@example.com follows hello@toolbench.online in the sample even though s comes before h.

Duplicates, punctuation, and hosts without a dot

Unique only is case-insensitive and order-preserving. It does not merge addresses that differ by a plus tag. ada@example.com and ada+list@example.com are two lines. It does not strip dots inside the local part. A match that ends at a dot, because the next character cannot extend the host, keeps the host without that dot. Punctuation glued to the front, such as an opening angle bracket, is outside the pattern and does not block the find.

An empty or all-whitespace box throws before the scan and the status is Paste text that contains email addresses. The pane is cleared. A box with text but no match succeeds: the status is No email addresses found. and the pane is empty, so Copy output has nothing to copy. That empty success is different from the error on a blank box. The page does not save the paste. Download output writes email-extractor.txt. There is no second column for the surrounding sentence, and no button that copies only the first address.

Rules and limitations

Matches need an @ and a dotted host. Unique only starts checked and drops later spellings of the same lowercased address. Lowercase results starts checked. First-seen order is kept.

A blank paste is an error and clears the list. Text with no match is a success with an empty list and the sentence No email addresses found. Download output saves email-extractor.txt. The page does not look up DNS.

Common problems

If a second spelling survived, Unique only was off, or the local part actually differed, including a plus tag. The uniqueness key does not ignore tags.

If admin@localhost is missing, the host has no dot, so the pattern skipped it. A numeric dotted host such as ops@192.168.0.1 is kept even though it is not a domain name.

Frequently asked questions

Are the two checkboxes on when the page opens?

Yes. Unique only and Lowercase results both start checked. Clear either one and press Extract emails again. Changing a box does not rescan by itself.

Why is the second hello missing from the sample?

Unique only keeps the first lowercased form. hello@toolbench.online already occupied that key, so the later copy is dropped. Support@Example.com becomes support@example.com because Lowercase results is on.

Does a host without a dot count?

No. admin@localhost and a@b are skipped. The host pattern requires at least one dot. A dotted numeric host can still match, and that match is not a deliverability check.

What is the difference between a blank box and no matches?

A blank box errors with Paste text that contains email addresses. A box of other text with no address succeeds, says No email addresses found., and leaves the list empty.

Is my input uploaded or saved?

This tool processes input in your browser and does not save its input or output to local storage. Copy and download are user actions. The site uses analytics for page and action metadata and may use ads and production error reporting; see the Privacy Policy for those services.

About this tool

Maintained by Toolbench. For large or deeply nested files, split the input into smaller batches and verify representative results before using them in an import or application. Report reproducible problems through Contact.

Next steps

Related tools

Continue the workflow with nearby tools for formatting, publishing, debugging, or follow-up checks.

Trust

Policies, contact, and answers

Clear pages for how Toolbench works, what we collect, and how to reach us.