Extract Domains from Text (eTLD+1)
Pull unique domains out of any text containing URLs. Useful for link audits, blocklist generation, content analysis. Optionally group by registered domain ("eTLD+1") so all subdomains of example.com are counted together.
How to use the Extract Domains from Text (eTLD+1)
Paste text containing URLs or email addresses. Toggle group by registered domain to fold subdomains into their base domain, choose whether to include email domains, and sort by frequency or alphabetically. The output is a deduplicated list of domains, each with a count.
Pulling a clean domain list out of messy text
URLs pile up in logs, exports, and scraped pages, but what you usually want is the set of distinct domains — not every link. Subdomains make a naive count misleading: api.example.com, www.example.com, and cdn.example.com are three hosts but one site.
This extractor reads the host out of every URL (and, optionally, the domain after the @ in email addresses), folds subdomains into their registered domain when you ask it to, removes duplicates, and counts how often each appears. To keep the full URLs and emails intact instead of reducing them to domains, use the URL & email extractor; to pull @handles and #hashtags, see the handle extractor.
Common use cases
- Link audits — list every external domain a document or page references.
- Blocklist seeding — get a distinct set of domains to feed a filter or firewall rule.
- Content analysis — see which domains dominate a corpus by how often they appear.
- Email triage — collect sender domains from a pasted batch of addresses.
- Vendor mapping — find every third-party host referenced across HTML or config.
Frequently asked questions
What does “group by registered domain” mean?
sub.example.com and www.example.com into example.com, handling multi-part suffixes like example.co.uk so they group correctly.