Extract Domains

Pull every hostname out of a text and reduce them to their root domains.

  • Runs in your browser
  • Free to use
Paste logs, e-mails, HTML or any text.
ctrl + enter

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

  1. 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.

  2. 02

    Adjust the options

    Pick the settings that fit your case; the defaults work for most people. Changes apply instantly.

  3. 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.


Popular tools


From APIVoid, the team behind IPVoid

Enhance your threat detection capabilities

APIVoid provides threat intelligence APIs to automate security workflows, with simple pricing and a 30-day free trial to start, no card required.

What you get with APIVoid

  • IP reputation and blacklist checks
  • Domain and URL reputation scoring
  • DNS lookups and propagation
  • SSL certificate and TLS details
  • Website screenshots and page info
  • Email address verification
  • 30+ cybersecurity APIs
30-day free trial