Sitemap Validator

Validate an XML sitemap or sitemap index.

Free online XML sitemap validator. Fetch a sitemap by URL or paste the XML directly to check it is well-formed, has the right root element, counts your URLs and flags missing <loc>, bad <priority>, <changefreq> and <lastmod> values. Supports sitemap index files.

How to use the Sitemap Validator

  1. 01Choose Fetch URL or Paste XML.
  2. 02Enter your sitemap URL or paste the XML.
  3. 03Click Validate to see the summary and any issues.

Frequently asked questions

Does it support sitemap index files?

Yes. If the root is <sitemapindex> it validates the index and lists every nested sitemap URL it references.

What does it check on each URL?

That every <url> has a required <loc>, and that any <priority> (0.0–1.0), <changefreq> (always…never) and <lastmod> (W3C datetime) values are valid.

Is there a size limit?

Sitemaps are read up to 5MB, which comfortably covers the 50,000-URL protocol limit for a single file.