Extract URLs
Pull every link and URL out of any text or HTML, remove duplicates and copy the clean list. Free, instant and private — your text is processed in your browser and never uploaded.
How to extract URLs from text
- Paste your content. Drop plain text, an email, a chat log or raw HTML source into the box above.
- Choose your options. Keep Full URLs for complete links, or switch to Domains only to list just the hostnames. Toggle duplicate removal and alphabetical sorting.
- Copy or download. The list updates instantly as you type — copy it to the clipboard or save it as a
.txtfile.
About this tool
This URL extractor scans any block of text for web addresses that start with http://, https:// or www. and pulls them into a clean, ready-to-use list. It works just as well on raw HTML, so you can paste a page's source and grab every link inside href and src attributes without wading through the markup. It is handy for building link lists, auditing outbound links, scraping references from a document, or collecting sources from an article.
Everything runs locally in your browser using JavaScript — nothing is uploaded to a server, so even large or confidential documents stay completely private. There are no sign-ups, no watermarks and no limit on how much text you can process. The Domains only mode strips each link down to its hostname (and drops a leading www.) so you can quickly see which sites are referenced.
Frequently asked questions
Which kinds of URLs are detected?
Any address beginning with http://, https:// or www. is matched, including links buried inside HTML attributes. Trailing punctuation such as a period or closing bracket is trimmed automatically. Relative paths and mailto: links are intentionally skipped so you get real, clickable web addresses.
Does it remove duplicate links?
Yes. The Remove duplicates option is on by default, so each unique URL appears only once. Turn it off if you need to keep every occurrence, for example to count how often a link appears.
What does "Domains only" do?
It converts each URL to just its hostname — https://blog.example.com/post?id=3 becomes blog.example.com, and any leading www. is removed. Combined with duplicate removal, it gives you a tidy list of the distinct sites referenced in your text.
Is my text sent anywhere?
No. All extraction happens on your own device in the browser. Your text never leaves your computer, which makes the tool safe for private emails, internal documents and unpublished drafts.