Skip to content
DoItJag

URL Extractor

Get a clean list of every web address in a block of text, an exported chat, an email or a page’s HTML source. Duplicates and tracking parameters can be removed, and you can see which websites the links point to.

About URL Extractor

URL Extractor collects the web addresses buried in a piece of text and gives them back as a tidy list, one per line. It recognises links that begin with http://, https://, ftp:// or www., whether they sit in a sentence, in a Markdown link or inside the href and src attributes of HTML source. Commas, full stops, quotes and closing brackets that belong to the surrounding sentence are trimmed off, while brackets that are part of the address itself, common on Wikipedia, are kept.

Optional clean-up steps make the list more useful. Duplicates are removed, comparing website names without regard to capital letters. Tracking tags such as utm_source, fbclid and gclid can be stripped so each link is short and shareable. Addresses that start with www. can be given an https:// prefix, and a “Links per website” summary shows which sites appear most often.

When to use it

  • You want every link shared in an exported WhatsApp, Slack or Telegram chat.
  • You are auditing the outgoing links in a page’s HTML before publishing it.
  • A newsletter draft is full of tracked links and you need the clean addresses.

Worked example

Paste this text with “Remove tracking parameters” and “Add https://” ticked:

Slides: https://example.com/deck?utm_source=mail&id=7. Notes at www.example.org/notes, and see https://en.wikipedia.org/wiki/Mercury_(planet).

The result lists three links: https://example.com/deck?id=7, https://www.example.org/notes and https://en.wikipedia.org/wiki/Mercury_(planet). The full stop and comma after the first two links were dropped, the tracking tag was removed while the id stayed, and the Wikipedia brackets survived. The summary reads 3 links from 3 websites.

Good to know

  • Plain names without www. or a scheme, such as example.com, are skipped on purpose to avoid catching file names.
  • Relative links in HTML, for example a path starting with a slash, have no website name and are not listed.
  • Links are never opened or checked, so dead pages are listed like any other.
  • The CSV download has two columns: the link and its website.
  • All processing stays in your browser.

How to use URL Extractor

  1. Paste your text or HTML, or open a text file.
  2. Choose the options: remove duplicates, sort, remove tracking parameters, add https://.
  3. Select Extract links, then copy them or download a .txt or .csv file.

Privacy: how it works

Everything happens in your browser. Your text is not sent to any server.

Frequently asked questions

Which links does it find?

Addresses starting with http://, https://, ftp:// or www. Bare names such as example.com are not picked up, because in ordinary text they are hard to tell apart from file names like report.pdf.

What are tracking parameters?

Extra tags added to links to measure clicks, such as utm_source, fbclid and gclid. Removing them gives shorter, cleaner links that still open the same page.

Are the links opened or checked?

No. The tool only reads the text you give it. It never visits the links, so it cannot tell whether a page still exists.