URL Extractor

Paste any text or HTML and get a clean list of the web addresses in it. Remove repeats, sort A to Z and copy as lines or a comma-separated list.

Links hide in documents, emails, chat exports, bookmarks files and page source. If you have ever needed to collect all the references from a long article, check which sites an email links to, or move a hundred links from a document to a spreadsheet, you know the choice is between hunting and copying or finding a tool that lists them. This is that tool.

Paste the text and the links appear as a list.

Anything that starts with http://, https:// or www. and continues until a space or a character that cannot be part of an address, such as a quote mark or a closing bracket. If a link sits at the end of a sentence, the full stop, comma, colon, semicolon or question mark that follows it is trimmed off, so “see https://example.com/docs.” gives you a link that works.

If you paste raw HTML, the addresses inside href and src attributes are found as well, since they sit inside the text as written.

Settings

“Remove repeats” lists each address once, which matters in long documents that link to the same page many times. “Sort A to Z” groups links from the same site together, a useful way to see which sites a text cites most. You can choose one link per line or a comma-separated line.

Where it is less helpful

Bare domains without a protocol or www, such as example.com, are not detected, because in ordinary text it is very hard to tell a domain from a file name, an abbreviation or a typo. A link that contains a closing bracket, as in many Wikipedia addresses like https://en.wikipedia.org/wiki/Text_(disambiguation), will be cut at the bracket, because the tool cannot know whether the bracket is part of the address or closes a parenthesis in the sentence. Check the few that matter.

It also does not follow the links or check that they work. For that you need a link checker, which has to visit each page.

Doing more with the list

Once you have the links, filter lines narrows them to a section of a site (keep lines containing /blog/), remove duplicate lines cleans a list assembled from several sources, and the URL encoder and decoder converts addresses with special characters between readable and percent-encoded forms. To get the visible text of the page without the markup, use remove HTML tags, and the email extractor does the same for email addresses.

Frequently asked questions

Why was part of my link cut off?

Links end at a space or at characters like quotes and closing brackets. An address with a bracket in it, such as many Wikipedia pages, is cut at the bracket. Copy the full address from the original in those cases.

Does it find links without http or www?

No. A bare domain such as example.com looks too much like a file name or abbreviation to detect reliably.

Can I paste HTML into it?

Yes. Addresses inside href and src attributes appear as ordinary text and are found. The tool lists them without altering the markup.