Last updated: October 2026
How to extract URLs from text
Short answer: paste your text into the box above and click Extract URLs. Every link is pulled out into a clean list — one per line — which you can copy or download as a .txt file. Duplicates are removed by default; tick the boxes for sorting, domains-only, or email extraction.
What counts as a link?
The extractor recognises four kinds of links:
Trailing punctuation from the surrounding sentence — periods, commas, closing brackets — is stripped automatically. A link in parentheses like (https://example.com/page) comes out as https://example.com/page, while genuine brackets inside a link (Wikipedia-style) are kept.
URLs vs domains vs emails
Three extraction modes for three jobs. URLs gives you every full link — best for link audits and scraping prep. Domains only strips each link to its hostname (https://example.com/blog/post → example.com) — best for seeing which sites a text mentions. Also extract emails pulls addresses into a separate section at the bottom, never mixed with the URLs. Combine all three when cleaning up research notes or support threads.
Copying links by hand misses the invisible ones
Most people only copy the links they can see — but documents, spreadsheets and minified code are full of URLs hiding in footnotes, comments and formulas. Paste the whole thing into the extractor and it catches every http, www. and bare domain in one pass, duplicates removed. If the extracted links look mangled with %20 and friends, clean them up with the URL encoder/decoder, and for bulk text cleanup the remove-duplicate-lines tool pairs well.
Frequently asked questions
What is a URL extractor?
A URL extractor scans any block of text and pulls out every web address it finds — http:// and https:// links, www. links, and bare domains like example.com. Paste an article, email thread or chat log, click Extract, and you get a clean list of links, one per line, ready to copy or download.
Does it find links without http, like www.example.com?
Yes. It catches full https:// links, www. links, and bare domains like example.com/path. Trailing punctuation — periods, commas, closing brackets from the surrounding sentence — is stripped automatically, so the links come out clean.
Can it extract email addresses too?
Yes — tick the "Also extract emails" option and it pulls out addresses like name@example.com into a separate section. Emails are never mixed into the URL list, and duplicates are removed.
What does domains-only mode do?
Domains-only mode strips every link down to its hostname — https://example.com/blog/post becomes example.com. Useful when you want to see which sites are mentioned in a text rather than every individual page.
Is my pasted text uploaded anywhere?
No. The extractor runs 100% in your browser with JavaScript. Your text is never sent to a server, stored, or tracked — close the tab and it's gone.
How much text can I paste?
Large pastes are fine — the tool handles 10,000+ characters instantly. Extraction happens on your device, so there's no upload wait and no size limit imposed by a server.
Why is a URL missing from the results?
The most common cause is a missing top-level domain — the extractor needs something like .com, .org or .io to recognise a bare domain. Also check that the link wasn't split across a line break, and that duplicate removal isn't hiding a repeat — untick "Remove duplicates" to see every occurrence.
Related tools