Extract URLs
Pull every unique URL and link from any block of text, HTML or raw content — deduplicated, one per line.
Runs locally · No data sent to server · Free, no signup
About Extract URLs
Extracting links from a block of text, an HTML page, a document export or a raw data dump is a common task in content auditing, web scraping, research and data cleaning. Doing it manually is slow and error-prone in anything beyond a few lines. This tool scans any text and returns a clean, deduplicated list of every URL found — one per line — ready to copy, count or process further.
How to use Extract URLs
Paste the text or HTML containing URLs into the input box and click Run. The tool scans for all http and https URLs, deduplicates the results and produces a clean list with one URL per line. Copy the result and use it wherever you need it.
When to use this tool
Use this when auditing the links in a web page or document export, when extracting source URLs from an HTML file, when collecting links from a newsletter or email, when pulling URLs out of a raw data file or API response, or when you need a quick count and list of all links in a block of content.
Privacy
All processing happens locally in your browser. No content is sent to a server or stored anywhere. You can safely extract links from confidential documents, internal reports and sensitive web content.
Frequently asked questions
Does it find relative URLs?
The tool finds absolute URLs starting with http:// or https://. Relative URLs like /page or ../image.png are not extracted because they have no meaning outside their original domain context.
Does it remove duplicate URLs?
Yes. Each URL appears only once in the output, even if it appears multiple times in the input.
Does it work on HTML source code?
Yes. Paste raw HTML and the tool will extract all URLs from the text, including those inside href, src, action and other attributes.
Does it extract URLs from inside query strings?
Yes. If a URL contains another URL as a query parameter value (such as a redirect parameter), the tool will extract both the outer and inner URLs if the inner one starts with http or https.