Skip to main content

Free Sitemap Link Counter - Count URLs in XML Sitemaps

Paste a sitemap URL (or just your domain) to count every <loc> link across XML sitemaps and sitemap indexes. See total vs unique URLs, a per-file breakdown, and download a CSV sample - no signup.


Technical SEO

Count every URL in your sitemap

Paste a sitemap or site URL to tally links across XML sitemaps and sitemap indexes - including gzipped files - with a per-file breakdown.

Paste a sitemap URL, or just a domain - we'll check robots.txt, /sitemap.xml, and /sitemap_index.xml. Gzipped sitemaps and sitemap indexes are supported.

How to use

How to use Sitemap Counter

  1. 1

    Paste a sitemap or domain

    Enter https://example.com/sitemap.xml, a .xml.gz URL, or just example.com to auto-discover the sitemap.

  2. 2

    Count links

    We fetch the XML (decompressing gzip when needed), expand sitemap indexes, and tally every <loc> URL.

  3. 3

    Review the breakdown

    Check total vs unique URLs, per-file counts, soft-limit warnings, and optionally download a CSV of returned URLs.

Guide

How to use a sitemap link counter for technical SEO

An XML sitemap tells search engines which URLs matter. Counting those links is the fastest way to spot a missing section, an accidental dump of thin archive pages, or a single file that has grown past the 50,000-URL soft limit Google and Bing document.

If you paste a bare domain, this tool looks for Sitemap: lines in robots.txt, then tries /sitemap.xml and /sitemap_index.xml. Sitemap indexes are expanded so you get a total across child files plus a per-file table.

Compare the sitemap count to Search Console’s indexed pages: a large gap can mean crawl budget waste, noindex mismatches, or URLs that never made it into the sitemap after a CMS migration.

After you clean the list, keep robots.txt pointing at the canonical sitemap and re-check Domain Rating before you invest in directory submissions or launch outreach.

Explore more on free ScrollLaunch tools, browse DR-ranked directories, or launch with a dofollow backlink.

Questions

Sitemap Counter FAQ

What is a sitemap?

An XML sitemap lists the URLs you want search engines to discover and crawl. It usually lives at /sitemap.xml (or behind a sitemap index) and is often referenced from robots.txt with a Sitemap: line.

Why track the number of links in my sitemap?

URL count helps you spot missing pages, bloated archives, and files that exceed the 50,000-URL soft limit used by Google and Bing. A clean count also makes it easier to compare sitemap size to what Search Console indexes.

Can this tool count links in a sitemap index?

Yes. If the file is a sitemap index, we follow child sitemaps and sum the <loc> URLs across them, with a per-file breakdown so you can see which child is largest.

How does the sitemap link counter work?

We fetch the sitemap (or discover it from robots.txt / common paths), parse XML <loc> entries, expand sitemap indexes, and return total, unique, and per-file counts. Pair it with the robots.txt generator so your Sitemap: line stays accurate.

Does this tool work with gzipped sitemaps?

Yes. .xml.gz files and gzip Content-Encoding responses are decompressed before counting.

Is the sitemap URL count the same as indexed pages?

No. This tool counts URLs declared in your sitemaps. Search Console shows what Google actually crawled and indexed, which can be higher or lower.