Free auditStart free
GuideSEO issue · Crawlability

XML sitemap too large

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 withChatGPTClaudePerplexityGoogleAI Mode
02How 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.

  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 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.

03Worth 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.

04Explained

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 and URL Inspection 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.

If Google cannot fetch a sitemap because robots.txt blocks it, review the robots.txt block. 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.

01Can 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.

02Does 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. 01Build and submit a sitemapdevelopers.google.com · checked 2026-10-24
  2. 02Manage your sitemaps with a sitemap index filedevelopers.google.com · checked 2026-10-24
  3. 03Sitemaps reportsupport.google.com · checked 2026-10-24
Free · 2 minutes

Tools point. Agencies advise. This one ships.

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

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane