Extract links from text
List every web link found in a text, one per line.
Editor
Extract links from text: what it does
Pull the links out of a document, an email, a log or copied HTML text. Addresses starting with http, https or www are found; punctuation that follows a link, such as a full stop or a closing bracket, is not included. Each link is listed once.
Extract links from text: how to use it
- Paste the text that contains links.
- Select Apply.
- Copy the list of links.
Extract links from text: when to use it
- Collect every link from a newsletter, a report or a chat export into one list.
- Prepare a list of URLs to check for broken links or to submit to a tool.
- Find the sources cited in a document without reading it entirely.
Extract links from text: examples
Input
See https://example.com/docs, or www.example.org.
Result
https://example.com/docs www.example.org
Input
Docs: https://example.com/docs/v2 See also www.example.org/changelog and https://example.com/docs/v2
Result
https://example.com/docs/v2 www.example.org/changelog
Extract links from text: questions and answers
Does it find links without http?
Yes, when they start with www. Bare domains such as example.com are not detected.
Are repeated links removed?
Yes. Each link is listed once, in the order it first appears.
Is the trailing punctuation removed from a link?
Yes. A full stop, comma or closing bracket right after the link is not part of it.
Are mailto or ftp links found?
No. The tool lists web links only: http, https and addresses starting with www.
Is my text sent to a server?
No. Everything runs in your browser on your own device, so your text never leaves it.
Related tools
Tools people often use together with this one.
- Extract email addresses from text
Pull every email address out of a text, one per line.
- Extract IP addresses from text
List every IPv4 address found in a text, one per line.
- Extract hashtags and mentions
Pull #hashtags and @mentions out of a text.
- Remove duplicate lines
Delete repeated lines and keep one copy of each.
- Extract numbers from text
List every number found in a text, one per line.
- Sort lines
Sort lines A to Z, Z to A, by number or by length.