XML Sitemap Validator

Validate sitemap.xml files

Source Input
Processed Output

What is the XML Sitemap Validator?

Search Console rejects malformed sitemaps with unhelpful errors. This validator fetches your sitemap live (or parses pasted XML), verifies the namespace and required tags, counts entries, detects duplicate and non-absolute URLs, flags lastmod format errors, and confirms whether you have a urlset or an index — so your next submission succeeds the first time.

Frequently Asked Questions (FAQ)

Q: Can a sitemap contain sub-sitemaps?

Yes — a sitemap index lists child sitemaps in <sitemap><loc> entries. Each child must be a urlset. The validator handles both formats.

Q: Should every URL in the sitemap return 200?

Yes. Including redirects or 404s wastes crawl budget and signals poor maintenance. Each listed URL should be canonical, indexable, and live.

Key Features

  • Fetches or validates pasted XML
  • urlset and sitemap index support
  • Duplicate and non-absolute URL detection
  • lastmod date format validation
  • Search Console submission readiness

How to Use the XML Sitemap Validator

  1. 1Paste your input into the editor above — or start from the preloaded example.
  2. 2Adjust any options, then click Run to process instantly in your browser.
  3. 3Review the output panel, then copy, download, or save it as a reusable snippet.

Related seo web tools