Skip to main content
FixLines

Extract links from text

List every web link found in a text, one per line.

Editor

Ln 1, Col 10 lines0 words0 characters

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

  1. Paste the text that contains links.
  2. Select Apply.
  3. 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

Collect links

Input

See https://example.com/docs, or www.example.org.

Result

https://example.com/docs
www.example.org
Links from release notes

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.

Tools people often use together with this one.

More in ExtractBrowse all text tools