XML Sitemap Validator
Validate sitemap.xml and sitemap-index files — well-formedness, required fields, date formats, and the 50,000-URL / 2,048-char spec limits.
Paste a sitemap.xml to validate it.
How sitemap.xml validation works
A valid XML sitemap has a <urlset> root, and each <url> must contain a <loc> with an absolute URL; optional fields are <lastmod> (W3C date), <changefreq>, and <priority>(0.0–1.0). This validator parses your file with the browser’s native XML engine (so it also catches genuine well-formedness errors and unescaped &), detects sitemap-index files (<sitemapindex> / <sitemap>), flags duplicate <loc> entries, and enforces the sitemaps.org limits (50,000 entries, 2,048-character URLs). Everything runs locally in your browser.
Private & free — this tool runs entirely in your browser.