About the Text Extractor
This Text Extractor finds one kind of item in a block of text and lists it, one item per line. Choose email addresses, web links, numbers, hashtags, @mentions or IPv4 addresses, paste your text, and the list appears at once with a count such as 5 found (3 unique). You can remove duplicates, sort the list in natural order and decide whether capital letters count when comparing. Copy the list, copy it as a comma-separated line for a spreadsheet or mail program, or download it as a text file. The patterns catch the usual forms, but not every valid address or link, and an extracted email is not checked to see whether it exists. Numbers inside words, like v1.2.3, are pulled apart. The text is processed in your browser and is not uploaded.
Updated September 2026
How to use the Text Extractor
- 1Paste your text into the Your text box.
- 2Choose what to extract: emails, links, numbers, hashtags, mentions or IP addresses.
- 3Turn Remove duplicates and Sort A to Z on or off, and check the count.
- 4Copy the list, copy it as one comma-separated line, or download it.
Pulling emails and links out of text
Long messages, exports, web pages and documents often hide the items you need in the middle of ordinary sentences. Paste the whole thing in and pick a kind. The tool scans for it and lists the items in the order they appear, without the surrounding words. This is handy for collecting contact addresses from an email thread, gathering all the links in an article or listing the IP addresses in a log.
Line breaks from Windows, Mac and Linux are all handled, so text copied from any source works.
Removing duplicates and sorting
Repeated items are common, for example the same address on many lines. Remove duplicates keeps the first of each. The count shows how many were found and how many are left. For email addresses, capitals are ignored when comparing, because in practice the same address is often typed with different capitals; other kinds compare exactly unless you tick the option.
Sort A to Z uses a natural order, so item2 comes before item10 and capitals do not jump the queue.
What the patterns match
- Emails: letters, digits and . _ % + - before the at sign, then a domain ending in two or more letters.
- Links: anything starting with http:// or https:// up to the next space, without trailing punctuation.
- Numbers: optional minus sign, digits, optional thousands commas and decimals.
- Hashtags: a # followed by letters, digits or underscores, including accented and non-Latin letters.
- Mentions: an @ followed by up to 30 letters, digits or underscores.
- IPv4: four numbers from 0 to 255 separated by dots, without leading zeros.
Using the list in a spreadsheet
Paste the one-per-line list into a spreadsheet column, and each item lands in its own cell. Use Copy as comma-separated when you want a single line for a mail program's recipient box or a database query. To tidy the list further, try Remove Duplicate Lines or Sort Lines, and use the Regex Tester to test your own patterns.
Features
- Six kinds: emails, links, numbers, hashtags, mentions and IPv4 addresses
- One item per line, in order of appearance
- Optional duplicate removal, with or without case sensitivity
- Natural sorting that puts a2 before a10
- Count of items found and unique items
- Copy as lines or as a comma-separated list
- Download as a text file
Frequently asked questions
How do I extract email addresses from text?
Paste your text and leave Extract on Email addresses. Every address in the text is listed, one per line, in the order it appears. Then copy the list or download it. Trailing full stops and commas after an address are not included.
Can I get only unique addresses?
Yes, Remove duplicates is on by default and keeps the first appearance of each item. For emails, capital letters are ignored when comparing, so [email protected] and [email protected] count as the same address. Turn Case-insensitive duplicates off if capitals matter to you.
How do I extract links from a document?
Copy the text of the document, paste it, and choose Web links (URLs). Links starting with http:// or https:// are found, and punctuation such as a closing bracket or a full stop at the end is dropped. Links written without http, like www.example.com, are not detected.
What counts as a number?
Whole numbers, decimals and negative numbers, and numbers with comma thousands separators such as 1,234.50. Numbers inside words are pulled apart, so v1.2.3 gives 1.2 and 3. Currency symbols and percent signs are not included in the result.
Does it check that emails are real?
No. It only finds text shaped like an email address. It cannot tell whether the mailbox exists, and addresses with unusual forms, such as quoted local parts or non-Latin domain names, may be missed.
Is my text uploaded?
No. The extraction runs in your browser, and nothing is sent to a server or saved. It is gone when you close or reload the page.