Free technical SEO tool
Sitemap Checker
Check a sitemap before Google does. Enter a domain or a sitemap URL to validate the XML, count URLs or child sitemaps in a sitemap index, review lastmod dates and spot protocol limit problems.
In short: A sitemap checker downloads your XML sitemap, confirms it is well-formed XML and reports what it contains: how many URLs or child sitemaps, which lastmod dates, and whether it breaks the 50,000-URL or 50 MB limits. Run it after every CMS update or migration, because a broken sitemap fails silently until Search Console shows the error days later.
XML sitemap limits and format rules
The sitemaps.org protocol, which Google and Bing both follow, is short and strict. A file is either a <urlset> that lists pages or a <sitemapindex> that lists other sitemaps. The validator above tells you which one it found.
| Rule | Limit or requirement |
|---|---|
| URLs per sitemap | 50,000 maximum |
| File size | 50 MB uncompressed (gzip is allowed for transfer) |
| Sitemaps per index | 50,000 maximum; an index cannot list other indexes |
| Encoding | UTF-8, with &, < and quotes escaped |
<loc> | Absolute URL, same protocol and host as the sitemap location |
<lastmod> | W3C Datetime, for example 2026-11-28 or 2026-11-28T09:30:00+00:00 |
The most common XML error we see is an unescaped ampersand in a URL with query parameters. ?color=red&size=9 must be written as ?color=red&size=9 inside <loc>, or the whole file fails to parse. This checker downloads up to 5 MB per request, so very large single files should be checked through their child sitemaps.
When a sitemap index makes sense
You need an index once you pass 50,000 URLs, but splitting earlier is useful too. Separate sitemaps for products, categories, blog posts and images let you see indexing coverage per section in Search Console. A minimal index looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://example.com/sitemap-products.xml</loc>
<lastmod>2026-11-28</lastmod>
</sitemap>
<sitemap>
<loc>https://example.com/sitemap-blog.xml</loc>
</sitemap>
</sitemapindex>
When you check an index here, every child sitemap is listed with its lastmod date. Paste any child URL back into the tool to validate that file on its own.
lastmod, priority and changefreq: what Google actually uses
Google ignores <priority> and <changefreq>. It has said so publicly, and Bing gives them little weight as well, so leaving them out costs nothing. <lastmod> is different: Google uses it to decide what to recrawl, but only when it trusts the values. If every URL shows today's date on every request, which many plugins do by stamping the generation time, Google learns to disregard the field for your site. Update lastmod when the main content changes, not when a sidebar widget or copyright year does. The checker shows the newest and oldest lastmod and flags dates in the future or in an invalid format.
Which URLs belong in a sitemap
List only canonical, indexable pages that return HTTP 200. Leave out redirected URLs, 404s, pages with noindex, URLs whose canonical points elsewhere, internal search results and parameter variations. Every wrong entry makes the sitemap a less reliable signal. Spot-check the sample URLs shown above with our redirect checker and meta tag analyzer, then reference the sitemap in robots.txt so every crawler finds it:
Sitemap: https://example.com/sitemap.xml
Frequently asked questions
How many URLs can an XML sitemap contain?
A single sitemap file can list up to 50,000 URLs and must be no larger than 50 MB uncompressed. If you need more, split the URLs into several sitemaps and list them in a sitemap index file, which has the same 50,000-entry limit.
How do I find the sitemap of a website?
Try /sitemap.xml first, then /sitemap_index.xml, which many WordPress SEO plugins use, and /wp-sitemap.xml for WordPress core. The most reliable place is the robots.txt file: open example.com/robots.txt and look for a line that starts with Sitemap:.
Does Google use priority and changefreq in a sitemap?
No. Google has stated that it ignores both priority and changefreq. It does use lastmod, but only if the dates are consistently accurate. You can leave priority and changefreq out without any downside.
How do I submit a sitemap to Google?
In Google Search Console, open Sitemaps under Indexing, enter the sitemap path and press Submit. Also add a Sitemap: line with the full URL to robots.txt so Bing and other crawlers find it. Search Console then reports when the file was last read and how many URLs it discovered.
Related tools: Robots.txt Generator · Redirect Checker · HTTP Header Checker