Something wrong with this tool?
About Url Extractor Online
This tool scans any text and extracts every URL it finds. Paste content from a chat log, document, HTML source, or email, and the tool returns a deduplicated, copy-ready list of links.
Pattern matching recognises HTTP, HTTPS, FTP, and other common protocols, as well as bare domain references like "example.com" if you opt-in. Each unique link appears once in the output regardless of how many times it appeared in the source.
Useful when auditing links in a long document, gathering references from a research paper, building a list of mentioned sites from a chat history, or analysing comment sections for spam links.
How to use this tool
How to pull URLs out of an arbitrary block of text
Paste the text
Drop the source into the "Text" field. The tool scans for `http://` and `https://` prefixes; bare-domain mentions like `example.com` won't match because they're ambiguous.
Press Run
Result returns `urls` (array of distinct URLs found) and `count` (length). Duplicates are removed in order of first appearance. URLs ending in `.`, `,`, `)`, or `]` get the trailing punctuation trimmed so paragraph endings don't pollute the match.
What the regex catches
Standard `scheme://host/path?query#fragment` forms. Tracking parameters, fragments, and ports are preserved. Non-ASCII hostnames (`https://例え.jp`) work; URL-encoded paths pass through verbatim — no decoding.
What it doesn't catch
FTP/file/mailto/data URLs (only http/https), bare-domain references, and URLs that are split across lines by a stray newline. For more exotic protocols, pre-process the text to add `https://` to every domain you care about.