🔗

URL Extractor

Paste any text or HTML and instantly extract all URLs and hyperlinks. Deduplicate, sort and copy the list. Free, runs entirely in your browser.

📝 Text Tools Free Browser-based
Tool

What Does URL Extractor Do?

This tool scans any block of text or HTML for all web addresses — http, https and ftp — and lists them one per line. It's useful for extracting links from scraped pages, email newsletters, markdown files, log entries and any other unstructured text.

Supported URL Patterns

PatternExample
HTTPS linkshttps://example.com/page
HTTP linkshttp://example.com
FTP linksftp://files.example.com
Links in HTML href<a href="https://…">
Links with query stringshttps://…?id=1&ref=foo

Extracting URLs From Different Source Types

SourceHow to get the textWhat you'll find
Web pageView source (Ctrl+U), select all, pastehref, src, action URLs plus any plain-text links
Email newsletterView raw source in your email clientTracked redirect links plus the destination URLs
Sitemap XMLOpen the sitemap URL, copy all textAll <loc> URLs — typically the full site link list
Log fileCopy relevant linesRequested paths, referrer URLs, redirect chains
Markdown documentPaste raw markdown textInline links [text](url) and bare https:// addresses

Cleaning Up Extracted URLs

Extracted URLs often include tracking parameters (?utm_source=…), session tokens, or redirect wrappers. Use the Sort alphabetically option to group URLs by domain — this makes it easier to spot duplicates and filter out tracker URLs. Trailing punctuation (periods, commas, closing brackets) is automatically stripped from each match.

a.href).join("\n"). Paste the output into this tool.'], ['q' => 'Will tracking parameters like utm_source be included?', 'a' => 'Yes — the full URL including query strings is extracted. To remove tracking parameters, use a find-and-replace tool to strip everything from "?" onward, or clean the list manually after extraction.'], ]" />