Skip to domain extractor

Domain Extractor

Loading tool…

By Muhammad Abdullah Rauf · Founder, EverydayTools.proUpdated 2026-05-20· Reviewed by EverydayTools Editorial Team

What does a domain extractor do?

Paste unstructured text—CRM exports, server logs, HTML snippets, or mixed notes—and get back hostnames: the DNS names you would see after https:// or in an email address.

The scanner finds full URLs (including protocol-relative // links), markdown links, email addresses, JSON/HTML attributes, and dotted hostnames. IPv4/IPv6 literals are skipped so security and SEO lists stay hostname-focused.

Optional registrable-root mode rolls subdomains up using multi-part suffix rules (for example api.mail.google.co.uk → google.co.uk). For edge-case TLDs, use Maximum accuracy (PSL)—the Public Suffix List loads once in your browser. Export as CSV, JSON, or plain text.

Paste logs, emails, or URL exports → deduplicated hostnames or registrable roots. CSV/JSON export.

How to use Domain Extractor

  1. Paste or upload input

    Paste server logs, email lists, or crawl exports—or upload a .txt/.csv/.log file (up to 2 MB). Up to ~500k characters per paste.

  2. Choose extraction mode

    Use Simple mode for quick deduplication, or Advanced for registrable-root normalization, TLD filters, frequency view, and custom regex.

  3. Review and filter results

    Sort A–Z or by frequency, filter by TLD, optionally validate hostnames, and group by registrable root.

  4. Copy or export

    Copy as newline list, or download CSV (with optional count column) or JSON. Clear the field when done on a shared machine.

Who uses Domain Extractor?

Common real-world scenarios where this tool saves time.

SEO and content audits

Dedupe crawl or backlink URLs to unique sites before reporting—collapse www and subdomains with registrable-root mode.

Sales and RevOps

Pull company domains from mixed email exports and CRM dumps without writing a script.

Engineering and SRE

Harvest hosts from logs, configs, or JSON—faster than one-off regex when formats vary.

Security triage

List hostnames from tickets or paste-ins; analysis stays offline in your browser tab.

Workflow guides

Step-by-step chains that connect related tools for common tasks.

Audit a server access log for external domains

  1. Paste or upload access log lines—the extractor finds URLs in Referer and request fields.
  2. Cross-check single URLs with Extract Domain from URL for full component breakdown. Extract Domain from URL
  3. Export the deduplicated domain list as CSV for spreadsheet analysis.

Plain-text notes → website names

  1. Paste informal prose, bullet lists, or meeting notes that mention sites in passing.
  2. Use Extract Domain from Text when you only need website names from prose—not full hostnames. Extract Domain from Text
  3. Return here when the paste mixes URLs, emails, and logs for bulk deduplication and CSV export.

Email list → unique company domains

  1. Paste CRM or newsletter export with mixed columns.
  2. For email-only exports, Extract Domain from Email offers a focused one-click workflow. Extract Domain from Email
  3. Enable Normalize to registrable domain to collapse mail.* and www.* to one root per company.
  4. Export CSV with count column to prioritize domains by frequency.

Domain Extractor examples

Mixed CRM export

Input

Leads: alice@mail.partner.co.uk
See //cdn.partner.co.uk/assets
Article https://www.partner.co.uk/blog?id=1

Output

mail.partner.co.uk
cdn.partner.co.uk
www.partner.co.uk

Three hostnames from email, protocol-relative URL, and https link. With Normalize to registrable domain enabled, output collapses to partner.co.uk.

Server access log snippet

Input

203.0.113.42 - "GET https://api.service.co.uk/v1/data" 201
user@mail.example.com - "GET https://docs.example.com" 200

Output

api.service.co.uk
docs.example.com
mail.example.com

IPs are ignored; URLs and email domains are extracted and deduplicated for allowlist or vendor audits.

Reference tables

Fast (curated suffixes) vs Maximum accuracy (PSL)

Choose root-domain mode based on accuracy needs and offline use.

ModeBest forTrade-off
Fast (curated list)Everyday .co.uk, .com.au, and common multi-part TLDsWorks offline after page load; may miss rare provider domains
Maximum accuracy (PSL)github.io, regional nic TLDs, unusual public suffixesDownloads Public Suffix List once in-browser; slightly slower first run

Domain Extractor vs focused extractors

Use this hub for mixed input; use narrow tools when format is known.

ToolInput shapeWhen to use
Domain Extractor (this page)Logs, emails, URLs, exportsBulk paste; dedupe and CSV/JSON export
/extract-domain-from-emailEmail address listsCRM or mailing-list exports only
/extract-domain-from-urlLine-oriented URLsSitemap or URL list imports
/extract-domain-from-textPlain prose and snippetsBeginner text-only extraction

Common mistakes to avoid

Expecting raw Unicode domain labels in free text to always match

URL-shaped input and ASCII punycode (xn--…) work reliably. For IDN, paste the canonical https link or punycode hostname.

Using Fast mode for github.io or unusual suffixes

Switch to Maximum accuracy (PSL) under Advanced so registrable roots match the Public Suffix List.

Pasting multi-megabyte files without splitting

Input is capped (~500k characters) with safety limits on candidates; split very large logs and process in chunks.

Frequently Asked Questions

How do I extract domains from URLs and emails in one paste?

Paste logs, CRM exports, or URL lists into the box—the scanner finds http(s) links, protocol-relative // URLs, email addresses, and bare hostnames. Results are deduplicated; turn on “Normalize to registrable domain” if you want one root per site (for example api.mail.google.co.uk → google.co.uk).

What is the difference between a hostname and a registrable (root) domain?

A hostname is the full DNS name (www.blog.example.com). The registrable domain is what you could register under a public suffix—often called the eTLD+1 (example.com, example.co.uk). This tool can show hostnames as extracted, then optionally roll subdomains up to that registrable root for reporting and deduplication.

What input formats does the domain extractor support?

The extractor handles mixed text: bare URLs (https://example.com/path), protocol-relative links (//cdn.example.com), markdown links ([text](https://url)), email addresses (user@domain.com), and plain hostnames. Paste logs, CSV exports, HTML source, or any mixed text.

What is registrable-root domain extraction?

Registrable-root mode strips subdomains and returns only the registrable domain—the part you would register with a registrar. For example, blog.company.co.uk becomes company.co.uk (using the Public Suffix List in PSL mode). Useful for summarizing which companies appear in a URL list.

Can I extract domains from email lists?

Yes. Paste email addresses and the extractor returns the domain portion of each address. With deduplication and optional registrable-root mode, you get a unique company-domain list from any export.

How do I export the extracted domains?

Export as CSV (one domain per line, optional count column), JSON array, or plain newline-separated text. CSV counts help prioritize domains that appeared most often in the source.

Does it handle international domains (IDN) and punycode?

Yes when the input is URL-shaped or uses ASCII punycode labels (xn--…). The browser’s URL parser normalizes hostnames like the address bar. Raw Unicode labels only in prose may be missed—prefer pasted links or punycode for full coverage.

Why are some domains missing from my results?

The extractor skips IPv4/IPv6 literals, drops candidates that fail hostname validation, and ignores strings that never look like a URL, email, or dotted hostname. Enable Maximum accuracy (PSL) under Advanced for unusual TLDs and provider domains like github.io.

How accurate is “Fast (curated list)” vs “Maximum accuracy (PSL)”?

Fast mode uses a curated set of multi-part suffixes (e.g. .co.uk, .com.au) for speed and offline use. PSL mode downloads public suffix data and matches the longest registrable suffix—better for edge cases. Both modes stay in your browser.

Are www and non-www treated as the same domain?

By default www is kept as part of the hostname. You can strip www, dedupe www vs non-www, and normalize case from the options.

Is my data uploaded or stored on Domain Extractor — Bulk URLs, Emails & CSV Export?

No. Parsing, filtering, and export run entirely in your browser tab. Nothing is sent to EverydayTools servers for this tool.

What are the size limits?

Input is capped at roughly 500k characters so tabs stay responsive. Very large pastes may hit candidate or unique-domain caps; the UI warns you to split the file.

Privacy, accuracy, and trust

Privacy

Domain Extractor — Bulk URLs, Emails & CSV Export (/domain-extractor) runs in your browser when supported—inputs are not uploaded to EverydayTools servers.

Accuracy

Hostname validation follows browser URL parsing and conservative hostname rules. Registrable-root output depends on Fast suffix list or PSL mode as selected.

Advertisement

Reviewed by EverydayTools Editorial Team on 2026-05-20.

Same workflow or intent — pick the next step without leaving the site.

Frequently opened tools from the same category.

People also use

Cross-category tools others open in the same session.

Continue learning

Guides and walkthroughs that reference this tool.

Explore categories

Browse full tool collections by topic.