URL Extractor from Text
Extract HTTP and HTTPS URLs and optional www. addresses from text. Show full links, unique domains or line context.
About the URL Extractor from Text
This URL extractor finds HTTP and HTTPS web links in pasted text, with an option to include www. addresses without a protocol. View all matches or switch to unique domains, and include line numbers and source-line context when useful. Common trailing sentence punctuation is trimmed while balanced parentheses are retained. The match patterns do not detect FTP, email links or arbitrary custom protocols. Review ambiguous punctuation in extracted links before using the list.
Features
- HTTP and HTTPS URL extraction
- Optional www. address extraction
- Unique domain view
- Optional line numbers and source-line context
- Copy or download the extracted list
How to use this tool
The URL Extractor from Text works right in your browser — no signup, no installation. Follow these steps:
- Paste your text containing URLs into the input area.
- Toggle unique or all URLs mode as needed.
- View extracted URLs instantly with optional context.
- Click Copy to save the URL list.
Frequently asked questions
Which protocols are supported?
HTTP and HTTPS. You can also include addresses starting with www. FTP, mailto and custom protocols are not recognized.
What does Unique domains only do?
It groups matches by their domain and removes the leading www. In the plain view it outputs domain names; with context enabled it shows the first matching URL and its source line.
Using the results
Text Toolbox provides free, private, and instant online tools. Unlike sites that require accounts or send your data to servers, the URL Extractor from Text processes everything in your browser — your content never leaves your device. It is fast, lightweight, and works on any modern browser.