Extract URLs

Find web links or hostnames, with punctuation cleanup and deduplication.

Tool options

Enter text to get started.

How to use Extract URLs

  1. Paste or type your input. You can also load the example below.
  2. Adjust the available options. Results update after you finish typing; for very large inputs, select Run.
  3. Review the result, then copy it or download it to your device.

How this tool works

Matches http://, https://, and www. links. Bare domains and protocol-relative links are excluded. Balanced path parentheses survive punctuation cleanup. Duplicate comparison ignores case for the whole URL.

Input and output stay in the current page. Refreshing or closing the page clears them. For very large inputs, use Run to start processing; a task that takes too long is stopped so you can change the input.

Frequently asked questions

Will the tool find a bare domain such as example.com?

No. Matches must start with http://, https://, or www. Bare domains and protocol-relative links beginning with // are excluded. Domains only changes the output for links that were found.

How are punctuation and duplicate links handled?

Trailing sentence punctuation and unmatched closing brackets are removed. Duplicate comparison ignores case across the entire URL, including its path; turn off Remove duplicates if path case must remain distinct.