Index & Discovery

Sitemap Validator

Validate sitemap discovery, XML structure, URL coverage and reachability.

Free · instant

Run a deterministic technical check

The result comes from HTTP requests, parsers and maintained rules — no AI guessing, so it is reproducible.

The check runs against the site root, e.g. yourbrand.com
01

What does this tool check?

We locate your sitemap (from robots.txt or the default path), parse it as urlset or index, count URLs and lastmod coverage, flag off-host entries, and open a sample of listed URLs to confirm they actually respond.

02

How should I read the result?

A sitemap full of 404s or missing lastmod dates actively hurts trust in the rest of the file. Sample reachability is an observation of a few URLs, not a full crawl.

03

What should I do next?

Declare the sitemap in robots.txt, keep lastmod accurate, and remove URLs that no longer resolve.

What each result means

ResultWhat it meansWhat to do
Not found at the declared or default pathWe looked where robots.txt points (or at /sitemap.xml when nothing is declared) and got a non-200 status. Crawlers will do the same and give up.Serve the file at the declared URL with a 200, or fix the Sitemap: line in robots.txt to point where it really lives.
Could not be fetchedThe request timed out or was refused before any status came back — usually a CDN or WAF rule blocking anything that looks like a bot. This is not the same as "no sitemap".Run the AI Crawler Checker: it fetches as each named agent with a browser control, so you can tell a user-agent block from an IP block.
No <urlset> or <sitemapindex> root elementThe URL returned 200 but the body is not a sitemap: an HTML page, a redirect page, or XML with the wrong root. Crawlers read nothing from it.Open the URL yourself. A soft-404 that serves the homepage with a 200 is the most common cause.
Sitemap index, not a URL setThe file lists child sitemaps rather than pages. That is correct for large sites. The counts shown are of child sitemaps; we do not descend into them here.Nothing, unless a child sitemap URL is off-host or unreachable — run the validator on that child URL directly.
lastmod coverage is lowEntries without <lastmod> give crawlers no signal about what changed. Entries that all claim today are worse: crawlers learn to ignore the field entirely.Emit lastmod from the content's own modified time (CMS updatedAt), never from the build time.
Off-host entriesSome <loc> values point at a different registrable domain. Most crawlers ignore cross-host entries; the usual cause is a www / non-www or staging / production mismatch.Generate the sitemap from the canonical host, and keep it identical to the canonical tag and internal links.
Sampled URL not reachableWe opened the first three listed URLs. A 404, a 5xx or a redirect chain there is a strong hint the rest of the file is stale — a sitemap full of dead URLs actively lowers trust in the whole file.A sitemap lists final 200 destinations only. Remove or update anything that redirects or is gone; regenerate from the live route table after every routing change.
Parse truncated at 5,000 entriesThe file is larger than we parse in one run, so counts are a floor. The protocol itself allows 50,000 URLs or 50 MB per file; beyond that you need an index.Split into child sitemaps under a sitemap index; it also makes it obvious which section has the stale URLs.

Questions people ask before running this

Does a valid sitemap get my pages indexed?

No. A sitemap tells crawlers where pages are and when they changed; it is a discovery signal, not an indexing request. Pages still have to be reachable, render their content in HTML, and be worth indexing on their own.

Why does the validator only open three URLs?

A full crawl of every listed URL would take minutes and hit your server hard. Three is enough to catch the common failure — a file regenerated from a stale route table — without behaving like a bot you would want to block.

Should the sitemap be declared in robots.txt?

Yes, with an absolute URL on a Sitemap: line. It is the one place every crawler looks first, and it is the only way to publish a sitemap that is not at /sitemap.xml. We read that line before falling back to the default path.

My sitemap has both /page and /page/ — is that a problem?

Yes. Two addresses for one page split impressions and ranking between twins; we measured 1,980 impressions divided across 46 such pairs on our own site before fixing it. Pick one form, enforce it with a redirect, and make the sitemap, canonical tag and internal links agree.

What is the maximum size of a sitemap?

By the protocol, 50,000 URLs or 50 MB uncompressed per file. Larger sites use a sitemap index that points at several child files. Gzip is allowed and the 50 MB limit applies to the uncompressed size.

Does this check matter for AI search as well as Google?

AI answer engines largely draw on ordinary search indexes, so anything that limits how completely you get indexed limits what they can cite. The sitemap does not influence answers directly; it influences whether your pages are in the pool at all.

Sources: sitemaps.org protocol · Google: build and submit a sitemap · Google: managing large sitemaps · RFC 9309 §2.3 Sitemap directive

InsightWonder

This checked one page

InsightWonder scans the whole site, ranks what to fix by impact, and keeps watching so a template change does not silently de-index a section.

Run a full analysis
  • Scheduled re-checks with change alerts
  • Visibility and citations across five AI engines
  • Fixes ranked by impact, with content generated
Sitemap Validator — Structure, Coverage and Reachability