Many teams gzip a bloated sitemap, see a 4MB file, and assume they're safe. Wrong target. The 50MB ceiling is measured UNCOMPRESSED. Your tiny .gz can still exceed it once Google decompresses it.
The correction — check both limits at the uncompressed size:
—
✅ Uncompressed payload under 50MB
—
✅ URL count under 50,000 (whichever you hit first wins)
—
✅ Verify with: gunzip -c sitemap.xml.gz | wc -c — must be under 52,428,800
—
✅ If either limit is close, split into a sitemap index now, not later
Gzip still helps transfer speed — keep it. Just stop using the compressed size as your safety check.
Definition of done: every individual file passes both 50,000-URL AND 50MB-uncompressed thresholds.
The Sitemap SOP
@SitemapSOP
Myth: the 50MB sitemap limit applies to the gzipped file
This post was published in the Telegram channel The Sitemap SOP (@SitemapSOP). All its posts are on the channel page.
Open on Telegram