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
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
- Paste your URL list into the input box (one per line works best).
- Under Source Type, select URL list only for the cleanest results.
- Optionally toggle Keep subdomains off to get root domains only.
- Click π Start Calculate β export CSV/JSON when done.
What This Handles π Extract now
| Input URL | Root domain | With subdomain kept |
|---|---|---|
https://www.example.com/page | example.com | example.com |
http://blog.example.com/post?id=5 | example.com | blog.example.com |
https://shop.example.co.uk:8080/cart | example.co.uk | shop.example.co.uk |
ftp://files.example.org/pub | example.org | files.example.org |
example.com/path (no scheme) | example.com | example.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
- Keep subdomains vs. registrable only: Toggle "Keep subdomains" off if you only care about
example.com, not eachapi.,cdn.variant. - Multi-part TLD support: Correctly handles
.co.uk,.com.au,.ne.jpusing public-suffix logic. - Port & path stripping:
:8080,/path,?query,#fragmentare all removed automatically. - Sort by TLD: Groups
.com,.org,.nettogether in the output.
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.