Text Tools

Text Extractor

Extract emails, URLs, numbers, hashtags or custom regex matches from any block of text, deduplicated and ready to copy.

Tool

About the Text Extractor

The Text Extractor pulls specific pieces of data out of a wall of text. Paste a page of prose, HTML or a log file and extract every email address, URL, number or hashtag — or supply your own regular expression for full control.

Built-in patterns

TypeMatches
Email addressesname@example.com style addresses
URLsFull http(s) links and www. addresses
NumbersIntegers and decimals, including negatives
Hashtags#tags including letters, numbers and underscores
CustomAny regular expression you provide

How to use it

  1. Paste your text.
  2. Choose a built-in type, or enter a custom regular expression.
  3. Click Extract. Matches are listed one per line, with duplicates removed.
  4. Copy the list.
  5. Custom regular expressions

    For advanced extraction, write a pattern in JavaScript regular-expression syntax. For example [A-Z]{3,} finds runs of three or more capitals, and \d{4}-d{2}-d{2} finds ISO dates. If a pattern is invalid the tool says so instead of failing silently.

    Uses

    • Harvesting contact emails from a document.
    • Collecting every link from pasted HTML.
    • Pulling phone numbers, prices or IDs from reports.
    • Grabbing hashtags for social media research.

    Who it is for

    Researchers, marketers, journalists, data analysts and developers.

    Privacy

    Extraction runs locally — your text never leaves the browser.

    Frequently asked questions

    Yes. The output keeps one of each unique match while the summary shows the raw match count.
    JavaScript regular expressions. Use the custom pattern field with a case-sensitive pattern; the built-in modes are already tuned.
    Very unusual formats may not match the standard pattern. Switch to the custom pattern field and refine the regular expression for your case.

Related tools

Guides for this tool