Free Toolkit

URL ExtractorExtract all URLs (http/https) from text and list unique results.

URL Extractor illustration
📝

URL Extractor

Extract all URLs (http/https) from text and list unique results.

How to Use
1

Paste Text

Paste text containing URLs.

2

Auto-Extract

All HTTP/HTTPS URLs are found and listed.

3

Copy Results

Copy the unique list of extracted URLs.

What Is URL Extractor?

The URL Extractor scans text and extracts all HTTP and HTTPS URLs, presenting them as a clean deduplicated list. It handles URLs with paths, query strings, fragments, and special characters. Trailing punctuation (periods, commas, parentheses) is cleaned from extracted URLs. This tool is useful for extracting links from documents, emails, social media posts, or any text containing web addresses.

Why Use Our URL Extractor?

  • Extract all links from documents or web content
  • Automatic cleanup of trailing punctuation
  • Deduplication of found URLs
  • Works with complex URLs including query strings

Common Use Cases

Link Auditing

Extract all URLs from content for link checking and validation.

Research

Collect referenced URLs from academic papers or articles.

SEO Analysis

Extract outbound links from web page content.

Data Mining

Pull URLs from log files, emails, or text databases.

Technical Guide

The extractor uses the regex /https?:\/\/[^\s<>"{}|\\^`[\]]+/gi to match URLs starting with http:// or https://. The character class excludes whitespace and characters that are invalid in URLs. After extraction, trailing punctuation (.,;:!?) and closing parentheses are stripped using a cleanup regex. JavaScript's Set is used for deduplication. The pattern is intentionally broad to catch URLs in various text contexts while excluding obviously invalid characters.

Tips & Best Practices

  • 1
    Trailing punctuation after URLs is automatically cleaned
  • 2
    Only HTTP and HTTPS URLs are extracted
  • 3
    Duplicates are removed from the results
  • 4
    URLs in HTML attributes and source code are also found

Related Tools

Frequently Asked Questions

QDoes it find FTP or other protocol URLs?
Currently only HTTP and HTTPS URLs are extracted.
QHow does it handle URLs at the end of sentences?
Trailing periods, commas, and other punctuation are automatically stripped from extracted URLs.
QAre duplicate URLs removed?
Yes, each unique URL appears only once in the output.
QDoes it validate the URLs?
It extracts URL patterns but does not check if they are reachable or valid.
QCan it find URLs without http/https?
No, only URLs with explicit http:// or https:// protocol are matched.

About URL Extractor

URL Extractor is a free online tool from FreeToolkit.ai. All processing happens directly in your browser — your data never leaves your device. No registration required. No ads. Just fast, reliable tools.