Validate your XML sitemap by URL or by pasting the XML directly. Checks for well-formed XML, correct root tags, missing or empty URLs, duplicates, and invalid URL formats.
An invalid sitemap can prevent search engines from properly crawling your site. This tool checks your sitemap against the sitemap protocol, verifying well-formed XML, correct root elements, valid URL formats, duplicate detection, and missing required fields — so you can fix issues before they impact your SEO.
Need to create a sitemap first? Use our Sitemap Generator. Want to export the URLs for a spreadsheet audit? Try the Sitemap to CSV Converter. For general XML validation beyond sitemaps, use the XML Validator.
Enter a sitemap URL or paste the XML to validate:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
</url>
<url>
<loc>not-a-valid-url</loc>
</url>
<url>
<loc>https://example.com/</loc>
</url>
</urlset>The validator reports all issues found:
⚠ Warning: Invalid URL format — "not-a-valid-url" (line 7)
⚠ Warning: Duplicate URL — "https://example.com/" (line 9)
Result: 2 issues found in 3 URLs