Extract URLs
Get every link from an email, document, chat export or HTML source code. Keep full URLs or reduce them to a list of unique domains.
Runs in your browser
How to use
- Paste text or HTML.
- Choose whether to keep duplicates or list domains only.
- Copy the links.
How it works
Links starting with http://, https:// or www. are detected. Characters that can't appear in a URL (spaces, quotes, angle brackets) end the match, and punctuation that usually ends a sentence — a trailing full stop, comma or closing parenthesis — is trimmed.
“Domains only” parses each link with the browser's URL parser and keeps the host name.
Examples
- HTML source
- From <a href="https://example.com/page?id=2">… the tool extracts https://example.com/page?id=2.
Common uses
- Auditing links in a newsletter or document
- Collecting sources from a research document
- Listing domains referenced in a page
Privacy & security
This tool runs entirely in your browser. Your files and text are never uploaded to our servers — processing happens on your device and results are created locally. How each tool handles files
Frequently asked questions
Are relative links like /about extracted?
No. Only absolute links (with http(s):// or www.) are extracted, because relative links have no meaning outside their page.
Are links in HTML attributes found?
Yes, as long as they are absolute URLs.
Last updated: