Extract Root Domains From URLs
Paste a list of links and get every address broken into its parts, with the true root domain even for country suffixes such as com.pk and co.uk.
The parts pulled out of every address
- Host
- The full hostname, such as shop.example.co.uk, in lower case.
- Root domain
- The registrable domain, example.co.uk rather than co.uk or shop.example.co.uk. This is the column most people come for.
- Subdomain
- Everything in front of the root domain, such as www, blog or shop, or empty when there is none.
- Suffix
- The public ending, such as com, co.uk or com.pk, with a mark when it was assumed rather than recognised.
- Protocol and port
- http or https, and a port number only when the address names one.
- Path, query and parameter count
- The page path, the query string and how many parameters it holds, handy for spotting tracking tags.
- Fragment
- Anything after the # sign, shown separately so it does not get mixed into the path.
- Totals
- How many addresses were parsed, how many unique root domains they belong to and how many lines could not be read.
How to split URLs into domains
Paste your list
One address per line. Links without http, such as example.com/page, are read as https automatically.
Run the separator
Every address becomes a row in the table, in a moment.
Sort and filter
Sort by root domain to group links from the same site, or filter by host or path.
Export what you need
Download the table as CSV, or copy root domains row by row into your next tool.
A single list can hold 5,000 lines, within 200,000 characters in total.
How to read the table
- Root Domains tile
- The number of distinct sites in your list, a quick measure of how many different domains link to you or appear in an export.
- Assumed Suffixes
- Rows where the ending was not on the built in list and the last label was taken as the suffix. Double check the root domain on these.
- Subdomain empty
- The address uses the root domain directly, with no www or other prefix.
- Params
- The number of query parameters. Several on one URL often means tracking or filter tags worth stripping.
- Could Not Be Read
- Lines that are not web addresses, such as email links, plain words or other protocols. They are listed at the bottom, never passed through as if valid.
URL list problems it helps you solve
Backlink export with thousands of links from the same few sites
Fix: Sort by root domain to see how many different sites really link to you, then review each one once.
Country domains split at the wrong place
Fix: The root domain column keeps two part endings together, so example.com.au stays whole instead of turning into com.au.
Mixed www and non www versions in a list
Fix: Compare the host and root domain columns. Matching root domains with different hosts reveal duplicate versions of the same site.
Blog or store platform addresses grouped as one site
Fix: Common platform endings such as blogspot.com, github.io and myshopify.com are treated as suffixes, so each user site gets its own root domain.
Junk lines mixed into a link list
Fix: Check the Lines That Are Not Addresses section and clean those entries out of your source file.
Who needs a domain separator
- Link builders counting unique referring domains in an export.
- SEO auditors grouping crawled URLs by subdomain.
- Outreach teams turning page links into a clean list of sites to contact.
- Analysts preparing domain lists for a bulk rating or availability check.
Known versus assumed suffixes
The built in list covers country second level endings and common hosting platforms, not every public suffix in existence. When an ending is not on it, the tool still gives an answer but marks the row as assumed, so you know which root domains to verify.
Domain Separator FAQ
Short answers about the Domain Separator.
The host is the full name in the address, such as blog.example.com. The root domain is the part you register, example.com.
Yes. Common country second level endings are recognised, so example.co.uk is the root domain, not co.uk.
No. A line such as shop.example.com/cart is read as an https address.
No. Every valid line becomes a row. The Root Domains tile shows how many unique sites the list contains.
They are listed separately under lines that are not addresses, so nothing invalid slips into your results.
Yes. The table exports to CSV with every column included.
Related SEO tools
Ultimate URL Editor
Clean and normalise a list of up to 5,000 URLs.
Free, unlimitedBulk DR, DA, PA & Spam Score Checker
DR, DA, PA and Spam Score for 10 domains.
5 free runs a dayBacklink Audit
Check your backlinks are still live and followed.
1 free run a dayUniversal Text Editor
Sixteen line tools: dedupe, sort, case, find and replace.
Free, unlimited