Domain Extractor — Extract Domains from URLs, Emails & Text

Paste logs, exports, or mixed notes—the scanner finds URLs, emails, and hostnames and returns clean, deduplicated domains. Optional registrable-root mode. No upload.

No signup • Browser-based • 100% private

Quick answer

Paste messy text; get deduplicated hostnames. Turn on normalization to collapse subdomains to registrable roots—sub.mail.google.co.uk google.co.uk.

Already know your format? Email list, URL list, or URL parser for components.

See how it works in seconds

Input

https://mail.google.com admin@company.org

Output

google.com company.org

URLs and emails in one paste — clean domains out, ready to copy or download.

Input

Step 1: Paste URLs, emails, or text

Step 2: Extract clean domains instantly

0 chars

Optional: upload a plain text, CSV, or log file to load into the field above.

All processing happens in your browser. No data is uploaded.

Extraction results

Extracted Domains (0)

Paste URLs, emails, or text to extract domains

Output preview

example.com google.com company.org
By Muhammad Abdullah Rauf · Founder, EverydayTools.proUpdated 2026

What does a domain extractor do?

A domain extractor scans pasted text for URLs, emails, markdown links, and bare hostnames, then returns a deduplicated list of domains—with optional registrable-root (eTLD+1) normalization. No upload; parsing runs in your browser.

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 messy text → deduplicated hostnames or registrable roots. CSV/JSON export. No server upload.

Quick answers

Concise answers for common searches — definitions, steps, and comparisons.

How do I extract domains from text, emails, and URLs at once?

Paste everything into the box—CRM exports, log lines, markdown, and plain sentences. The scanner finds http(s) links, protocol-relative URLs, bracketed links, email addresses, and bare hostnames. Results are deduplicated; turn on Normalize to registrable domain for one root per site (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—the eTLD+1 (example.com, example.co.uk). This tool can show hostnames as extracted, then optionally roll subdomains up to that registrable root.

Is my data uploaded when I use the domain extractor?

No. Parsing, filtering, and export run entirely in your browser. Nothing is sent to EverydayTools servers. Optional PSL mode fetches a static public-suffix file from the site CDN to improve root detection—your paste is still not uploaded.

How to use Domain Extractor — Extract Domains from URLs, Emails & Text

  1. Paste or upload text

    Paste logs, email lists, crawl exports, or mixed text—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 — Extract Domains from URLs, Emails & Text?

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.

Email list → unique company domains

  1. Paste CRM or newsletter export with mixed columns.
  2. Enable Normalize to registrable domain to collapse mail.* and www.* to one root per company.
  3. Export CSV with count column to prioritize domains by frequency.

Domain Extractor — Extract Domains from URLs, Emails & Text 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)Mixed text, logs, emails, URLsKitchen-sink paste; dedupe and 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.

Advertisement

Frequently Asked Questions

How do I extract domains from text, emails, and URLs at once?

Paste everything into the box—CRM exports, log lines, markdown, and plain sentences. The scanner finds http(s) links, protocol-relative // URLs, bracketed links, 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?

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 extraction, filtering, and export run entirely in your browser. Your paste is not uploaded to EverydayTools servers. Optional PSL data is fetched as a static file for suffix rules—not your input.

Accuracy

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

Part of Developer Tools

More free tools for the same workflow.

Advertisement

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