Text Tools

Extract email addresses from pasted text

This extractor sweeps pasted text for email-shaped strings and prints each address on its own line, in the order it appears. Developers use it to pull contacts out of HTML source, ticket exports and git logs without writing a throwaway grep, and support staff gather addresses from message dumps the same way. Matching is case-insensitive, tolerates dots, hyphens, plus tags, subdomains and accented letters, and "Unique only" (ticked by default) lists each address once.

How to use Extract Emails

  1. Open Extract Emails in the Toolbox101 app.
  2. Paste the text to scan into the Text with email addresses box: a log file, an HTML source dump or a message thread.
  3. Read the Output box, which lists each address it finds on its own line, in the order of first appearance.
  4. Untick Unique only if you want every occurrence, including repeats. If nothing matches, the box stays empty.
  5. Click Copy to take the list into a spreadsheet, script or mail client.

Worked example

Extract Emails returns the output below for this input.

Input

alice@example.com wrote the first patch,
dev@company.io and qa@example.co.uk reviewed it.

Output

alice@example.com
dev@company.io
qa@example.co.uk

Check it yourself: open Extract Emails and enter the same input.

Frequently asked questions

Which email formats does it find?

The common shapes: user@example.com, dotted local parts like first.last@company.io, plus tags like name+tag@example.com, hyphenated domains and subdomains such as qa@mail.example.co.uk. It does not check that a mailbox exists. Addresses split across a line break are not recovered.

Does it find emails inside HTML and mailto links?

Yes. The scan reads plain characters, so an address inside a mailto: link or buried in HTML source is matched like any other. HTML entities such as @ hide the at sign from the pattern, so decode entities first if you are scanning encoded markup.

Does the extractor remove duplicate addresses?

By default yes: Unique only is ticked, so an address pasted three times appears once, at its first position. Untick it to list every occurrence. For a sorted list, paste the output into Sort Lines afterwards.

Use Extract Emails now

Runs in your browser. Nothing you type is uploaded.