URL Extractor — Free Online Link & Domain Extractor from Text

Free online URL extractor. Extract URLs, links and domains from text, HTML, emails or logs — dedupe, sort, filter, strip query strings, count links per domai...

To extract URLs from text, paste your text, HTML or logs into the Input text box; every link is listed instantly and can be copied or downloaded as a .txt file.

Last updated:

URL Extractor — Free Online Link & Domain Extractor from Text. Free online URL extractor. Extract URLs, links and domains from text, HTML, emails or logs — dedupe, sort, filter, strip query strings, count links per domain and copy or download the list.

Our free online URL extractor pulls every web address out of any block of text in real time.

Paste an email thread, a web page's HTML source, a Markdown document, a CSV export or a server log and the tool will extract URLs from text instantly — http://, https:// and ftp:// links as well as bare www. addresses.

Trailing punctuation such as periods, commas and closing brackets is trimmed automatically, while balanced parentheses (think Wikipedia links) are preserved, so you get clean, working links instead of broken fragments.

It works as a link extractor for href and src attributes in HTML, too.

Switch the output to Domains and it becomes a domain extractor: every link is reduced to its host name (without www.), deduplicated and ready for a disavow file, an allow-list or a competitor backlink review.

Keep or remove duplicates, sort alphabetically, strip ?utm_… query strings and #fragments, filter the results by keyword or domain, and choose a newline- or comma-separated list.

A per-domain summary table shows how many links point to each site, which makes this bulk URL extractor handy for SEO audits, link-building outreach, security triage of phishing emails and log analysis.

To inspect one address in depth — protocol, host, path and query parameters — open it in our URL Parser.

Everything is processed locally in your browser: your emails, documents and logs are never uploaded, and the tool keeps working offline once the page has loaded.

Load the sample to see it in action, copy the list with one click, download it as a .txt file, or share a link that restores your text and options. Related tools: URL Encoder & Decoder, Safelink Decoder, Duplicate Line Remover and Sort Text.

Frequently asked questions

How do I extract URLs from text?

Paste an email, web page source, document or log into the Input text box. The Extracted URLs list fills in as you type, with the count in brackets. Click Copy to copy the list or Download .txt to save it.

What kinds of links does the URL extractor find?

It finds links starting with http://, https:// and ftp://, including those inside HTML href and src attributes, plus bare www. addresses while Include www. links without http is on (the default). Trailing periods, commas and unmatched closing brackets are trimmed, while balanced parentheses inside a link are kept.

How do I extract only domain names from a list of links?

Set Extract to Domains. Each link is reduced to its host name without the www. prefix, and duplicates are removed while Remove duplicates is on. The Links per domain table also shows how many links point to each site.

How do I remove duplicates, sort links or strip tracking parameters?

Use the switches in Options: Remove duplicates (on by default), Sort A to Z, and Strip query strings & fragments, which cuts everything after ? or # such as utm_source tags. Set Separator to Comma for a comma-separated list instead of one link per line.

How do I keep only links from one website?

Type a keyword or domain, for example github.com, into the Filter field. Only results containing that text are kept (the match ignores case), and the count and the Links per domain table update to match.

Is my text uploaded anywhere?

No. Link extraction runs locally in your browser, so the emails, documents and logs you paste are never sent to a server.

How to use this online tool

URL Extractor — Free Online Link & Domain Extractor from Text is designed for fast browser workflows when you need to format, validate, convert, decode, encode, generate, or inspect data without opening a heavy desktop app. Start with the input field or visible options, review the result, then copy or download the output for the next step.

Private processing in your browser

URL Extractor — Free Online Link & Domain Extractor from Text keeps the normal processing step local in your browser. That is useful for code snippets, tokens, documents, configuration values, text samples, and other material that should not be sent to a remote service unless you explicitly choose to share it.

When this tool is useful

Use URL Extractor — Free Online Link & Domain Extractor from Text for repeatable developer tasks, technical documentation, QA checks, quick conversions, debugging, content cleanup, and internal team workflows. The page focuses on clear inputs, immediate feedback, and output that is easy to reuse in code, reports, tickets, emails, or notes.

Practical tips

Before copying the final result, check important details such as spacing, casing, filenames, encoding, token structure, line breaks, or output format. Small checks prevent mistakes when the result is reused in source code, API requests, documentation, spreadsheets, or shared files.