
Does Page Size Affect SEO? Googlebot’s 2MB Limit and Speed
Does page size affect SEO? See Googlebot's 2MB HTML fetch limit, how page weight affects Core Web Vitals, and how to check…
Read article
This guide is for site owners, developers and SEOs running large or growing sites whose sitemap is close to, or already over, the limits Google accepts. You will learn the exact sitemap size limit for URLs, bytes and index files, which limit you will hit first, and how to split a big sitemap into files that Search Console reads without errors.
The sitemap size limit is 50,000 URLs or 50MB uncompressed per file, whichever comes first. Above either limit, split the URLs into several sitemaps and list them in a sitemap index, which can hold up to 50,000 sitemaps. Gzip is allowed, but the 50MB limit applies to the uncompressed file.

One sitemap file can list at most 50,000 URLs and can be at most 50MB uncompressed. Google’s guide to building a sitemap says: “All formats limit a single sitemap to 50MB (uncompressed) or 50,000 URLs.” The same page adds that “if you have a larger file or more URLs, you must break your sitemap into multiple sitemaps.” The sitemaps.org protocol, which Google and other search engines follow, gives the same two limits and states 50MB as 52,428,800 bytes.
Some sitemap types have extra limits of their own. Google allows up to 1,000 news:news tags in a news sitemap and up to 1,000 image:image tags inside one url entry of an image sitemap. The full picture is below.
| Limit | Value | Where it is stated |
|---|---|---|
| URLs per sitemap | 50,000 | Google, sitemaps.org |
| Size per sitemap | 50MB uncompressed (52,428,800 bytes) | Google, sitemaps.org |
| Sitemaps per index file | 50,000 loc tags | Google, sitemaps.org |
| Index files per site in Search Console | 500 | |
| news:news tags per news sitemap | 1,000 | Google news sitemap docs |
| image:image tags per url entry | 1,000 | Google image sitemap docs |
| URL length in loc | Less than 2,048 characters | sitemaps.org |
Yes, but it is measured after the file is uncompressed. You can serve a sitemap as a .xml.gz file to save bandwidth, and Google’s own sitemap index example lists .xml.gz files. Compression does not let you fit more than 50MB of XML or more than 50,000 URLs into one file, though. If Google cannot uncompress the file, the Search Console Sitemaps report shows a “Compression error”, and the fix is to compress it again, for example with gzip, and resubmit.
For most sites the 50,000 URL limit comes first. A plain entry with only <url> and <loc> tags adds about 33 bytes of markup to the URL, so a 60 character URL takes 93 bytes. At that size, 50,000 URLs make a file of roughly 4.4MB, far below 50MB. To reach 50MB with 50,000 entries, each entry would need about 1,049 bytes on average, which is 52,428,800 divided by 50,000.
That happens when entries carry extra data. Hreflang sitemaps with many xhtml:link alternates per URL, image sitemaps with several images per page, and video entries with long descriptions can all push the average entry past 1,000 bytes. In those cases the size limit is reached first, and a split by URL count alone is not enough. The XML sitemap splitter checks both limits, measuring each entry in bytes as it fills each file.
Split the URLs into groups that stay under both limits, write each group to its own sitemap file and list all the files in one sitemap index. In practice:
& entity-escaped.Submit the index file and Google finds the sitemaps listed in it. Google’s page on managing large sitemaps with an index says an index “may have up to 50,000 loc tags”, and that the sitemaps it lists “must be hosted on the same site as your sitemap index file” unless you set up cross-site submission. They must also sit in the same directory as the index or lower. You can submit up to 500 sitemap index files per site in Search Console.
An index cannot point to another index. Keep the URLs on the same host and protocol as the sitemap that lists them, and keep each URL in only one sitemap so the counts in Search Console stay meaningful. You can also add the index to robots.txt with a Sitemap: line.
Three errors in the Sitemaps report point to size problems. “Too many URLs” means “Your sitemap lists more than 50,000 URLs.” “Sitemap file size error” means “Your sitemap is larger than 50MB when uncompressed.” “Too many sitemaps” means an index lists more than 50,000 sitemaps. A fourth, “Nested sitemap indexes”, appears when an index lists another index: Google says “A sitemap index file can’t list other sitemap index files, only sitemap files.”
The fix for all of them is the same: split the file and submit an index. If the report says the sitemap could not be read at all, the cause is usually different, such as a blocked or missing file. My guide to the Sitemap couldn’t fetch error covers that case, and the crawl budget guide explains why large sites benefit from clean sitemaps.
Example: an online shop on www.example.com has 120,000 product URLs, each 60 characters long, in one sitemap. Search Console would report “Too many URLs”. Pasting the list into the XML sitemap splitter with the default 50,000 URLs per file gives sitemap-1.xml and sitemap-2.xml with 50,000 URLs each (4.43MB each) and sitemap-3.xml with 20,000 URLs (1.77MB), plus sitemap-index.xml listing the 3 files. The URL limit, not the 50MB limit, decided the split. The shop uploads the 4 files to the site root and submits only sitemap-index.xml.
One sitemap can list up to 50,000 URLs. Google and the sitemaps.org protocol both set this limit. If you have more URLs, split them into several sitemaps and list those files in a sitemap index.
For the uncompressed file. You may gzip a sitemap, but once Google uncompresses it the XML must still be 50MB or smaller. Search Console shows a Sitemap file size error when the uncompressed file is larger.
A sitemap index can list up to 50,000 sitemaps, one loc tag each. If you need more, create several index files. Google lets you submit up to 500 sitemap index files per site in Search Console.
Not by itself. Google says submitting a sitemap is a hint and does not guarantee crawling or indexing. Splitting fixes size errors and makes the Search Console report easier to read, so you can find which sections have indexing problems.
Rarely. Google describes small sites as about 500 pages or fewer and says they may not need a sitemap at all. The 50,000 URL and 50MB limits only matter for large shops, publishers and sites with many language versions.
They can be. Google says it ignores the priority and changefreq values, so removing them makes each entry shorter without losing anything Google uses. Other search engines may treat them differently, so check before removing them site wide.
This guide is part of my Search Console errors guides.
Checked 23 Oct 2026. Facts checked against these official pages. Read how I check facts in my editorial policy.
Want your sitemaps and indexing checked by hand? See my technical SEO service.

Does page size affect SEO? See Googlebot's 2MB HTML fetch limit, how page weight affects Core Web Vitals, and how to check…
Read article
Preload vs preconnect explained: when to use each resource hint, the crossorigin and as mistakes that waste them, and how many hints…
Read article
Search Console regex filters explained: RE2 rules, case sensitivity, and copy ready examples for questions, brand, long-tail queries and URL folders.
Read articleSend your website and I will reply with a free audit.