Sitemap XML Validator

Validate sitemap.xml structure: required tags, lastmod format, changefreq values, and URL count.

By Marshkalk

XML Sitemap Validator

Validates a sitemap.xml (or sitemap index) against the Sitemaps 0.9 protocol. All checks run in your browser, no data is sent to any server.

Checks performed

  • Errors: invalid XML structure, missing namespace, incorrect lastmod date format, duplicate URLs
  • Warnings: invalid changefreq value, priority outside [0, 1], more than 50,000 URLs per file
  • Sitemap index files (<sitemapindex>) are also supported

Sitemap protocol reference

FieldRequiredDescription
locYesThe URL of the page (must be absolute)
lastmodNoLast modification date (ISO 8601: YYYY-MM-DD)
changefreqNoHow often the page changes (always, hourly, daily, weekly, monthly, yearly, never)
priorityNoRelative importance (0.0 to 1.0, default 0.5)

Sitemap limits (per Google guidelines)

  • Maximum 50,000 URLs per sitemap file
  • Maximum 50 MB uncompressed file size
  • For larger sites, use a sitemap index to reference multiple sitemap files
  • Submit your sitemap URL to Google Search Console for faster indexing