Extract URLs from text
Paste an email, a document, a log or a page's source text and get a clean list of the links in it. Trailing punctuation from the sentence is not included in the link.
Runs in your browser: nothing you enter is sent anywhere.
How to use it
- Paste the text. The links appear on the right, one per line.
- Keep “Remove duplicates” on for a unique list; turn on sorting for alphabetical order.
- Check the counts and press Copy.
How it works
One pattern finds each scheme or www start and takes characters up to the next space or bracket-like quote. Then sentence punctuation is trimmed from the end. “Found” counts all links, “Listed” those left after duplicates are removed.
Worked example
In “See https://x.org/p, or www.y.org.” the result is https://x.org/p and www.y.org: the comma and full stop are not part of the links.
Tips
Links inside HTML attributes are found if the page source is pasted as text. For emails, use the email extractor.
Frequently asked questions
Which links are found?
Anything starting with http://, https:// or ftp://, and addresses starting with www. The link ends at a space, an angle bracket or a quotation mark. Bare domains such as example.com without a scheme or www are not picked up.
Why is the full stop after a link not included?
Commas, full stops, colons, semicolons, question and exclamation marks at the end are treated as the sentence's punctuation. A closing bracket is kept only if the link itself contains an opening one, as in Wikipedia addresses.
How are duplicates detected?
Links are compared exactly as written, so a trailing slash or a different letter case makes a different link.
Is my text uploaded anywhere?
No. Everything runs in your browser.