Sitemap XML Validator
Paste sitemap XML to validate its structure and list the URLs it contains.
Paste your XML sitemap and instantly check it against the sitemap.org protocol. The validator flags missing required fields, malformed XML, invalid URLs, and common issues that could prevent search engines from crawling your sitemap correctly.
What It Validates
Use Cases: When This Tool Helps
-
Fix "Couldn't fetch" errors in Search Console
Find the XML problem stopping Google from reading your sitemap.
-
Check sitemaps before submitting
Validate a new sitemap before adding it to Google Search Console or Bing Webmaster Tools.
-
Audit URLs after a migration
Make sure the sitemap lists new URLs, not old redirected ones.
-
Review plugin-generated sitemaps
Check what Yoast, Rank Math, or Shopify actually includes in your sitemap.
-
Spot missing or stale lastmod dates
Confirm pages show accurate update dates so crawlers revisit them.
-
Audit client sites as an SEO
Quickly list and check every URL in a client's sitemap during an SEO audit.
How to Validate Your Sitemap
- Paste your sitemap XML into the input area.
- Click Validate to run the checks.
- Review errors and warnings in the results panel.
FAQ
What is a valid sitemap format?▾
A valid sitemap must be well-formed XML using the http://www.sitemaps.org/schemas/sitemap/0.9 namespace, with each URL in a <url> element containing at least a <loc> tag.
Can I validate a sitemap index file?▾
Yes — sitemap index files using <sitemapindex> are also supported.
Sitemap Best Practices
- Keep each sitemap under 50,000 URLs and 50MB uncompressed.
- Include <lastmod> dates to help search engines prioritize crawling.
- Submit your sitemap in Google Search Console after validating.