Free XML Sitemap Validator
Paste your sitemap.xml contents to check it's well-formed and follows the correct structure.
About This Tool
Free XML sitemap validator online — paste the contents of your sitemap.xml and instantly check whether it is well-formed XML, uses the correct `<urlset>`/`<url>`/`<loc>` structure, and count how many URLs it contains. Useful for site owners and developers debugging why Google Search Console is rejecting a sitemap, or verifying a sitemap generated by a CMS or script before submitting it. Flags common mistakes like a missing `<loc>` tag, invalid XML syntax, or an empty sitemap. Runs entirely in your browser using the native XML parser — nothing is uploaded.
How to Use
- 1
Paste your sitemap XML
Paste the full contents of your sitemap.xml file.
- 2
Validate
Click Validate to check structure, required tags, and URL count.
- 3
Fix any flagged issues
Review errors or warnings and correct your sitemap accordingly.