URL Extractor
Extract and de-duplicate every URL from a block of text, HTML, or a pasted document. Finds http, https and ftp links (plus bare www. links with no scheme), trims stray trailing punctuation and brackets, and lets you filter by link type and sort the results.
Input
Output
Guides
The URL Extractor scans any block of text, HTML source, or scraped log output and pulls out every link it can find — then cleans, de-duplicates, filters, and sorts the results into a list you can copy or download. It runs entirely in your browser, so nothing you paste ever leaves your device.
What it does
Paste anything — a chunk of HTML, a forum post, a raw log file — and the tool
scans it for http://, https:// and ftp:///ftps:// links, plus bare
www. links that don't have a scheme at all. Each match is trimmed of
trailing punctuation and stray brackets it may have swept up (so
(https://example.com/page) and Visit https://example.com/page. both
extract cleanly), then de-duplicated so the same link only appears once.
How to use it
- Paste your text into the input box (or send text from another tool).
- Choose a Link type: all links, web links only (http/https), or FTP links only.
- Toggle Also match bare www. links on or off, depending on whether you
want scheme-less links like
www.example.comincluded. - Pick a Sort order — the order links first appear, or alphabetical.
- Choose a Separator for the output: new line, comma, or semicolon.
- The extracted list and a running count update instantly. Use the copy or
download buttons to grab the result as a
.txtfile.
The URLs found field shows how many unique links were detected, which is handy for auditing a document or checking moderation rules against pasted comments and forum posts.
Why are duplicates removed automatically?
The same link often appears more than once in a document — a footer, a repeated call to action, a quoted reply. De-duplication keeps the output list to one entry per unique link, based on the exact URL after trailing punctuation is trimmed.
Does it handle links wrapped in punctuation or parentheses?
Yes. A link followed by a comma, period, or closing bracket — like the
Wikipedia-style (https://example.com/page) — has that wrapping stripped
automatically, so the extracted link doesn't carry a stray ) or ..
Can I feed the output into another tool?
Yes — use the output card's "Send to…" option to pass the extracted list straight into another text tool, or download it for further processing.
Privacy
This tool is fully client-side. Your text is processed locally in your browser and is never uploaded, logged or stored. You can even use it offline once the page has loaded.