Skip to content
NMSnabbit.

Domain Name Extractor

Extract the domain / host from URLs, emails or text, de-duplicated.

Extractors Runs in your browser

What is a domain extractor?

Feed it URLs, email addresses or prose and it answers with bare hostnames: https://www.example.com/pricing becomes www.example.com, and [email protected] becomes shop.co.uk. Schemes, paths, ports and mailbox names are stripped; subdomains are kept. Output is lowercased and de-duplicated, so Example.COM and example.com merge into one line.

How to use the Domain Extractor

  1. 1 Feed in URLs, email addresses or plain text.
  2. 2 Each entry is reduced to its hostname, lowercased.
  3. 3 Subdomains stay; schemes, paths and mailbox names go.
  4. 4 Select and copy the finished domain list.

What you can use it for

  • Listing the domains referenced across a document.
  • Turning a column of URLs into their host names.
  • Extracting the domain from a batch of email addresses.
  • Checking which sites a page links out to.

Frequently asked questions

Will bare domains without a scheme be picked up?
Yes. A hostname like example.org standing alone in the text is recognised, alongside domains inside full URLs and email addresses.
Does www.shop.example.com get reduced to example.com?
No. The complete host is returned with subdomains intact. Collapse to registrable domains in a spreadsheet afterwards if that is what you need.
Why is everything lowercase in the results?
DNS treats Example.COM and example.com as the same host, so lowercasing costs nothing and lets de-duplication merge entries that differ only in case.

Related tools

More Extractors

More tools like this:

All Extractors