convert

Extract URLs

Find every link (http, https and www.) in text or HTML and list them one per line.

Runs on your deviceBatch readyPaste textNew

Paste or drop

Paste text below, or drop a file instead.

0 chars · 0 lines
…or drop a file
Drag and drop, or choose files
TXTMDCSVTSVLOGJSONXML+10

Choose an output

Find every link (http, https and www.) in text or HTML and list them one per line.

Fine-tune

Optional — sensible defaults are already set.

About Extract URLs

Find every link in a block of text or HTML and list them one per line. It detects http://, https:// and ftp:// links, and optionally bare links that start with www., then removes trailing punctuation and stray closing brackets picked up from the surrounding sentence.

When it helps

  • Collecting all links from a newsletter, chat export or document for checking.
  • Pulling URLs from a page's HTML source to audit outbound or broken links.
  • Building a list of references from research notes.
  • Extracting links from server logs or social media exports.

Tips

  • Turn off 'Include www. links without http' if you only want complete URLs, for example to feed into a link checker.
  • Relative links in HTML, such as href="/about", have no domain and are not detected. Only absolute URLs are found.
  • Duplicate removal ignores case, but links that differ by a trailing slash or a tracking parameter still count as different.

Good to know

Quick answers about extract urls in your browser.

Open the page source in your browser (usually Ctrl+U or Cmd+Option+U), copy everything and paste it here. Every absolute link in the HTML, including those in href and src attributes, is listed.

Punctuation at the end of a link is usually part of the sentence around it, so it is removed. A closing bracket is kept only if the URL also contains an opening one, as in many Wikipedia links.

Yes. There is no sign-up, no watermark and no limit on how many files you process.

No. Files are read and processed locally in your browser, so they never leave your device.

Related tools