Extract Emails

Extract email addresses from text.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Paste a block of text and press Run to pull out every email address, one per line. Addresses are listed in the order they appear.

How to use

1
Step 1
Paste the text into Input.
2
Step 2
Press Run.
3
Step 3
Copy the addresses from Output.

How it works

The tool looks for letters, digits and the characters. _ % + - before an @, followed by a domain and a dot with at least two letters. It matches the shape of an address rather than checking that the mailbox exists. Repeats are listed each time they occur.

Worked example

Addresses in a sentence

Input
Mail ana@example.com, bob.smith@mail.co.uk; or bad@x
Output
ana@example.com bob.smith@mail.co.uk
Walkthrough
The first two have a valid shape. bad@x has no dotted domain, so it is skipped.

Limitations

  • Checks the shape only, not whether the address is real.
  • Duplicates are kept.
  • Quoted local parts and internationalised domains are not recognised.

Questions

How do I extract emails from text?
Paste the text and press Run. Each address appears on its own line.
Does it verify the addresses?
No. It only checks that they look like email addresses.
Will it find the same address twice?
Yes, once per occurrence. Remove duplicates afterwards if you need to.
Is my text uploaded?
No. Extraction runs in your browser.

Features

  • One address per line
  • Plus tags and subdomains
  • Runs in your browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • CSS Flexbox Crash Course

    freeCodeCamp.org

    Case and spacing tools show up constantly in front-end copy.

    Watch on YouTube
  • Regular Expressions in 100 Seconds

    Fireship

    Fast regex refresher for text extraction patterns.

    Watch on YouTube