Free URL Extractor Online
Extract all URLs and links from any text or HTML in your browser.
Input Text / HTML
Extracted URLs
What Is a URL Extractor?
Manually picking URLs out of a log file, email thread, or scraped HTML page is tedious and error-prone. A URL extractor scans your text and pulls out every http:// and https:// link automatically. The regex pattern follows conventions from RFC 3986 URI syntax. The original URL format was introduced in RFC 1738. Everything runs in your browser using JavaScript's RegExp — no data leaves your machine. Useful for:
- Auditing all outbound links in a block of content
- Extracting links from scraped HTML or email bodies
- Building a list of URLs for batch processing or validation
- Finding all image or script sources in an HTML page
The tool uses a regular expression to match HTTP and HTTPS URLs following the URI syntax specification. The WHATWG URL Living Standard describes how browsers normalise URLs today. The IANA URI schemes registry lists every officially registered scheme. Duplicate URLs are removed automatically. The output contains one URL per line, ready to copy or download.
How to Use This Tool
Paste Your Content
Paste any text, HTML source, email content, or log file into the left editor. The tool automatically extracts all http:// and https:// URLs as you type.
Review the Extracted URLs
The right panel shows each unique URL on its own line, with the total count displayed in the panel header. Duplicates are removed automatically. Once you have your list, you can check each link against the URL API specification to validate its structure.
Copy or Download
Click Copy to put all URLs on your clipboard, or Download to save as extracted-urls.txt. You can then validate each URL with the URL Validator.
Extraction Example
Example: Extract URLs from a blog post snippet
Input text:
Check out the docs at https://developer.mozilla.org/en-US/docs/Web/API and the source at https://github.com/angular/angular. See also http://example.com/path?q=1#sectionExtracted URLs:
https://developer.mozilla.org/en-US/docs/Web/API
https://github.com/angular/angular
http://example.com/path?q=1#sectionFrequently Asked Questions
Does it extract URLs from HTML attributes?
Yes. The tool extracts any string starting with http:// or https:// from the input, including those inside HTML tags such as href="", src="", and data-url="". The https:// scheme is defined in RFC 2818, which specifies HTTP over TLS.
What about relative URLs like /about or ./image.png?
This tool only extracts absolute URLs that start with http:// or https://. Relative URLs are not extracted because they require a base URL to resolve, which is ambiguous out of context.