URL Domain Extractor

Turn a messy URL list into clean domains in seconds. Handles subdomains, ports, query strings, and mixed http/https. Bulk export ready.

βœ“ Free foreverβœ“ No signupβœ“ Runs in your browserβœ“ 20MB / 3,000+ domains

Extract Domains Now

Step 1 β€” Choose input method

πŸ’‘ Quick load a sample to see how it works:

πŸ“

Click to upload or drag & drop

TXT Β· CSV Β· HTML Β· JSON Β· XML Β· LOG Β· MD (Max 20MB)

Step 2 β€” Configure extraction

Source Type

Domain Mode

TLD Filter

Extras

Domain Level

Step 3 β€” Extract

πŸ”—
URL Domain ExtractorPaste a list of full URLs and reduce them to their bare domains. Handles schemes, ports, paths, query strings, and multi-part TLDs like .co.uk.

How to Extract Domains from URLs πŸš€ Extract now

  1. Paste your URL list into the input box (one per line works best).
  2. Under Source Type, select URL list only for the cleanest results.
  3. Optionally toggle Keep subdomains off to get root domains only.
  4. Click πŸš€ Start Calculate β€” export CSV/JSON when done.

What This Handles πŸš€ Extract now

Input URLRoot domainWith subdomain kept
https://www.example.com/pageexample.comexample.com
http://blog.example.com/post?id=5example.comblog.example.com
https://shop.example.co.uk:8080/cartexample.co.ukshop.example.co.uk
ftp://files.example.org/pubexample.orgfiles.example.org
example.com/path (no scheme)example.comexample.com

Common URL-to-Domain Use Cases πŸš€ Extract now

πŸ”— SEO Backlink Cleanup

Ahrefs/SEMrush exports contain thousands of full URLs β€” reduce to unique referring domains for reporting.

🚫 Disavow Lists

Google's disavow tool accepts domains one per line. Extract root domains from your bad-link list.

🌐 Sitemap Audit

Paste sitemap URLs to verify every entry belongs to the correct host.

πŸ›‘οΈ Firewall Rules

Convert URL block-lists into domain-only allow/deny rules.

πŸ“Š Analytics Prep

Group event URLs by hostname before feeding into a dashboard.

πŸ” Traffic Auditing

Turn HTTP access logs into a unique host list for capacity planning.

Advanced Options for URL Lists πŸš€ Extract now

Related Tools πŸš€ Extract now

FAQ πŸš€ Extract now

How do I extract a domain from a URL?
Paste the URL(s), pick URL list only as Source Type, then click Start Calculate. The tool parses each URL's hostname and, optionally, reduces to the registrable domain.
Does it handle URLs without http://?
Yes. Bare hostnames like example.com/path are parsed correctly.
What about URLs with ports or query strings?
Ports (:8080), paths, query strings (?a=1), and fragments (#top) are all stripped automatically.
Does it recognise multi-part TLDs like .co.uk?
Yes β€” the registrable-domain logic knows the public suffix list, so a.b.example.co.uk reduces to example.co.uk, not co.uk.