Sitemap XML Validator

Validate pasted XML or a local sitemap file. Inspect Sitemap 0.9 structure, valid locations, duplicates and supported fields.

How to use it

  1. Paste the text or select a local UTF-8 .xml file.
  2. Review the entry count, namespace and structure. Fix location and date errors before submission.
  3. Verify representative live pages at your origin before submitting the sitemap to the search engine.

A URL sitemap uses a urlset root and a sitemap index uses sitemapindex. The local preview accepts up to 8 MiB. It does not retrieve listed URLs.

Related guides

Related tools

Frequently asked questions

Does a valid sitemap guarantee indexing?

A sitemap helps discovery. Crawling, canonical selection and indexing rely on additional signals.

Can I paste a sitemap index?

Yes. The validator checks the index structure and child locations independently of the child documents.