Extract URLs from Text
Pull every URL out of a text, with duplicates removed and the hostnames listed.
- Runs in your browser
- Free to use
About this tool
The URL Extractor pulls http and https links out of e-mails, documents, logs and HTML, cleans trailing punctuation, deduplicates them and lists the hostnames they point to. It is the first step before checking links in bulk or auditing which sites a document references. For links inside a live web page use the HREF Link Extractor.
How to use it — quick steps
- 01
Enter the text to scan
Type or paste the text to scan in the field above. Nothing is uploaded. Use Ctrl + V to paste.
- 02
Adjust the options
Pick the settings that fit your case; the defaults work for most people. Changes apply instantly.
- 03
Press "Extract URLs"
Press "Extract URLs" or Ctrl + Enter. The result appears below in an instant. Results can be copied.
Key features of this tool
Precise patterns
Battle-tested regular expressions match real-world formats while avoiding common false positives.
Deduplicated
Every matched entry is returned once (without duplicates), with counts of total and unique matches.
Private
The text is processed in your browser; text and documents never leave your device, ensuring data privacy.
Frequently asked questions
Trailing punctuation is included in some URLs
Common sentence punctuation after a URL (period, comma, closing bracket) is stripped automatically.
Can I check the extracted URLs?
Paste them into the HTTP Status Code Checker (up to 15 at a time) or open them with the Multi URL Opener.
Are my files or data uploaded?
No. The tool is plain JavaScript that runs in your browser; the files or data you provide here are never uploaded to our servers.