URL Extractor

Extract links and domains from text or HTML

Pull every http://, https:// and www. link out of text or HTML source, list just the domains if you prefer, filter by site, and strip tracking parameters - with a count of links per domain.
Try an example:

Output will appear here...

About URL Extractor

How it works

  1. The text is scanned for links starting with http://, https:// or www., and & in HTML is decoded.
  2. Punctuation that ends a sentence is trimmed, while brackets that belong to the link (like Wikipedia pages) are kept.
  3. You can keep only certain sites, strip tracking parameters, or list just the domains.
  4. A table counts links per domain.

What you need

  • Text, Markdown, emails or HTML source containing links.

Tips

  • Use "Domains only" to see which sites a page links to - handy for SEO and security reviews.
  • Follow up with the HTTP Status Code Checker to find broken links (up to 20 at a time).
  • Relative links in HTML (href="/about") have no domain, so they are not extracted.

Limitations

  • Links without http(s):// or www. (like example.com/page) are not detected, to avoid false matches.
  • Links built by JavaScript are not in the HTML source.

Runs in your browser. Your text never leaves your browser.

Frequently asked questions

Does it find links in HTML attributes?+

Yes - any absolute URL in the source is found, whether in href, src or plain text. Relative links (/about) have no domain and are skipped.

Why was a trailing bracket or full stop removed?+

Links often end a sentence or sit inside brackets. Punctuation at the end is trimmed unless the link itself opened a bracket, as Wikipedia URLs do.

What are tracking parameters?+

Additions like utm_source or fbclid that tell analytics where a click came from. Removing them keeps the same page and gives cleaner, more private links.

How many links can it handle?+

Thousands - it runs in your browser and is limited only by the 5 MB input size.