EthicalFusion

URL Extractor

Extract all links and URLs from any text.

Was this tool helpful?

Thanks for the feedback!

The URL Extractor scans any block of text and lists every web address that starts with http:// or https://, one per line, in the order they appear. Paste an email, a WhatsApp chat export, a document, HTML source or a sitemap, and you get a clean list of links to check, save or share.

What the extractor recognises as a URL

A match begins with http:// or https:// and continues until it reaches a space, a line break, a single or double quote, a < or > sign, or a closing bracket ). That makes it work well with:

  • HTML source: addresses inside attributes stop at the closing quote.
  • XML sitemaps: <loc>https://example.com/about-us</loc> yields just the address, so you can list every page in a sitemap in one paste.
  • Markdown links: in [docs](https://x.com/a) the closing bracket ends the match.
  • Query strings: parameters such as ?id=5&page=2 are kept in full.

Example: links from a chat

[10:42 am] Ravi: check this https://maps.app.goo.gl/AbC123 and the form at https://forms.gle/xyz789.
[10:45 am] Neha: also https://example.com/a?b=1&c=2, thanks

The result:

https://maps.app.goo.gl/AbC123
https://forms.gle/xyz789.
https://example.com/a?b=1&c=2,

Notice the full stop and the comma at the end of the second and third links. Punctuation that follows a link in a sentence is included, so delete it before you open or save the list.

What it misses or gets wrong

  • Addresses without a scheme: www.example.com or example.com on their own are not found.
  • Capital letters in the scheme: HTTPS:// is not matched, only lowercase http and https.
  • Other link types: ftp://, mailto: and phone links are ignored. For email addresses, use the email extractor.
  • Brackets inside URLs: an address such as a Wikipedia page ending in _(planet) is cut at the closing bracket, losing its last character.
  • Duplicates are kept: a link that appears five times is listed five times. Run the output through the Duplicate Line Remover for a unique list.
  • No checking: the tool does not visit the links, follow redirects or test whether a page still exists.

Practical uses

  • Collecting every form, drive and meeting link shared in a busy class or office group.
  • Auditing the outbound links in an article or newsletter before it goes out.
  • Turning a sitemap into a plain list of pages for an SEO audit or redirect plan.
  • Gathering references and sources from notes or research documents.

Extraction runs in your browser, so pasted chats and documents stay on your device. If the links you collect are percent-encoded and hard to read, the URL decoder turns them back into readable text.

Frequently asked questions

Why does the extractor not find www links?
It only matches addresses that begin with http:// or https://. Links written as www.example.com without a scheme are not detected.
Why is there a full stop or comma at the end of some links?
Punctuation directly after a link is treated as part of it. Remove the trailing mark before opening or saving the link.
Does it remove duplicate URLs?
No. Every occurrence is listed in order. Use a duplicate line remover on the result to get unique links.
Can I extract links from a sitemap XML file?
Yes. Paste the sitemap content and each address inside the loc tags is listed on its own line.
Does it check whether the links work?
No. It only finds addresses in the text; it does not open them or test their status.
Can it extract links from a PDF?
Copy the text out of the PDF first and paste it here. Links that are only clickable areas without visible addresses will not be found.

Related tools

Embed this tool on your site

Paste it into any blog or website. Free, with a credit link.