Extract URLs
Find every web link in a block of text, such as an email, a page source or notes, and list them one per line.
Extract URLs finds every web link in a block of text, such as an email, a page source or a set of notes, and lists them one per line. It recognises links starting with http, https, ftp or www, and trims punctuation that only ends the sentence.
Which links are found?
Link detection
Any text that starts with http://, https://, ftp:// or www. and runs to the next space is taken as a link. A full stop or comma after it is left out, and a closing bracket is kept only when the link opened one, as in many Wikipedia addresses.
Why use Extract URLs?
- Collect sources. Pull every reference out of an article or a research note in one go.
- Audit links. List the links in a newsletter before it goes out, then check them.
- Tidy them next. Strip tracking tags from the list with the URL Cleaner.
How to use Extract URLs, step by step
- Paste your text into Extract URLs. Plain text or HTML source both work.
- Choose to remove duplicates and sort. Duplicates are removed by default.
- Copy the list. One link per line.
Frequently asked questions
Does it find bare domains such as example.com?
No. A link needs to start with http, https, ftp or www, which avoids mistaking file names and abbreviations for links.
Does it follow or open the links?
No. It only reads the text you pasted. Nothing is visited.
Can I paste HTML?
Yes. Links inside href attributes are found too, since they start with http or https.
Looking for the long version? The guides cover each of these jobs in depth.