Links hide inside long emails, chat exports, research notes, spreadsheets and the HTML source of web pages. When you need all of them, for an SEO audit, a bookmark clean-up or a list of sources to check, clicking through and copying each one is tedious and easy to get wrong.
Paste the text below and the extractor pulls out every web address that starts with http://, https:// or www. It removes repeats, can reduce each link to its domain name, sorts the list if you like, and joins it with the separator of your choice. All of this happens on your device, so private documents and internal URLs are never sent anywhere.
What counts as a link here
The extractor looks for text that begins with http://, https:// or www. and continues until a space, a line break, a quote, a backtick or an angle bracket. That makes it work on plain prose as well as on HTML, Markdown and JSON, where links sit inside quotes or brackets such as href="https://example.com/page" or [docs](https://example.com/docs).
Punctuation that belongs to the sentence rather than the address is trimmed from the end: a full stop, comma, colon, semicolon, question mark, exclamation mark, quote or asterisk. Closing brackets are trimmed only when they have no matching opening bracket inside the link, so a Wikipedia URL ending in (disambiguation) keeps its parenthesis while a link written in brackets loses the stray one.
Ways people use a link extractor
SEO and link audits
Paste the source of a page, or an export from a crawler, to list every outgoing link. Turn on Domains only to see which sites a page links to, and Sort A-Z to group them.
Collecting sources and references
Pull every citation link out of a thesis draft, a report or a long Slack or WhatsApp export so you can check them one by one or build a reference list.
Cleaning up bookmarks and notes
Exported bookmarks and notes apps mix titles, dates and links. Extracting just the URLs, with duplicates removed, gives a list you can open in tabs or import elsewhere.
Security and spam review
When a suspicious email arrives, view its source and paste it here to see every link it contains, including ones hidden behind innocent-looking button text, without clicking anything.
Options and counters
Remove duplicates is on by default and drops exact repeats, keeping the first occurrence. Domains only replaces each link with its host name, for example blog.example.com, in lower case and without the path, query or port. With Domains only on, a Keep www. switch appears; leave it off to treat www.example.com and example.com as the same site. Sort offers Original order, A-Z and Z-A, and Separator joins the list with a New line, a Comma, a Semicolon or a Space.
Found shows how many links were detected before de-duplication, Listed shows how many are in the output, and Duplicates removed shows the difference. Copy puts the list on your clipboard, and Download saves it as urls.txt, or domains.txt in domain mode. The list refreshes instantly whenever you edit the text or change an option.
Как пользоваться инструментом
- Paste text, HTML source or an export into the input box.
- Keep Remove duplicates on to list each link once.
- Turn on Domains only if you want site names instead of full URLs, and decide whether to Keep www.
- Choose a Sort order and a Separator for the output.
- Copy the result or download it as a text file.
Limitations
- Bare domains without http or www, such as example.com on its own, are not detected, because they are hard to tell apart from file names and abbreviations.
- Other schemes such as ftp://, mailto: and tel: are not extracted. Use the Email Extractor for addresses.
- Duplicate detection compares links exactly, so https://example.com and https://example.com/ are treated as two different links.
- Relative links in HTML, such as href="/about", have no domain in the text and are skipped.
- The tool does not visit the links, follow redirects or check whether they still work.