Extract from mixed text
Find domain names inside full URLs, email addresses, HTML attributes, CSV cells, logs and ordinary prose.
Free domain extractor
Turn long URLs, mixed text and exported files into accurate root domains or full hostnames. Paste or upload your source, remove duplicates, and export a clean list in seconds. This free online domain extractor runs privately in your browser.
Workflow presets
You can fine-tune every setting below.
Mix URLs, emails, HTML, CSV, JSON and logs.
Drop several files here or choose files
TXT, CSV, LOG, HTML, XML or JSON · 20 MB each · 50 MB total
0 characters · 0 lines · 0 sources
0 shown · 0 matches · 0 duplicates removed
Unique roots
0
Unique hosts
0
Rejected
0
Duplicate rate
0%
Filter this report
Your list stays here
Extraction happens in this browser. Nothing is uploaded or saved.
Built for real exports
No extension, formula or custom regex is required. Add your source, choose the output boundary and take a clean domain list into the rest of your workflow.
Find domain names inside full URLs, email addresses, HTML attributes, CSV cells, logs and ordinary prose.
Keep registrable endings such as co.uk and com.au intact with maintained Public Suffix List parsing.
Collapse URLs to one root domain or preserve app, blog, shop and other meaningful subdomains.
Combine several TXT, CSV, LOG, HTML, XML and JSON files up to 20 MB each without cleaning them first.
Remove duplicates, count repeated matches, sort A–Z, strip www, then copy or download the result.
Run the extractor online with no signup. Your source data stays in the browser and is not stored.
URL to domain converter
Crawl files, backlink reports and analytics exports rarely arrive analysis-ready. One URL can contain a protocol, login details, a port, subdomains, folders, tracking parameters and a fragment. A domain extractor strips away the parts you do not need and keeps the identity of the site behind the URL.
Removing https:// and everything after the first slash is easy. Deciding where a registrable domain begins is not. In news.example.co.uk, the public suffix is co.uk and the root domain is example.co.uk—not co.uk.
FlashDomains checks each hostname against the maintained Public Suffix List, including private suffix rules when enabled. That matters for country-code structures and hosted projects such as project.github.io. It also means you can deliberately keep every hostname when a subdomain inventory is the job.
The scanner reads mixed input, not only one clean URL per line. Drop in email addresses, HTML attributes, crawl exports or prose and it finds the domain-shaped values in place. Processing stays on your device.
Common workflows
Use root-domain mode to group many URLs by registrable website. Use hostname mode when subdomains carry meaning. The right output depends on the job after extraction.
Collapse thousands of page URLs into unique referring domains before outreach, gap analysis or link-quality review.
Pull hostnames from crawler exports, server logs, raw HTML and untidy spreadsheet cells without writing a formula or regex.
Switch to hostname mode to preserve app, shop, blog and regional subdomains for migrations, security reviews or content mapping.
Deduplicate root domains, review occurrence counts, then copy a clean list into your next analysis step.
| Use case | Typical input | Best output | Why |
|---|---|---|---|
| Backlink audit | Crawler or SEO export | Root domains | Deduplicate referring sites |
| Site migration | URL inventory | Hostnames | Keep app, shop and regional hosts |
| Partner list cleanup | CSV with contact emails | Root domains | Group contacts by organization |
| Security review | Logs or blocklist | Hostnames | Preserve suspicious subdomains |
Add URLs, email addresses, HTML or text directly, or upload a TXT, CSV, LOG, HTML, XML or JSON file.
Use root domains for unique-site analysis. Keep hostnames when subdomains are meaningful.
Remove duplicates, filter and inspect the report, then copy it or export every matching row as TXT, CSV or JSON.
Clear answers about extracting domains from URLs, text and email addresses—plus where a domain extractor differs from a crawler, link grabber or email harvesting tool.
Paste the URL, choose root-domain or hostname output, then copy or download the result. The extractor removes the protocol, credentials, port, path, query string and fragment while preserving multi-part public suffixes correctly.
| Input URL | Hostname output | Root-domain output |
|---|---|---|
| https://blog.example.co.uk/post | blog.example.co.uk | example.co.uk |
| https://www.example.com:443/a?q=1 | example.com | example.com |
Domain extractor playbooks
Step-by-step guides for cleaning URL exports, grouping referring domains and taking the results into SEO, research and domain-discovery work.
Turn crawl exports, backlink reports and mixed URL lists into clean root domains or hostnames without fragile spreadsheet formulas.
Read guideUpload common text-based export formats, extract domains locally and preserve source files and line numbers in a structured report.
Read guideGroup a permitted contact list by organization using the domain after each @ sign—without crawling websites or harvesting inboxes.
Read guideResearch one domain in depth or check a new shortlist for availability.