Skip to content
ToolsOnDuty - free online tools
Text Tools

Extract URLs

Pull every http and https link out of text, with optional de-duplication and sorting.

Free browser toolRuns in your browserNo sign-up
Options

About the Extract URLs

This URL extractor scans any text and pulls out every http and https link it finds.

Enable de-duplication to keep one copy of each link, and sort alphabetically to get a tidy, ordered list.

It is handy for gathering links from documents, HTML, chat logs and exports without copying them one by one.

Key features

  • Find all http and https links
  • Remove duplicate links
  • Sort alphabetically
  • Shows how many were found

How to use

  1. 1Paste any text that contains links.
  2. 2Choose whether to de-duplicate and sort.
  3. 3Click Extract URLs and copy the list.

Examples

Pull links from text
Input: Visit https://a.com and https://b.com
Output: https://a.com / https://b.com

Every web link in the text is collected into a list.

Frequently asked questions

Does it find links without http?
It focuses on http and https links. Bare domains like example.com without a scheme are not matched, to avoid false positives.
Will it include trailing punctuation?
The extractor stops at spaces and common closing characters, so most trailing punctuation is excluded from each link.
Is my text uploaded anywhere?
No. Extraction happens entirely in your browser, so your text never leaves your device.

Open a related tool to prepare your files or refine the finished result.