Extract URLs

List the http and https URLs found in a block of text.

Use this tool

Result

The result appears in this panel after you run the tool.

About this tool

The scan looks for http:// and https:// spans and prints each one on its own line. Surrounding punctuation that is not part of the URL is not kept.

Nothing is requested. Use the URL parser when you want the pieces of one absolute URL.

How to use it

  1. Paste the text.
  2. Extract URLs.
  3. Copy the list, one URL per line. The page says when none are present.

Limitations

http and https text, not a fetch

What matches

The page lists substrings that look like http or https URLs. Other schemes, including mailto and ftp, stay in the paste and do not appear in the list. A match is trimmed of a trailing parenthesis, comma, or period that usually belongs to the sentence rather than the URL. The page does not check that the host exists, and it does not open the URL. A string that looks right and points nowhere is still listed. One URL per line is the result, in the order found.

What the pattern will miss or over-include

A URL broken across two lines does not match, because the pattern stops at whitespace. A URL wrapped in angle brackets usually still matches the inner http text, depending on the surrounding characters. Query strings and fragments are kept when they are part of the continuous match. A bare “example.com” without a scheme is not a match on purpose. Add the scheme in the source if you wanted it listed. Internationalized domains appear as whatever text was pasted. This page does not turn punycode into Unicode or the reverse. The IDN converter does that job.

Duplicates and safety

The same URL pasted twice is listed twice. This is not a unique set. Nothing is fetched, so a private host name in the paste is not contacted by this page. Copying the list into a browser later is a separate decision. Do not treat the list as a crawl queue without reading it.

Punctuation at the end of a sentence

A URL at the end of a sentence often arrives with a period or a closing parenthesis. The trim on the match is there so the list is more likely to be openable. It can also remove a character that was a real part of a rare URL. Read the row if the source looked odd. The page will not percent-decode and will not add a missing scheme.

Privacy

Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.