Skip to main content

Domain Extractor

Extract, deduplicate and count the root domains referenced in a list of URLs or a block of text — resolved against the public suffix list so multi-part TLDs like .co.uk and .com.au collapse to the correct registrable domain instead of a naive last-two-labels split.

Input

Output

Root Domains
Domain Occurrence Counts
DomainOccurrences
No data yet
Was this helpful?

Guides

The Domain Extractor scans a list of URLs, or any block of text that mentions them, and pulls out the root domain behind every link — deduplicated, counted, and sorted the way you want. It runs entirely in your browser, so nothing you paste ever leaves your device.

What it does

Paste a list of URLs, a scraped log, an email export, or just a paragraph that happens to contain links, and the tool finds every URL and domain-like token in it. Each one is resolved against the public suffix list — the same authoritative registry browsers use — so multi-part TLDs like .co.uk or .com.au collapse to the correct registrable domain instead of a naive "last two dot-segments" guess: https://shop.example.co.uk/sale correctly extracts example.co.uk, not co.uk.

How to use it

  1. Paste your URLs or text into the input box (or send text from another tool).
  2. Pick a Sort order — most-frequently-seen domain first, alphabetical, or the order domains first appear.
  3. Choose a Separator for the plain-list output: new line, comma, or semicolon.
  4. Read the results two ways: the Root Domains list gives you the deduplicated set as plain text, and the Domain Occurrence Counts table gives you each domain with how many times it showed up — copy it or download it as a .csv.

The Unique domains found field is a quick count, handy for auditing a document, a backlink export, or a list of referrers.

Why does www.example.co.uk extract as example.co.uk, not co.uk?

.co.uk, .com.au, .github.io and hundreds of other suffixes are multi-part — the registrable part of the domain sits one label deeper than a single-part TLD like .com. This tool resolves every candidate against the public suffix list rather than blindly splitting on the last two dots, so the "root domain" it reports is always the part someone actually registered.

Does it count how many times each domain appears?

Yes — the Domain Occurrence Counts table tracks every match, even when the same domain shows up as a full URL, a bare www. link, and a plain-text mention. Sort by "Most occurrences first" to see which domain is referenced most.

Can I feed the output into another tool?

Yes — use the output card's "Send to…" option to pass the extracted domain list straight into another text tool, or download it for further processing.

Privacy

This tool is fully client-side. Your text is processed locally in your browser and is never uploaded, logged or stored. You can even use it offline once the page has loaded.

domainurlextracttldpublic suffixdedupetext

Love the tools? Lose the ads.

One payment clears every ad from your account, for good. No subscription, no tracking.