Rankite
ServicesResultsToolsTeamAboutBlogCareersContactFree SEO Audit
Free tool

Sitemap File Count Calculator

Enter your total number of URLs to see how many XML sitemap files you need and whether a sitemap index file is required.

Home / Tools / Sitemap File Count Calculator
Sitemap files needed
-
Sitemap index required
-
Avg. URLs per file
-
Est. size per file
-

Each sitemap file can hold at most 50,000 URLs and must stay under 50MB uncompressed, per the sitemaps.org protocol.

Built by Rankite, the SEO team behind Swordfish AI's +400% revenue and Zluri's +45% organic growth. See the case studies

A sitemap file count calculator tells you how many XML sitemap files a large site needs, based on the 50,000 URL and 50MB per-file limits set by the sitemaps.org protocol that Google and Bing both follow.

The actual sitemap limits

Every individual sitemap file is capped at 50,000 URLs or 50MB uncompressed, whichever comes first. Once your site has more URLs than that, or your average URL entry is large enough to push the file past 50MB, you need to split your URLs across multiple sitemap files and list all of them inside one sitemap index file.

How the calculation works

Enter your total URL count and this calculator checks both limits: it divides your URL count by 50,000 to see how many files the count alone requires, and multiplies your URL count by an average bytes-per-entry estimate to see how many files the size limit requires. Whichever number is higher is the number of sitemap files you actually need.

Why splitting matters beyond just staying under the limit

Splitting sitemaps by content type, such as separate files for products, categories and blog posts, rather than an arbitrary alphabetical or numeric split, lets you check each type's indexing status separately in Google Search Console. That makes it much easier to spot, for example, that your product pages are indexing well while your blog posts are not, instead of one large blended number that hides the problem.

Related articles

FAQ

Sitemap File Count Calculator: questions, answered

What is the maximum number of URLs allowed in one sitemap file?
A single sitemap file can list at most 50,000 URLs and must stay under 50MB uncompressed, per the sitemaps.org protocol that Google, Bing and other search engines follow. Sites with more URLs than that need to split their URLs across multiple sitemap files.
What is a sitemap index file?
A sitemap index is a sitemap of sitemaps, a single XML file that lists the location of each individual sitemap file so search engines can find and crawl all of them. You need one as soon as your site requires more than one sitemap file.
How many sitemaps can one index file reference?
Per the sitemaps.org protocol, a single sitemap index file can reference up to 50,000 individual sitemap files, which is enough capacity for even very large sites once you factor in the 50,000 URL limit per sitemap.
Should I split sitemaps by URL count or by page type?
Splitting by page type, for example separate sitemaps for products, categories and blog posts, is usually more useful than splitting purely by count, since it lets you check indexing coverage for each content type separately in Google Search Console.
Does compressing my sitemap change the URL limit?
No. The 50,000 URL limit applies regardless of whether the file is gzip compressed. Compression only reduces the file size search engines need to download, it does not raise the URL count you are allowed to list.

More free tools

Let's grow

Ready to own page one?

Get a free, no-obligation SEO audit and a 30-minute strategy session. We'll show you exactly where the growth is hiding.

Book your free audit Explore services
Get in touch

Tell us about your project

Fill out the form and we'll get back to you within one business day. Prefer email? Write to us directly at contact@rankite.com.

Or copy our email and write to us directly: contact@rankite.com