A single sitemap file can contain a maximum of 50,000 URLs.
The Sitemaps.org protocol specifies that a single sitemap file must not contain more than 50,000 URLs. This limit applies regardless of the file format (XML, text, etc.).
When a website has more than 50,000 URLs, it must split them across multiple sitemap files and use a sitemap index to reference them all. A sitemap index can reference up to 50,000 individual sitemaps, allowing for a theoretical maximum of 2.5 billion URLs.
In practice, many CMS platforms automatically handle this splitting. WordPress with Yoast SEO, for example, creates a new sitemap file for every 1,000 URLs (a conservative threshold).
Inspect Sitemap URL Limit in a real sitemap.
Turn XML sitemap fields into structured, exportable URL data.
See how this concept appears in SitemapKit API responses.
Apply sitemap concepts to SEO, monitoring, and data pipelines.
SitemapKit's API discovers and parses XML sitemaps into structured JSON, including fields such as Sitemap URL Limit.