XML Sitemap Checker & Validator
Validate your XML sitemaps against Google's guidelines. Check format, URL count, size limits, and common errors with an overall health score. Enter a URL or paste XML directly.
Check Sitemap
About the XML Sitemap Checker
Sitemaps help search engines discover and crawl your pages. An invalid sitemap can reduce the usefulness of that sitemap as a discovery signal. It does not necessarily prevent pages from being discovered through links or other sources. This tool validates your sitemap against XML standards and Google's guidelines, giving you a health score (0-100) with detailed breakdowns.
Validates well-formed XML and proper namespace declarations for sitemaps and sitemap indexes.
Checks against Google's 50,000 URL limit and 50MB file size limit, with warnings when approaching limits.
Detects missing <loc> elements, non-absolute URLs (relative paths), and duplicate entries.
Why Sitemap Validation Matters for SEO
Your XML sitemap is the primary way you tell Google which pages on your site exist and should be crawled. A broken sitemap can lead to:
- Missed indexing — Google won't know about pages listed in a broken sitemap
- Wasted crawl budget — Invalid entries cause crawlers to waste resources
- Partial coverage — XML parsing errors may cause some URLs to be skipped
- Delayed discovery — New pages won't be found until the sitemap is fixed
Best Practices
- Keep each sitemap under 50,000 URLs and 50 MB uncompressed
- Use absolute URLs (
https://example.com/page) not relative - Only include 200 OK pages — exclude redirects, 404s, and noindex pages
- Use valid W3C dates for <lastmod> (e.g.,
2024-12-01or2024-12-01T10:30:00+00:00) - Use a sitemap index when you exceed 50,000 URLs or 50 MB
- Submit your sitemap via Google Search Console and reference it in robots.txt
Suggested Workflow
- Generate your XML sitemap using a sitemap generator or your CMS
- Validate it with this checker — aim for a 95+/100 score
- Fix any errors or warnings found
- Upload to your site and submit to Google Search Console
- Monitor coverage reports in Search Console for issues
XML Sitemap Checker Examples: Valid vs. Broken Inputs
Use these examples before testing your own site so you know what a normal result and a problem result should look like.
Test https://yourseotoolbox.com/sitemap.xml or another public XML sitemap that returns 200 and valid XML.
Test a missing sitemap URL or an HTML page instead of XML to see parsing and status failures.
Preview: What the Result Should Show
A screenshot should show sitemap status, URL count, parse status, and any invalid entries.
How to Interpret the Result
A valid sitemap should be accessible, parseable, and contain canonical URLs that return successful status codes.
Common Failure Cases
- Sitemap returns 404 or 403
- HTML returned instead of XML
- URLs are non-canonical or blocked
Frequently Asked Questions
Reviewed Jun 2026 · Sources and limitations
Review details: 2026-06-11 · Marc LaClear · v1.1
Reference sources:
- Google Search Central documentation
- Google Search Central crawling and indexing docs
- Google structured data guidelines
- Schema.org vocabulary
- MDN Web Docs for HTTP and HTML references
Known limits:
- Checks are based on publicly fetchable HTML, response headers, and browser-side input. They do not use private Google Search Console, analytics, or ranking data.
- Scores and warnings are diagnostic aids, not guarantees of ranking improvement or Google indexation.
- Pages blocked by robots.txt, login walls, bot protection, heavy JavaScript, or network timeouts may return incomplete results.
- Validate critical fixes with official Google tools such as Search Console, Rich Results Test, Lighthouse, and your own crawl data.