Extract URLs From Text

Pull every email address, URL or number out of the text, one per line.

Input

Output

Found 5
Words 20Characters 293Without spaces 272Sentences 2Lines 6Paragraphs 3Reading time < 1 min

About Extract URLs

Get a clean list of every web address in a document, chat export, page source or server log. Each link that starts with http:// or https:// is listed on its own line, and repeats are dropped unless you ask to keep them.

A full stop or comma right after a link is left out, so a URL at the end of a sentence comes out clean. The work happens locally in your browser and your text is not uploaded.

How to use it

  1. Paste the text or HTML that contains the links, or Open a file.
  2. Leave Extract set to URLs and choose whether to remove duplicates.
  3. Read the list of links on the right, with the number found.
  4. Copy the list, save it as .txt, or press Use as input to sort or filter it further.

Frequently asked questions

Does it find links without http or https?

No. Only addresses that start with http:// or https:// are picked up, which avoids false matches on file names and version numbers.

Will it pull links out of HTML?

Yes. Links inside href and src attributes are found, and the closing quote is not included in the result.

Can I sort the links?

Press Use as input and switch to Sort lines to order them alphabetically, or Remove duplicate lines for a case-insensitive clean-up.

Related tools