Sitemap.xml Validator
Paste a sitemap.xml or sitemap-index and validate against the schema. Reports URL count, malformed dates, priorities outside 0-1, missing required fields, and stale lastmod values.
How to use the Sitemap.xml Validator
Paste your sitemap.xml content. The validator parses the XML, checks each <url> entry, and reports issues. For sitemap-index files (sitemap-of-sitemaps), it reports the index structure and validates each child URL.
What a good sitemap looks like
A sitemap.xml is a list of URLs you want search engines to crawl. The schema is straightforward: <urlset> with one or more <url> children, each containing <loc> (required) and optionally <lastmod>, <changefreq>, <priority>.
Common mistakes: malformed dates (Google wants ISO 8601, not RFC 2822 or Unix timestamps), priorities outside 0.0-1.0, URLs that 404 or redirect (Google deprioritizes), URLs that aren't canonical (they redirect to a different URL — wasted crawl budget), trailing whitespace in loc tags.
One sitemap file maxes out at 50,000 URLs and 50MB uncompressed. Beyond that, use a sitemap index. Submit to Google Search Console + Bing Webmaster Tools after publishing.