Text Extractor

Pull email addresses, URLs, phone numbers, numbers, hashtags, @mentions, IPv4 addresses, dates or hex colors out of any text. Unique and sorted results.

Options

Runs entirely in your browser. Your data is never uploaded.

What is Text Extractor?

Finds and lists one kind of data in a block of text: email addresses, URLs, phone numbers, numbers, hashtags, @mentions, IPv4 addresses, dates or hex color codes. Results appear one per line and can be de-duplicated and sorted.

How to use Text Extractor

  1. Paste the text (an e-mail thread, web page text, log, document…) into the Input box.
  2. Choose what to find in Extract.
  3. Keep Remove duplicates on for a unique list, and tick Sort results if you want them ordered.
  4. Copy or download the list; the line below shows how many matches were found.

Example

Input
Mail a.b@example.com or x@y.org. Visit https://algokit.dev/x?y=1
Output
a.b@example.com
x@y.org

Extract: Email addresses – 2 match(es) found

When to use Text Extractor

Use it to collect contacts, links or tags from text you already have permission to process. Matching is pattern-based: it does not verify that an email address exists or that a phone number is valid for a country, and unusual formats may be missed.

How Text Extractor works

Each kind uses a dedicated Unicode-aware regular expression. Emails need a local part, @ and a domain with a top-level domain of 2+ letters. URLs start with http://, https://, ftp:// or www. and lose trailing punctuation and unmatched closing brackets. Phone numbers are digit groups with optional +, spaces, dots, dashes and parentheses that contain 7–15 digits (dates and IP addresses are excluded). Hashtags and mentions accept letters of any script, so #Tiếng_Việt is found. IPv4 addresses are validated per octet (0–255). Dates match YYYY-MM-DD (optionally with time) and D/M/Y or D.M.Y forms. Hex colors match #RGB, #RGBA, #RRGGBB and #RRGGBBAA.

Common Use Cases

  • Collecting e-mail addresses from a long thread you received
  • Listing every link in a document or chat export
  • Pulling hashtags from social media captions
  • Extracting IP addresses from a log excerpt
  • Getting all numbers from a pasted report

Security Note

Extraction runs entirely in your browser. Only collect personal data such as email addresses or phone numbers when you are allowed to process it.

FAQs

Does it check whether the email addresses are real?

No. It only finds text that looks like an email address. Nothing is sent anywhere.

Which phone formats are recognised?

International and local numbers written with digits, spaces, dots, dashes and parentheses, such as +1 (555) 123-4567 or 0912 345 678, as long as they contain 7–15 digits.

Can I extract several kinds at once?

Pick one kind at a time; switching Extract updates the result instantly without re-pasting.

Why is #fff listed as a hashtag?

Hashtags are any # followed by letters, so short color codes made of letters also qualify. Use the Hex colors option to list colors explicitly.

Explore more categories