← All text tools

Domain Extractor from URLs

Extract the hostname, root domain or top-level domain from a long list of URLs and count how many links each domain has, with an editable list of two-part endings.

  • Free
  • No sign-up
  • Works on any device

About Domain Extractor from URLs

Backlink exports, crawl logs and referral reports are long lists of full URLs, while analysis needs the domains. This extractor reads one URL per line, and returns the full hostname, the root domain (the registrable name such as example.com) or only the top-level domain, with an option to strip a leading www. It counts how many links each result has and sorts them by count, alphabetically or by first appearance. Because root domains depend on public suffixes like co.uk, the list of two-part endings is editable.

How to use Domain Extractor from URLs

  1. Paste the URLs, one per line; lines without a scheme are accepted too.
  2. Choose hostname, root domain or top-level domain, and whether to remove www and how to sort.
  3. Copy the counted list or download it as a tab-separated file for your spreadsheet.

Why use this tool?

Also known as

Frequently asked questions

How does the tool find the root domain?

It takes the last two labels of the host, or the last three when the ending is in the editable list of two-part suffixes such as co.uk. Add any missing ending to that list.

What happens to lines that are not URLs?

They are skipped and counted in the lines skipped row, so you can see how much of the list was usable. Spaces inside a line make it invalid.

Are ports and paths counted as different domains?

No. Ports, paths, queries and fragments are ignored, so links to different pages and ports on one host count together.

Is Domain Extractor from URLs free?

Yes. Domain Extractor from URLs on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.