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
- Paste the text or select a local UTF-8 .xml file.
- Review the entry count, namespace and structure. Fix location and date errors before submission.
- 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
- How to Check an XML Sitemap Before Submitting It
- How to Review a Sitemap Index and Its Child Sitemaps
- How to Diagnose Soft 404s in Search Console
- How to Check What robots.txt Allows Crawlers to Read
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.