blackdroid.dev

URL Extractor

Extract URLs and links from any text online for free — dedupe, sort by host, strip www. Copy or download the clean list. Runs in your browser.

About URL Extractor

Paste any text and get every URL it contains — deduplicated, optionally sorted by host and stripped of www. prefixes for a clean list.

Copy or download the result as a .txt file. Extraction runs locally; nothing is uploaded.

The extractor pulls every http(s) URL out of arbitrary text — documents, logs, HTML source, email threads — deduplicates and sorts them, with per-domain grouping so patterns emerge. Log analysis is the killer use: extract all URLs from access logs or error output and the structure of traffic or failures becomes visible immediately.

Boundary detection is the hard part of URL extraction: trailing punctuation (periods, closing parens, commas) is not part of the URL even though it is legal in one — the extractor strips trailing punctuation the way a human reader would. Markdown and HTML surrounding syntax is likewise excluded, so the output is the clean URL list you actually want.

How to use URL Extractor

  1. Paste the text containing links.
  2. Toggle dedupe, host sorting and www-stripping as needed.
  3. Copy the clean URL list or download it.

Frequently asked questions

How do I pull all links out of a page or document?

Paste the raw text (even HTML source) here — every http(s) and www. URL is extracted into a deduplicated list.

Can I group URLs by domain?

Turn on 'sort by host' — links to the same site cluster together, making the domain spread easy to scan.

Does it catch URLs without http://?

Yes — www.-style URLs are matched too, and 'strip www.' normalizes them into bare domains.

Are trailing punctuation marks part of the URL?

Technically legal, practically never intended — the extractor strips trailing periods, commas and closing brackets the way a human reads the text. URLs embedded mid-sentence come out clean.

Does it find URLs without the http prefix?

Protocol-less URLs (www.example.com) are matched, but bare domains without www are not — too ambiguous against filenames and dotted text. If you need those, a domain-regex pass is a different tool.