Root Domain Extractor

Strip every subdomain, get only the registrable root domain. Correctly handles multi-part TLDs like .co.uk, .com.au, .ne.jp.

βœ“ Free foreverβœ“ No signupβœ“ Runs in your browserβœ“ 20MB / 3,000+ domains

Extract Domains Now

Step 1 β€” Choose input method

πŸ’‘ Quick load a sample to see how it works:

πŸ“

Click to upload or drag & drop

TXT Β· CSV Β· HTML Β· JSON Β· XML Β· LOG Β· MD (Max 20MB)

Step 2 β€” Configure extraction

Source Type

Domain Mode

TLD Filter

Extras

Domain Level

Step 3 β€” Extract

🌳
Root Domain ExtractorForce-strip every subdomain to reveal the registrable (root) domain. Public Suffix List aware β€” correctly handles .co.uk, .github.io, .appspot.com.

What Is a Root (Registrable) Domain? πŸš€ Extract now

The registrable domain is the shortest domain name you could actually purchase from a registrar. For a hostname like api.blog.example.co.uk:

This tool applies the public-suffix rules automatically, so you never accidentally treat co.uk as if it were a domain.

How to Extract Root Domains πŸš€ Extract now

  1. Paste your text, URLs, or emails above (or upload a file).
  2. Check Registrable only in the Domain Mode option card.
  3. Click πŸš€ Start Calculate.
  4. You'll get only the registrable root domain β€” no subdomains, no www., no ports.

Before & After Examples πŸš€ Extract now

Input hostnameRoot domain
www.example.comexample.com
blog.example.comexample.com
api.v2.staging.example.comexample.com
shop.example.co.ukexample.co.uk
a.b.c.example.com.auexample.com.au
user.github.iouser.github.io (github.io is a public suffix)
app.example.appspot.comexample.appspot.com (appspot.com is a public suffix)

Why Root Domains Matter πŸš€ Extract now

🚫 Google Disavow Files

Google's disavow tool wants root domains, one per line, prefixed with domain:. Extract root, then prepend.

πŸ“Š Aggregated Analytics

Group traffic by root domain so www, m., blog. variants roll up together.

πŸ”’ Firewall Domain Rules

Block/allow at the root level to cover all subdomains at once.

πŸ’Ό CRM Account Matching

Match leads to companies by root domain rather than exact email host.

Public Suffix List Compliance πŸš€ Extract now

We use the same rule structure as Mozilla's Public Suffix List, which is the industry standard for determining what part of a domain can be "owned" versus what is a public infrastructure suffix. This means:

Related Tools πŸš€ Extract now

FAQ πŸš€ Extract now

What's the difference between root domain and registrable domain?
In this tool they're the same thing β€” both refer to the shortest domain a person could actually register (e.g. example.co.uk, not co.uk).
How is .co.uk handled?
Correctly. shop.example.co.uk reduces to example.co.uk. This works for every multi-part TLD in the Public Suffix List.
Why does user.github.io stay untouched?
Because github.io is on the Public Suffix List β€” it's public infrastructure for GitHub Pages. The registrable domain is user.github.io.