Extract Domains
Pull every hostname out of a text and reduce them to their root domains.
- Runs in your browser
- Free to use
About this tool
The Domain Extractor finds hostnames wherever they appear, in URLs, e-mail addresses, log lines or prose, and derives the registrable root domain of each using a list of common second-level suffixes. The output is two deduplicated lists ready for a blocklist, a reputation check or a report. Check any of them with the Domain Reputation Check.
How to use it — quick steps
- 01
Enter the text to scan
Type or paste the text to scan in the field above. Nothing is uploaded. Use Ctrl + V to paste.
- 02
Adjust the options
Pick the settings that fit your case; the defaults work for most people. Changes apply instantly.
- 03
Press "Extract domains"
Press "Extract domains" or Ctrl + Enter. The result appears instantly below the form.
Key features of this tool
Precise patterns
Battle-tested regular expressions match real-world formats while avoiding common false positives.
Deduplicated
Every matched entry is returned once (without duplicates), with counts of total and unique matches.
Private
The text is processed in your browser; text and documents never leave your device, ensuring data privacy.
Frequently asked questions
Hostname vs root domain?
www.blog.example.co.uk is a hostname; its root (registrable) domain is example.co.uk. Both lists are provided.
Are IP addresses excluded?
Yes, dotted IPs are skipped so they do not appear as domains.
Are my files or data uploaded?
No. The tool is plain JavaScript that runs in your browser; the files or data you provide here are never uploaded to our servers.