Text Extractor
Pull links, email addresses, hashtags, @mentions and numbers out of a block of text. Choose what to extract and get a clean list without duplicates, ready to copy.
Extraction uses pattern matching, so unusual formats may be missed or partly matched: URLs must start with http://, https:// or www., and international email addresses with non-Latin letters are not recognized. Duplicates are removed and items stay in the order they first appear. Emails, hashtags and mentions are compared without regard to case.
How to Use the Text Extractor
- Paste the text you want to search, such as an email thread, document, chat log or social post.
- Tick what to extract: URLs, email addresses, hashtags, @mentions or numbers.
- Review each list. The count shows how many unique items were found and how many duplicates were removed.
- Copy a single list, or use Copy or Save to get every list at once.
Examples
Emails and links
- Input
- Contact sales@example.com or Support@Example.com. Docs: https://example.com/docs, and sales@example.com again.
- Output
- URLs (1) https://example.com/docs Email addresses (2) sales@example.com Support@Example.com
Hashtags and mentions
- Input
- Big news! #launch #Launch thanks to @maria
- Output
- Hashtags (1) #launch @mentions (1) @maria
About the Text Extractor
Text extraction saves copying items out one by one. Use it to collect the links from meeting notes, gather email addresses from a signup thread you were sent, list the hashtags used in a set of posts, or pull the figures out of a report.
Each item type is found with a pattern. URLs must start with http://, https:// or www., and trailing punctuation such as a full stop or closing bracket is trimmed. Email addresses are found around each @ sign. Hashtags and mentions must start a word, so the # in a URL or the @ in an email address is not counted twice. Numbers include decimals, thousands separators such as 1,234.56 and a leading minus sign.
Duplicates are removed and the first occurrence is kept, in the order items appear. Emails, hashtags and mentions are compared without regard to case. Pattern matching cannot recognise every possible format: links without http or www, unusual top-level domains and international addresses with non-Latin characters may be missed. Results are plain text; links are not opened and nothing is fetched. Your text is not sent to a Usevanta server. Only collect contact details you are allowed to use.
Frequently Asked Questions
How do I extract all email addresses from text?
Paste the text, make sure Email addresses is ticked and copy the list. Repeated addresses are removed, even if they differ only in upper and lower case.
Why was a link not found?
Links must start with http://, https:// or www. A bare domain such as example.com/page is not extracted, because it is hard to tell apart from ordinary text like file names.
Are duplicates removed?
Yes. Each list shows every item once, in the order it first appeared, and the heading says how many duplicates were removed.
Is my text uploaded anywhere?
No. Extraction runs in your browser with JavaScript, and the text is not sent to a Usevanta server.
Can I extract phone numbers?
There is no phone number mode yet. The Numbers option finds digit groups, but it will not keep phone formatting such as spaces or brackets together. For a custom pattern, use the Regex Tester.
Related Tools
All text tools →Test JavaScript regular expressions with highlighted matches and capture groups.
Count how often each word appears in a text, with total and unique word counts.
Sort lines of text alphabetically or by length, with options to remove blanks and duplicates.
Collapse repeated spaces, trim lines and tidy up blank lines in any text.