Extract URLs from Text
Scan any text for URLs and pull them into a clean list — works on any pasted content.
Find and extract every URL from any text or document. Free, private link extractor.
Extract URLs from Text examples
| Input | Output |
|---|
| See https://example.com/page, www.docs.io and mail me at a@b.com | https://example.com/page
www.docs.io |
How the extract urls from text works
- Full URLs (http, https, ftp), protocol-relative URLs and bare www./domain forms are all detected.
- Email addresses are excluded so their domains are not reported as links.
- Trailing sentence punctuation is trimmed and duplicates are removed.
Rules and edge cases
- Full URLs (http, https, ftp), protocol-relative //example.com links and bare www. or domain.tld forms are all detected.
- Email addresses are excluded, so a@b.com does not turn into a b.com link.
- Trailing sentence punctuation is trimmed, so "visit https://example.com." yields the URL without the full stop.
- Duplicates are removed and the original order is kept.
Frequently asked questions
Does it extract links from HTML href attributes?
Yes — the address inside the attribute matches like any other URL. Strip the tags first if you want only the visible links.
Why is a bare domain in a sentence sometimes missed?
A bare word is only treated as a domain when it has a recognisable ending, which avoids turning "e.g" or a file name into a false link.