URL Extractor
Extract all URLs from any text, such as emails, logs, documents or HTML. Optionally match www links and remove duplicates.
Extract all URLs from any text, such as emails, logs, documents or HTML. Optionally match www links and remove duplicates.
Pasting a long email, log file or document and hunting for the links is slow. This tool finds every URL in the text and lists them, one per line.
It trims trailing punctuation such as full stops and brackets, and can remove duplicates.
Finding URLs in free text is a heuristic task. The tool matches the scheme http:// or https:// and then takes every following character until it meets whitespace, an angle bracket or a quote. That rule suits emails, logs and HTML attributes, because those delimiters usually end a link. Real text complicates it: a sentence may end with a full stop immediately after a link, or a link may sit inside parentheses, so trailing punctuation is trimmed after matching.
The trimming rule has a known trade-off. A genuine URL that ends with a closing parenthesis, such as a Wikipedia article title with brackets, loses that final character, and a link ending in a period inside a path is rare but possible. Always spot-check results that must be exact. The tool does not fetch or test links, so extracted URLs may be dead, and it recognizes only http and https, not mailto, ftp or custom app schemes.
Anything starting with http:// or https://, and optionally www. links.
Yes. Links in href and src attributes are found, but the surrounding quotes are not included.
A trailing . , ; : ! ? ) ] or } is treated as punctuation, not part of the link.
No. It stays in your browser.
No. It only finds text that looks like a URL. It does not contact any website, so extracted links may be broken, redirected, expired or private. Test important ones yourself.
No. It is limited to web links beginning with http, https and, optionally, www. Email addresses, phone numbers and other patterns are not extracted, so use a dedicated tool or regular expression.