Skip to content

Split a sitemap that exceeds Google’s limits

A sitemap may contain up to 50,000 URLs and must be no larger than 50 MB uncompressed. If it exceeds either limit, split the URLs into valid child sitemaps and list them in a sitemap index. Verify each child file and use URLs that belong in the sitemap’s permitted scope.

What you need

For an SEO lead managing a large catalog whose sitemap cannot be processed.

  • The current sitemap files and uncompressed sizes.
  • A list of intended canonical URLs.
  • The host and sitemap location used in Search Console.

Split an oversized sitemap without losing the URLs that should be discoverable.

  1. Count URL entries and measure the uncompressed file size; check both limits.
  2. Split the URL list into child files below both limits and preserve the intended canonical URLs.
  3. Create a sitemap index listing the child files and check each file’s location and host scope.
  4. Compare unique URLs before and after the split, then review Search Console processing for the submitted index.

Split a 70,000 URL catalog

Synthetic URL inventory; each child file is also assumed to be under the uncompressed size limit.

Scroll the table to see all columns.

Two child sitemaps and one index
FileURL countStatus
products-1.xml40,000Below URL limit
products-2.xml30,000Below URL limit
Total70,000Compare with source list

40,000 plus 30,000 equals 70,000. Independently verify the uncompressed file sizes and that no intended URL was lost or duplicated.

What to hand over

A sitemap inventory with child file URL counts, uncompressed sizes, totals and processing status.

Limitation. A valid sitemap helps discovery but does not guarantee Google will crawl or index every listed URL.

Next step

Bring a redacted example and your current workflow settings for review.

Discuss this workflow with Shadyy

Sources