URL extractor for HTML source code and link audits

Paste plain text or HTML source and this URL extractor lists every absolute http and https link it finds, including those inside href and src attributes. Remove duplicates, sort the list and filter by domain.

  • Free
  • No sign-up
  • Runs in your browser

Processing…

Runs in your browser — your text is never sent to our servers.

How to use URL Extractor

  1. Paste the text, email or HTML source that contains the links into the box.
  2. Type a domain such as example.com if you only want links to that site and its subdomains.
  3. Keep "Remove duplicates" on to list each URL once, and tick "Sort A-Z" if you want alphabetical order.
  4. Copy the list or download it as a text file. The counter shows how many URLs were found in total.

Features

  • Finds absolute http:// and https:// links in text and HTML
  • Reads links inside href and src attributes and decodes & in addresses
  • Trims trailing punctuation such as commas, full stops and closing brackets
  • Optional domain filter that includes subdomains
  • Duplicate removal and A to Z sorting
  • Everything stays in your browser with no daily limit

Examples

InputResult
See https://a.com/x, and (https://b.org/page). <a href="https://a.com/x">x</a>https://a.com/x https://b.org/page — 3 links found, 2 listed after removing the duplicate.
Same text, domain filter "a.com"https://a.com/x — Subdomains such as blog.a.com would also be kept.

Limitations

  • Relative links such as /about or ../page have no domain, so they are not extracted.
  • Links without a protocol, such as www.example.com, are not detected. Only addresses starting with http:// or https:// are listed.
  • The tool reads text only: it does not open the links or check whether they work.

Learn more

A URL extractor saves time when you need the links from a long text: an exported email thread, a spreadsheet cell, a log file or the source code of a web page. Instead of copying each address by hand, you paste the text once and read a clean list.

Absolute URLs, which start with http:// or https://, contain the full address of a resource, so they can be recognised reliably. Relative links such as "/contact" only make sense together with the page they appear on, so a tool working on pasted text cannot turn them into complete addresses without knowing the site.

Typical uses are auditing the outbound links of a page, collecting the pages to put in a sitemap, or checking which domains an article links to. The domain filter narrows the list to one site, and deduplication removes repeats. Remember that a link appearing in a text does not prove that it works: test important URLs before you rely on them.

Frequently asked questions

How do I extract all links from a web page?

Open the page source in your browser, copy the HTML, paste it here and read the list. The tool does not visit pages itself.

Does it find links inside HTML attributes?

Yes. Links in href, src and similar attributes are found because they are written as full http or https addresses in the source.

Can I keep only links to one website?

Yes. Type the domain in the filter box. A filter for example.com keeps example.com, www.example.com and blog.example.com.

Are my links uploaded anywhere?

No. The extraction runs in your browser and the text never leaves your device.

What is the difference between URL Extractor and Extract URLs?

URL Extractor is built for HTML and SEO work: it reads href and src values and can keep only the links of one domain. Extract URLs is meant for plain text such as emails or chat logs and also finds addresses that start with www. and have no http.

Sources

Last reviewed: September 30, 2026