Skip to content
OTools.io

Free SEO tool · No account required

XML Sitemap Validator

Check sitemap structure and identify formatting issues.

Free toolRuns in browserNo data sent to servers

Loading the tool interface…

How to use this tool

  1. Paste XML or upload an uncompressed UTF-8 XML file up to 5 MiB.
  2. Run validation. Core checks execute locally in a background worker, with a 15-second time limit.
  3. Review entry-specific errors and warnings, then copy or download the JSON report.

How results are calculated

The validator checks XML syntax and characters, root namespace, urlset/sitemapindex structure, required loc values, single-host URLs, dates, changefreq, priority, duplicate URLs and the 50,000-entry limit. It lists up to 100 issues while counting all detected issues. DOCTYPE/custom entities and nesting beyond 64 levels are rejected. A 300,000-element safety limit also applies.

Example

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url><loc>https://example.com/</loc><lastmod>2026-11-01</lastmod></url>
</urlset>

Limitations

  • This is a local core-protocol checker, not full XSD validation. Image, video, news and other extension-specific rules are not validated.
  • It does not fetch URLs or nested sitemaps, check HTTP status, enforce sitemap placement rules, verify canonicalization or determine indexability.
  • The local 5 MiB safety limit is stricter than the protocol’s 50 MB uncompressed size limit. Compressed uploads and non-UTF-8 input are not supported.

Frequently asked questions

Does a passing report mean Google will index every URL?

No. The report covers supported local checks only. Discovery, crawling, canonicalization, quality and indexation are separate concerns.

Why do extension elements produce a warning?

Their XML can be parsed, but this tool does not validate extension-specific schemas. Use the relevant extension documentation for those checks.

References