usefmtly

Extract URLs from Text

Extract URLs from Text — Free URL extractor. Paste any text — a webpage, document, email, or log — and extract every URL instantly. Get a clean list of all links, deduplicated, one per line. No signup required.

Found
Unique
AllMode
Input text
URLs

What this tool does

Paste any block of text — an email thread, HTML source, log file, document, or scraped webpage — and this tool extracts every URL it finds. The output is a clean list of links, one per line, ready to copy or process further.

Toggle Unique only to remove duplicates. Useful when the same URL is referenced multiple times in a document and you only need it once.

Common use cases

  • Extracting all links from a scraped webpage or HTML dump
  • Auditing which URLs appear in a document or email thread
  • Pulling resource links from log files or API responses
  • Building a link list from raw Markdown or plain text
  • Deduplicating a list of URLs from multiple sources

URL formats detected

This tool detects URLs beginning with http://, https://, and ftp://, including full paths, query strings (?key=value), and fragments (#anchor). Bare domains without a protocol (e.g., example.com) are not matched.

Frequently Asked Questions

What types of URLs does this tool find?

This tool extracts URLs starting with http://, https://, and ftp://. It handles full URLs including paths, query strings, and fragments. URLs embedded in HTML attributes, markdown links, and plain prose are all detected.

What does "unique URLs" mean?

If the same URL appears multiple times in your text, the deduplication option shows each URL only once. Toggle between "All" (every occurrence, including duplicates) and "Unique" (one entry per distinct URL).

Can I use this to extract links from HTML source?

Yes — paste raw HTML and the tool will find all URLs in href="", src="", and plain text. For a full link audit you may want to also check the HTML Entity Encoder or inspect the page source directly.

Related Tools