# XML sitemap too large

> Check Google

Canonical: https://scaplet.com/seo-issues/sitemap-too-large

Guide SEO issue · Crawlability

Check Google's sitemap size limits, divide a large URL inventory into child sitemaps, and verify each file in Search Console.

4 min

read

3

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

In one line

Google limits each sitemap to 50MB uncompressed or 50,000 URLs. Split a larger inventory across smaller sitemap files and list those files in a sitemap index. Include canonical URLs you want considered for Search; submitting a sitemap is a hint, not a guarantee that Google will crawl or index every URL.

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Fsitemap-too-large%20(%22XML%20sitemap%20too%20large%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Fsitemap-too-large%20(%22XML%20sitemap%20too%20large%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Fsitemap-too-large%20(%22XML%20sitemap%20too%20large%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Fsitemap-too-large%20(%22XML%20sitemap%20too%20large%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 4 parts, 4 minutes.

1. [Check the actual limit first 01](#check-the-actual-limit-first)
2. [Measure and split the inventory 02](#measure-and-split-the-inventory)
3. [Keep sitemap files useful 03](#keep-sitemap-files-useful)
4. [Verify the published set 04](#verify-the-published-set)

_01_Sitemap limits and the appropriate response

## Check the actual limit first

Google's documented limit for each [sitemap file](/glossary/xml-sitemap) is 50MB uncompressed or 50,000 URLs. Compression can reduce transfer size, but the limit is measured uncompressed. If the file exceeds either limit, split it; do not drop useful URLs just to make one XML file smaller. [Search Console](/glossary/google-search-console) reports these as "Sitemap file size error" (larger than 50MB when uncompressed) and an error that the sitemap lists more than 50,000 URLs.

File

### One sitemap

Google limit

50MB uncompressed or 50,000 URLs

If the limit is exceeded

Create multiple child sitemaps, each below both limits.

File

### Sitemap index

Google limit

Up to 50,000 sitemap entries (`loc` tags)

If the limit is exceeded

Create additional index files if needed and submit them separately. Search Console accepts up to 500 sitemap index files per site.

File

### Sitemap URL values

Google limit

Fully qualified absolute URLs

If the limit is exceeded

Use the complete [canonical URL](/glossary/canonical-url), not a relative path.

A sitemap index is a directory of sitemap files, not a way to exceed the limit inside a child file. Google requires the sitemap index and its referenced sitemaps to follow sitemap format requirements. By default, referenced sitemaps must be hosted on the same site and within the index's directory hierarchy unless cross-site submission is configured.

**Large site? Partition by a useful boundary**Separate child sitemaps by content type, locale, or stable route family. That makes the inventory easier to regenerate and lets Search Console report processing status for individual files.

_02_How it works

## Measure and split the inventory

1. 1

### Fetch the published sitemap

Download the sitemap URL Google receives. If it is compressed, decompress it before checking the 50MB uncompressed limit. Count `<url>` entries rather than counting line breaks, which can vary with formatting.
2. 2

### Check the source inventory

Compare the sitemap with the page database or route generator. Confirm it contains canonical URLs that you actually want in Search, not every reachable URL, preview, filter, redirect, or alternate duplicate.
3. 3

### Generate bounded child files

Split the canonical URL inventory so every child file stays under both limits. Generate these files from the site data or CMS so newly published pages are included and retired pages can be removed.
4. 4

### Create and publish the index

Write a sitemap index with one `<sitemap><loc>...</loc></sitemap>` entry per child sitemap. Publish it at a stable URL and submit that index in Search Console's [Sitemaps report](/glossary/sitemaps-report).
5. 5

### Inspect report status

Open the Sitemaps report and check the submitted index and each child file for read or processing errors. Google documents that the report shows when [Googlebot](/ai-crawlers/googlebot) accessed submitted sitemaps and possible processing errors.

Google generally shows canonical URLs in results and describes sitemaps as a way to tell search engines which URLs you prefer. Keep sitemap entries consistent with canonicals and redirects. If an important URL is excluded unexpectedly, inspect the generated inventory and page signals together rather than assuming the sitemap overrides them.

_03_Worth knowing

## Keep sitemap files useful

### List URLs you want in Search

Google says to include URLs you want to see in its results. Leave out duplicate variants and noncanonical routes.

### Use absolute URLs

Include protocol and host, such as `https://www.example.com/page`, so Google can request the URL exactly as listed.

### Do not use sitemap submission as an indexing fix

Google calls sitemap submission a hint and does not guarantee that it will download the sitemap or crawl the listed URLs.

### Use accurate `lastmod`

Google says it can use a consistently verifiable value that reflects significant page changes; changing a copyright year alone is not a significant update.

### Keep generation deterministic

Generate the same set of files from the same URL inventory and deploy files atomically so an index does not point at missing or stale children.

For a large ecommerce catalog, a child sitemap per product family can simplify regeneration when inventory changes. For a publisher, separate article types or languages if the URL set is large enough to benefit from smaller reports. For a 10,000-page content library, one sitemap remains below Google's URL-count limit, but still check the uncompressed byte size, since long URLs or sitemap extensions such as images or video add to it.

_04_Explained

## Verify the published set

Fetch the index from its public URL and verify every child URL returns a readable sitemap. Count the entries and uncompressed bytes for each child. Check XML validity, absolute URL format, host and directory placement, and whether listed pages point to their intended canonical destinations.

In Search Console, submit the index and check each sitemap's status: Success, Has errors, or Couldn't fetch. Success means the sitemap was loaded and processed without errors, not that every listed URL is indexed. Review [Page indexing](/glossary/indexing) and [URL Inspection](/glossary/url-inspection-tool) for specific canonical or indexing issues. Remove URLs that redirect or carry noindex when those pages should not appear in Search; see [noindex URLs in a sitemap](/seo-issues/noindex-page-in-sitemap).

If Google cannot fetch a sitemap because robots.txt blocks it, review [the robots.txt block](/seo-issues/blocked-by-robots-txt). For malformed or outdated URL entries, repair the generator at its source and recheck the submitted file.

Questions

## Asked a lot.

2 questions people ask next, answered from the sources on this page.

_01_ Can a sitemap contain more than 50,000 URLs if it is compressed?

No. Google documents a limit of 50,000 URLs and 50MB uncompressed per sitemap. The size limit applies to the uncompressed file; split the URLs into child files.

_02_ Does a sitemap index have a 50,000 URL limit?

Yes, a smaller one. A sitemap index lists sitemap files rather than page URLs, and Google documents a maximum of 50,000 `loc` tags in an index. If you need more, split the index; Search Console accepts up to 500 sitemap index files per site.

Sources · 3

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- google.com

1. 01 [Build and submit a sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap) developers.google.com · checked 2026-10-24
2. 02 [Manage your sitemaps with a sitemap index file](https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps) developers.google.com · checked 2026-10-24
3. 03 [Sitemaps report](https://support.google.com/webmasters/answer/7451001?hl=en) support.google.com · checked 2026-10-24

## Keep learning

[All seo issues](/seo-issues)

[Learn Page blocked by robots.txt Crawlability](/seo-issues/blocked-by-robots-txt) [Related Sitemaps report Crawling and indexing](/glossary/sitemaps-report) [Read next Noindex page in sitemap Indexability](/seo-issues/noindex-page-in-sitemap) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in SEO issues
[Slow Time to First Byte](/seo-issues/slow-ttfb) [Soft 404 errors](/seo-issues/soft-404-errors)

More in Crawlability
[Infinite URL parameters](/seo-issues/infinite-url-parameters) [Nofollow internal links](/seo-issues/nofollow-internal-links) [Orphan pages](/seo-issues/orphan-pages) [Page blocked by robots.txt](/seo-issues/blocked-by-robots-txt) [Pages too deep in your site structure](/seo-issues/pages-too-deep) [Robots.txt blocks CSS or JavaScript](/seo-issues/robots-txt-blocks-css-js) [robots.txt not found](/seo-issues/robots-txt-not-found) [Sitemap contains non-200 URLs](/seo-issues/sitemap-contains-non-200-urls) [Sitemap not found](/seo-issues/sitemap-not-found) [XML sitemap too large](/seo-issues/sitemap-too-large)

Terms on this page
[XML sitemap](/glossary/xml-sitemap) [Google Search Console](/glossary/google-search-console) [Canonical URL](/glossary/canonical-url) [Sitemaps report](/glossary/sitemaps-report) [Indexing](/glossary/indexing) [URL Inspection tool](/glossary/url-inspection-tool)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
