Extract URLs
Paste any text — HTML source, Markdown, an email, JSON or a log file — and get a clean list of every link in it. Full stops, commas and closing brackets after a link are left out, while brackets that belong to the URL (like Wikipedia links) are kept.
How the URL Extractor Works
It finds links in any kind of text and cuts them off at the right place.
The extractor looks for links that start with http://, https:// or ftp:// — and, if you like, www. — then reads until the link ends. It works on plain text, HTML (href and src attributes), Markdown ([text](url)), JSON, CSV and server logs.
The hard part is knowing where a link stops. A full stop, comma, question mark or quote after a link is punctuation, not part of the URL. A closing bracket is only kept if the URL also contains the opening one — so (see https://example.com/page) gives https://example.com/page, while https://en.wikipedia.org/wiki/Mercury_(planet) stays complete.
HTML source. & inside links is turned back into &, so links copied from page source work when you open them.
Tracking parameters. Remove tracking parameters deletes utm_source, utm_medium, fbclid, gclid, msclkid and similar — other parameters and their order are kept exactly as they were.
Matching Rules
What is and isn't extracted.
Always
http://, https:// and ftp:// links, including ports, IP addresses, localhost and non-English paths.
www. links (on by default)
www.example.com without a scheme — the ending must be a real domain.
Bare domains (optional)
example.com/page with no prefix. Off by default, because text like Node.js or readme.md can look like a domain.
Never
Email addresses, mailto: and javascript: links, and relative paths like /about (they have no domain).
How to Use the Extract URLs
Get your result in under ten seconds.
Paste your text
HTML source, Markdown, logs or any text — or open a file.
Pick the options
www. links, bare domains, tracking removal, domains only.
Copy the list
One link per line, ready for a spreadsheet or a link checker.
Why Use the Extract URLs on Developers Web Tools
Fast, accurate and private — built for developers.
Smart endings
Trailing punctuation removed; brackets kept only when they belong to the URL.
HTML-aware
Reads href/src values and fixes & in links from page source.
Tracking removal
Optional removal of utm_*, fbclid, gclid and more — nothing else changes.
Domains only
See every site a page links to, listed once.
Fast
Large files are scanned in a background thread.
Private
Your text never leaves the browser.
Frequently Asked Questions
Links without http://, https:// or www. are only found when Include bare domains is on. It's off by default because names like Node.js, config.json or readme.md can look like domains.
No — a relative link has no domain, so it isn't a complete URL. For links in HTML, including relative ones, use the HTML Link Extractor, which can resolve them against a base URL.
Punctuation at the end of a link is almost always part of the sentence. Closing brackets are kept only when the URL contains the matching opening bracket, as in Wikipedia links.
All utm_* parameters plus fbclid, gclid, gclsrc, dclid, gbraid, wbraid, msclkid, twclid, ttclid, li_fat_id, igshid, yclid, mc_cid, mc_eid, _hsenc, _hsmi, mkt_tok, ref_src and similar. Other parameters are left untouched.
No. Extraction runs entirely in your browser.