GALAXY OF TOOLS

TEXT SECTOR

URL Extractor

Pull every link out of text or HTML, de-duplicate it, filter by domain and strip tracking parameters.

.txt, .html, .md, .csv, .json, .xml and other text files

Runs entirely in your browser. Nothing you enter or upload is sent to a server.

Extract every URL from text or HTML

The URL Extractor pulls all the links out of whatever you paste — chat logs, emails, documents, Markdown, spreadsheets or raw HTML source — and gives you a clean, de-duplicated list. It understands where a link really ends, so full stops, commas, quotes and closing brackets around a URL are left behind, while brackets that belong to the link (as in many Wikipedia addresses) are kept.

You can include links that start with www. and, optionally, bare domains like example.com, add https:// to them, and strip marketing tracking tags such as utm_source, fbclid and gclid to get short, shareable links. Filter by domain, sort, then copy the list or download it as CSV or text.

Nothing leaves your browser: links are found locally, and the clickable list opens them only when you tap one.

How to use the URL Extractor

  1. Paste text or HTML into the top box, or press “Open a file” to load a text, HTML, Markdown or CSV file.
  2. Choose which kinds of links to include — full URLs are always found; tick “Links starting with www.” and “Bare domains” as needed.
  3. Tick “Remove tracking parameters” to clean utm_*, fbclid, gclid and similar tags out of every link.
  4. Pick an order and separator, and type a domain into “Filter by domain” to keep or exclude particular sites.
  5. Press “Copy links”, download a CSV or .txt file, or open “Open links and domain counts” to visit links and see which domains appear most.

URL Extractor features

Smart link boundaries

Trailing punctuation is trimmed and parentheses are balanced, so “(see https://site.com/page).” and Markdown links give exactly https://site.com/page.

www. and bare domains

Finds www.example.com and, when enabled, plain domains like github.com/user using a list of common top-level domains, ignoring email addresses and file names such as script.js.

Tracking parameter removal

Removes all utm_* tags and common click IDs (fbclid, gclid, msclkid, dclid, yclid, ttclid, mc_eid, _hsenc and more) while keeping parameters the page needs.

Duplicate removal

Links that differ only in host capitalisation or a trailing slash count as one; the first occurrence is kept.

HTML-aware

Works on page source: & inside href values is turned back into & so copied links work.

Domain filter and counts

Include or exclude domains, match endings like .gov or .edu, and see a per-domain count.

What gets removed by “Remove tracking parameters”

Tracking parameters tell analytics tools where a click came from. They are safe to remove for sharing or bookmarking, because they do not change which page opens.

ParameterAdded by
utm_source, utm_medium, utm_campaign, utm_term, utm_content, utm_idCampaign links (Google Analytics convention)
fbclidFacebook and Instagram outbound links
gclid, gbraid, wbraid, dclidGoogle Ads click identifiers
msclkidMicrosoft Advertising
ttclid, twclid, li_fat_id, igshidTikTok, X, LinkedIn and Instagram
mc_cid, mc_eid, _hsenc, _hsmi, mkt_tokEmail marketing platforms

How link endings are detected

A URL may legally contain characters such as full stops, commas, colons and brackets, so a simple pattern often grabs too much. After matching a run of URL characters, the extractor trims trailing punctuation that is almost never part of a link — . , ; : ! ? quotes and asterisks — and removes a closing bracket only when the link contains more closing than opening brackets. That keeps Wikipedia addresses such as …/wiki/Mercury_(planet) intact while dropping the bracket in “(see example.com)”.

Bare domains are only recognised when the ending is a common top-level domain such as .com, .org, .io, .co.uk or .in, and never directly after an @ sign, which prevents email addresses and file names like report.pdf or app.js from being reported as websites.

  • Building your own tagged links? Use the UTM Builder.
  • Break a link into protocol, host, path and parameters with the URL Parser, or encode special characters with the URL Encoder.
  • Collecting contacts from the same text? Try the Email Extractor.

URL Extractor FAQ

How do I extract all URLs from a text?

Paste the text into the URL extractor. Every http, https and ftp link is listed instantly, plus www. links if that option is ticked. Copy the list or download it as CSV.

Can I extract links from HTML source code?

Yes. Paste the page source and the links inside href and src attributes are found, with & converted back to &. Relative links such as /about have no domain, so they are not included.

How do I remove UTM parameters from a link?

Tick “Remove tracking parameters”. All utm_ tags and common click IDs such as fbclid and gclid are removed, and other parameters stay in their original order.

Why is a link missing its last bracket or full stop?

Brackets and punctuation directly after a link usually belong to the sentence. A closing bracket is kept only when it pairs with an opening bracket inside the link itself.

Will it find links like example.com without https?

Yes, if you tick “Bare domains”. It is off by default because ordinary text contains many dotted words; with it on, only common top-level domains are matched and https:// is added if you choose.

Is my text sent anywhere?

No. The URL extractor works entirely in your browser. Links are only opened if you click them yourself.

You might also need