Extract URLs from Text

Find every web link in any text and list them one a line, with duplicates removed and the list sorted if you like.

Processed on your device. Files are not uploaded

How to extract links from text

  1. Paste your text

    Paste or type it into the box, or press Try an example. Links can be mixed in with anything else.

  2. Tidy the list

    Remove duplicates and sort the list, if you want.

  3. Copy or download

    Copy the list of links, one on each line.

Worked example

This is what Extract URLs from Text gives for its own sample values. Open the tool above and change anything to try your own.

Your text

Visit https://example.com and www.example.org/page for more.
Remove duplicates
Yes
Sort the list
No

The web links, one on each line

https://example.com
www.example.org/page

Result

Web links found
2

About Extract URLs from Text

Pull every web link out of a document, email or page. It finds links that start with http, https or www, and it drops the full stop or comma that follows a link in a sentence.

FAQs

Does it find links without http?

Only those that start with www. A bare domain such as example.com is not matched.

Are duplicates removed?

Yes, by default.

Can I take a link apart?

Use URL Parser to split a link into its parts.

Related tools