Validate any sitemap.xml or sitemap index: XML, protocol limits, lastmod, duplicates, hosts, child sitemaps and a spot check of listed URLs.
Check any XML sitemap the way Google reads it. Enter a sitemap URL (or paste the XML) and the validator checks the XML and namespace, the 50,000-URL and 50 MB limits, every <loc>, <lastmod>, <priority> and <changefreq> value, duplicates, http/https and host mismatches, image, video, news and hreflang extensions, and each child sitemap of a sitemap index. It then spot-checks the first 15 URLs for redirects, errors, noindex and canonical tags, which a plain validator never does.
Usually /sitemap.xml or /sitemap_index.xml. Don’t know it? Use the sitemap finder. Gzip (.xml.gz) sitemaps work too, or paste the XML directly.
Errors stop Google from reading the sitemap or its URLs; warnings are worth fixing; OK and info rows confirm what is already right.
Sitemaps should list only canonical, indexable 200 pages. Redirects, 404s, noindex and canonicalised URLs waste crawl budget and trigger Search Console warnings.
Correct the issues in your CMS or sitemap plugin, run the check again, then resubmit the sitemap in Google Search Console and Bing Webmaster Tools.
Strict sitemaps.org protocol checks plus Google’s own rules
Validates sitemap index files and their first five child sitemaps
Flags inaccurate lastmod dates that make Google ignore them
Spot-checks listed URLs for redirects, 404s, noindex and canonicals
Handles gzip sitemaps and pasted XML
Free, no sign-up, results in seconds
Need more depth? Try URL Indexer →
| Check | Rule | Why it matters |
|---|---|---|
| XML and namespace | Well-formed UTF-8 XML with the sitemaps.org 0.9 namespace | One unescaped & or a missing namespace makes the whole file unreadable |
| Size limits | Up to 50,000 URLs and 50 MB uncompressed per file | Larger files are rejected; split them with a sitemap index |
| <loc> | Absolute http(s) URL, under 2,048 characters, listed once | Relative or duplicate URLs are ignored or waste crawl budget |
| Host | Same host and protocol as the sitemap | Cross-host URLs need verification or robots.txt cross-submission |
| <lastmod> | W3C date (YYYY-MM-DD or full timestamp), never in the future, accurate | Google uses lastmod to schedule recrawls only when it is consistently accurate |
| <priority> / <changefreq> | 0.0–1.0 / always…never | Optional; Google ignores both, but invalid values break strict validators |
| Sitemap index | Up to 50,000 child sitemaps, each valid on its own | A broken child sitemap hides every URL inside it |
| Listed URLs | 200 status, indexable, self-canonical | Redirects, 404s and noindex pages trigger “Submitted URL” warnings in Search Console |
&, or let your plugin generate the file.<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2026-11-01</lastmod>
</url>
</urlset>
Need a sitemap? Build one with the XML sitemap generator, find an existing one with the sitemap finder, and make sure crawlers can reach it with the robots.txt generator.
They are the same kind of tool. This one validates the file against the sitemaps.org protocol and Google’s rules, and also checks the URLs inside it, which a basic validator does not.
Yes. It validates the index, lists every child sitemap and checks the first five of them for fetch errors and invalid XML.
Search Console often shows “Couldn’t fetch” for a newly submitted sitemap until Google processes it, which can take days. If it persists, check that the URL returns 200, isn’t blocked by robots.txt or a firewall, and is on the verified property.
No. After it passes, submit it in Search Console (Sitemaps report) and add a Sitemap: line to robots.txt so every search engine finds it.
50,000 URLs and 50 MB uncompressed per file. For larger sites, split the URLs across several sitemaps and list them in a sitemap index.
No. Google ignores both. It does use lastmod, but only when the dates are consistently accurate.
Yes. Paste the XML into the box and the validator checks the file itself. The URL spot check needs a live sitemap.