Extract URLs
Pull every link out of any block of text.
How to use
- 1 Paste the text you want to scan into the input box.
- 2 Toggle whether to remove duplicates, sort the list, or include bare www links.
- 3 Review the extracted URLs on the right and the unique/total count.
- 4 Copy the list of links.
About Extract URLs
The Extract URLs tool scans any block of text and pulls out every web address it contains, so you can quickly harvest links from an email, a log file, a document, a chat export or some messy copied HTML.
Paste your text on the left and the clean list of links appears on the right, updating live as you type.
It recognises http, https and ftp links and, when you want, bare addresses that start with "www." but omit the scheme.
Trailing sentence punctuation — the full stops, commas and closing brackets that often sit right after a link in prose — is trimmed away, while genuinely balanced parentheses inside a URL, such as a Wikipedia article ending in "(disambiguation)", are preserved.
The tool is careful not to double-count the host inside a full URL, so "https://www.example.com" is reported once rather than twice.
Switches let you remove duplicate links (keeping the first occurrence), sort the results alphabetically, and toggle bare-www matching on or off, so the output suits whatever you need next.
A running count shows how many unique links were found out of the total.
Everything happens locally in your browser with plain JavaScript: nothing is uploaded, logged or stored, and the page keeps working offline.
Copy the finished list with a single click.
FAQ
Which kinds of links are detected?
It finds http, https and ftp URLs, plus optional bare addresses beginning with "www." that leave out the scheme. You can turn the bare-www matching off if you only want fully qualified links.
How does it handle punctuation around a link?
Trailing full stops, commas, semicolons and unbalanced closing brackets are stripped, while parentheses and brackets that are balanced inside the URL are kept intact.
Is my text uploaded anywhere?
No. All extraction runs in your browser with no network requests, so even private text never leaves your device.