🔗 Extract URLs
Find and extract all URLs and links from your text in real-time. This tool quickly identifies web addresses beginning with http or https in documents, content and any pasted text.
- Paste or type your text in the textarea above
- The tool automatically detects all URLs and links
- Matches links that start with http:// or https://
- Both total and unique URL counts are displayed
- Click on any URL to copy it to clipboard
- Results update in real-time as you type
📝 Examples:
• https://github.com/user/repo
• https://www.example.com
Unique URLs: 2
• https://docs.example.com/guide
• https://blog.example.com/post-123
- Extract link lists from documents or web pages
- Collect URLs from emails or articles for analysis
- Build URL databases for link aggregation services
- Content auditing and link verification
- SEO research and backlink analysis
- Web scraping and data collection projects
- Document processing and link extraction
What counts as a URL here
The scan is one regular expression. A match has to start with a scheme, and then runs until it hits whitespace, a quote of either kind, or an angle bracket:
/https?:\/\/[^\s"'<>]+/g
Those stop characters suit pasted HTML: in <a href="https://example.com"> the closing quote ends the match cleanly. The flip side shows in prose, where nothing stops a match at punctuation.
Trailing punctuation, case, and the buttons
- Sentence punctuation is swallowed. "See https://example.com/docs." extracts with the full stop attached, and a link wrapped in brackets keeps the closing bracket. Trim those by hand.
- The scheme is required. A bare www.example.com or an ftp:// address is not found at all - only http and https are matched.
- Unique folds case over the whole URL, so two links differing only in the capitals of their path count as one, even though a server may treat them as two pages.
- The buttons differ. Copy All URLs gives you every match, in order, duplicates and original case included. Copy as CSV gives the unique list, lower-cased and quoted. Open All URLs opens that same lower-cased list, asking first if there are more than ten.
Frequently asked questions
How do I extract all the links from a page?
View the page source, copy it, and paste it here. Quotes end a match, so every href comes out as a clean address without the surrounding markup, and the counter tells you how many of them are distinct.
Why does an extracted link end with a full stop or a bracket?
A match runs until whitespace or a quote, and sentence punctuation is neither, so a URL at the end of a sentence keeps the character after it. Delete it after copying.
Does it find links written as www.example.com?
No. Without http:// or https:// in front, there is no reliable way to tell a domain from ordinary text with dots in it, so those are skipped. Add the scheme to the text first if you need them.