URL Extractor
Extract every link from text, HTML or a log (http, https, ftp, www and optionally bare domains), then de-duplicate, sort, filter or list just the domains.
Only the text is scanned; no link is opened or checked, so the list may include addresses that no longer work.
| Domain | Links |
|---|---|
| docs.example.com | 1 |
| en.wikipedia.org | 1 |
| example.org | 1 |
| files.example.com | 1 |
Paste an email, a web page’s HTML, a chat export or a server log and get a clean list of every link in it. The extractor finds http, https and ftp addresses and links that start with www, trims the punctuation that sticks to links in sentences, keeps brackets that belong to the address (as in Wikipedia links), removes duplicates and can list just the domains, with a count of links per domain.
How to use this tool
- Paste the text or HTML.
- Choose full links or domains only, and tick “bare domains” to also catch addresses written without http or www.
- Optionally remove tracking query strings, keep only certain domains or file types, or leave some out.
- Copy the list; the table counts links per domain.
Formula
Link = (http:// | https:// | ftp:// | www.) followed by characters up to a space, quote or angle bracket, minus trailing punctuation
A full stop, comma, colon, quote or closing bracket at the end of a link is treated as sentence punctuation, unless the bracket has a matching opening bracket inside the link. Each link is checked with the browser’s URL parser. Duplicates are compared with the host name in lower case and a trailing slash ignored, so HTTPS://Docs.Example.com/start and https://docs.example.com/start count as one. Bare domains must end in a common top-level domain, which keeps file names such as main.js out.
Example
The sample text gives 4 links: https://docs.example.com/start?ref=mail, www.example.org, the Wikipedia link with its “(disambiguation)” part intact, and the PDF link. The upper-case copy of the docs link is removed as a duplicate. With “domains only”, the list is docs.example.com, example.org, en.wikipedia.org and files.example.com.
Frequently asked questions
Does it extract links from HTML href attributes?
Yes. Paste the page source and the addresses inside href and src attributes are found along with links in the visible text; relative links such as /about cannot be listed because they have no domain.
How do I get a list of unique domains?
Choose “Domains only” with duplicates removed. Sub-domains stay separate (docs.example.com and example.com), and www. is removed.
Are the links opened or checked?
No. The tool only reads the text you paste, in your browser. It never visits the addresses.
Last updated:
Page address with these inputs: https://kakao.mobile/tools/url-extractor/
Cite or embed this tool
kakaoCalc. (2026, November 8). URL Extractor. https://kakao.mobile/tools/url-extractor/
“URL Extractor.” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/url-extractor/.
Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms