Skip to content
ToolsNow
Guides All tools
Text

Extract emails, URLs, phone numbers and more from text

Pull the email addresses, links, phone numbers, hashtags or IP addresses out of a block of text — or anything your own regular expression matches — and export the result as a list.

Runs in your browser — your input is not uploaded to ToolsNow.

Text to search
0 chars0 words0 lines
What to extract

Optional. Added to whatever is selected above.

Paste some text and choose what to pull out of it.

The text you enter is processed locally in your browser and is not uploaded to ToolsNow.

This finds patterns, not verified facts. A string shaped like an email address may not be deliverable; a run of digits that looks like a phone number may be an order reference or a date. International numbering makes this worse — anything from 7 to 15 digits is a plausible phone number somewhere, so the filter here accepts that whole range and will inevitably include some things that are not phone numbers. Treat every result as a candidate to check, not a confirmed contact.

Extracted URLs are shown as plain text and are deliberately not clickable, because a link pulled out of an untrusted document is exactly the kind of thing that should not be one keystroke from being opened. Custom patterns are your own regular expressions: a very broad one over a large document can be slow, so matching stops at 100,000 hits and tells you rather than freezing the page.

How to use

  1. Paste the text. An email thread, a log file, a spreadsheet column, a page of notes.
  2. Choose what to find. Pick one or more types. Each button shows how many it matched.
  3. Tidy the results. Remove duplicates, sort them, or show the surrounding words for context.
  4. Export. Copy the list, or download it as TXT, CSV or JSON.

Questions

Does finding an email address mean it is real?

No, and this is the most important limitation to understand. Extraction matches shapes, not identities. A string like [email protected] has the shape of an address and will never receive mail; an old address that has since been closed looks identical to a working one. The same applies to every type here. Treat results as candidates to verify, not as a verified list.

Why are some phone numbers missed and other things matched by mistake?

Because there is no universal phone-number format. International numbering allows anything from roughly 7 to 15 digits with wildly different grouping, so any pattern broad enough to catch real numbers worldwide will also catch some order references, dates and ID numbers. This tool accepts 7–15 digits and says so rather than pretending to validate. If your data has a consistent format, a custom pattern will beat the general one every time.

Why are extracted links not clickable?

Deliberately. A URL pulled out of a document you did not write is untrusted by definition, and making it one keystroke from being opened is a bad default. The results are plain text so you can read a destination before deciding to visit it.

How do duplicates get merged?

When de-duplication is on, matches of the same type with the same value collapse into one row with a count. Ignoring case treats [email protected] and [email protected] as the same address, which is usually right for email and domains and wrong for case-sensitive identifiers — so it is a separate toggle.

Can I use my own pattern?

Yes. The custom field takes an ordinary JavaScript regular expression and runs alongside whatever else you have selected. An invalid expression is reported rather than silently ignored, and matching stops at 100,000 hits so an overly broad pattern on a huge document cannot freeze the page.

Is the text uploaded?

No. Everything runs in this page, which matters here more than for most tools — the input is often a customer list, a support thread or a log file.

Related tools