Free domain extractor

URL to domain extractor for clean, usable domain lists

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.

Public Suffix List accurateRuns in your browserMixed inputNo signup

Workflow presets

Start with the job you need to finish

You can fine-tune every setting below.

Paste URLs or text

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

Extraction report

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.

Output type
Cleanup and validation

Built for real exports

Free online domain extractor features

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.

Extract from mixed text

Find domain names inside full URLs, email addresses, HTML attributes, CSV cells, logs and ordinary prose.

Public-suffix accurate

Keep registrable endings such as co.uk and com.au intact with maintained Public Suffix List parsing.

Root or hostname control

Collapse URLs to one root domain or preserve app, blog, shop and other meaningful subdomains.

Drag-and-drop uploads

Combine several TXT, CSV, LOG, HTML, XML and JSON files up to 20 MB each without cleaning them first.

Bulk list cleanup

Remove duplicates, count repeated matches, sort A–Z, strip www, then copy or download the result.

Free and private

Run the extractor online with no signup. Your source data stays in the browser and is not stored.

URL to domain converter

What a URL to domain extractor actually removes

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.

What changes

https://www.example.com/shop?id=4example.com
blog.example.co.uk/articleexample.co.uk
hello@agency.com.auagency.com.au
project.github.io/docsproject.github.io

Common workflows

Domain extractor use cases

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.

Backlink and competitor audits

Collapse thousands of page URLs into unique referring domains before outreach, gap analysis or link-quality review.

Crawl and log cleanup

Pull hostnames from crawler exports, server logs, raw HTML and untidy spreadsheet cells without writing a formula or regex.

Subdomain inventories

Switch to hostname mode to preserve app, shop, blog and regional subdomains for migrations, security reviews or content mapping.

Blocklists and disavow prep

Deduplicate root domains, review occurrence counts, then copy a clean list into your next analysis step.

Domain extractor use cases and recommended settings
Use caseTypical inputBest outputWhy
Backlink auditCrawler or SEO exportRoot domainsDeduplicate referring sites
Site migrationURL inventoryHostnamesKeep app, shop and regional hosts
Partner list cleanupCSV with contact emailsRoot domainsGroup contacts by organization
Security reviewLogs or blocklistHostnamesPreserve suspicious subdomains

How to extract domains from URLs in bulk

  1. 1

    Paste the source

    Add URLs, email addresses, HTML or text directly, or upload a TXT, CSV, LOG, HTML, XML or JSON file.

  2. 2

    Choose root or hostname

    Use root domains for unique-site analysis. Keep hostnames when subdomains are meaningful.

  3. 3

    Clean and export

    Remove duplicates, filter and inspect the report, then copy it or export every matching row as TXT, CSV or JSON.

Domain extractor questions

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.

  1. 1Paste or upload your source
  2. 2Choose root domains or hostnames
  3. 3Review, copy or download
URL extraction examples
Input URLHostname outputRoot-domain output
https://blog.example.co.uk/postblog.example.co.ukexample.co.uk
https://www.example.com:443/a?q=1example.comexample.com

Domain extractor playbooks

Use your extracted domains in a real workflow

Step-by-step guides for cleaning URL exports, grouping referring domains and taking the results into SEO, research and domain-discovery work.

Browse all guides

Clean list ready. Put it to work.

Research one domain in depth or check a new shortlist for availability.