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
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
| Pattern | Example |
|---|---|
| HTTPS links | https://example.com/page |
| HTTP links | http://example.com |
| FTP links | ftp://files.example.com |
| Links in HTML href | <a href="https://…"> |
| Links with query strings | https://…?id=1&ref=foo |
Extracting URLs From Different Source Types
| Source | How to get the text | What you'll find |
|---|---|---|
| Web page | View source (Ctrl+U), select all, paste | href, src, action URLs plus any plain-text links |
| Email newsletter | View raw source in your email client | Tracked redirect links plus the destination URLs |
| Sitemap XML | Open the sitemap URL, copy all text | All <loc> URLs — typically the full site link list |
| Log file | Copy relevant lines | Requested paths, referrer URLs, redirect chains |
| Markdown document | Paste raw markdown text | Inline 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.