Skip to content
Tezmy Tools

URL Extractor

Extract every web link from text or HTML, with duplicates removed

example.com
1
example.org
1
tezmytools.com
1

4 found, 3 kept.

Runs in your browser. Nothing is uploaded.

About the URL Extractor

A URL extractor pulls the web addresses out of a block of text so you do not have to hunt for them by eye. Paste an email thread, a document, an HTML source, a chat export or a bibliography and the tool lists every link it finds, one per line. It understands links that start with http, https or www, and it takes off punctuation that belongs to the sentence rather than the address, such as a full stop or a closing bracket. You can remove duplicates, sort the list and see which websites appear most often. Everything is done in your browser, so your text stays private.

Updated October 2026

How to use the URL Extractor

  1. 1Paste your text or HTML source into the left box.
  2. 2Choose whether to remove duplicates and to sort the links.
  3. 3Read the list of extracted links on the right.
  4. 4Check the website summary to see the most common domains.
  5. 5Copy the list or download it as a text file.

Common uses

  • Collecting the sources from a research document or a reading list.
  • Listing all links in an email or newsletter before checking them.
  • Finding every URL in a chat export or support ticket.
  • Preparing a list of pages to review for an SEO audit.
  • Pulling reference links out of Markdown or HTML.

What counts as a link

The tool recognises text 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 or an angle bracket. It requires a dot in the website part, so words such as http://localhost are skipped. Links with parameters, fragments and ports are kept whole.

After extracting

Run the list through the Remove Duplicate Lines tool if you have several sources, sort it with the Sort Lines tool, split a long link into parts with the URL Parser, or decode percent-encoded text with the URL Encoder and Decoder. The HTML Link Analyzer on this site goes further and examines links on a pasted page.

Good to know

Extracting a link does not mean it is safe to open. Treat links from unknown emails and messages with care, and check where they lead before visiting. Also remember that copying lists of links from other sites can be subject to copyright and terms of use, so use the results responsibly.

Features

  • Finds http, https and www links
  • Takes off trailing punctuation
  • Keeps brackets that belong to the link
  • Removes duplicates and sorts
  • Counts links per website
  • Nothing is uploaded

Frequently asked questions

How do I extract all the links from a text?

Paste the text into the box. The tool scans it for anything that starts with http://, https:// or www. and lists each one on its own line. Remove duplicates is on by default, so each link appears once.

Does it work on HTML source code?

Yes. Paste the HTML and it finds links in href and src attributes as well as in visible text, because it looks for the address pattern itself. Relative links that do not start with http or www, such as /about, are not included.

Why are trailing full stops and brackets removed?

Links at the end of a sentence are usually followed by a full stop or comma that is not part of the address. The tool strips those, and also a closing bracket unless the link contains a matching opening one, as in many Wikipedia addresses.

Can I get a list of websites instead of full links?

The summary lists the domains with counts, with the www. prefix removed. For a breakdown of one address into parts, use the URL Parser on this site.

Does the tool check whether links work?

No. It only finds text that looks like a link. Testing whether a page loads needs a network request, which this browser-only tool does not make.

Is there a limit on how much text I can paste?

There is no fixed limit. Very large pastes run in your browser, so a phone may slow down with several megabytes of text, and a computer will manage much more.

Related tools