XML Sitemap Validator — Check Sitemap Syntax & Status Errors
Check a sitemap.xml or sitemap index for the problems that make Google report “Couldn't fetch” or “Sitemap has errors”: malformed XML, missing namespace, relative or cross-domain URLs, invalid lastmod dates, duplicates and size limits — then test whether the listed URLs actually return 200 OK.
Google-Accurate
Pixel limits & real search data
Instant Results
Full analysis in seconds
No Sign-Up
Free, no credits or email
What Does Sitemap Validator Do & How Does It Work?
Enter your sitemap URL (or your domain to check /sitemap.xml) or paste the XML. The validator parses it the way search engines do, lists every error and warning with example URLs, counts entries against the 50,000-URL limit, and can check the live HTTP status of up to 50 listed URLs.
How to Use Sitemap Validator (Step-by-Step)
- 1Enter your sitemap URL, or paste the XML.
- 2Click Validate to see errors, warnings and a summary.
- 3Click “Check status” to test whether listed URLs return 200 OK.
- 4Fix the issues, then resubmit the sitemap in Google Search Console.
Common sitemap errors
The most frequent problems are unescaped ampersands (& must be written &), relative URLs instead of full https:// addresses, lastmod dates in the wrong format (use 2026-09-26 or a full ISO 8601 timestamp), a missing sitemaps.org namespace, and HTML error pages served where the XML should be.
Content problems matter too: listing URLs that redirect, return 404, are noindex or live on another domain tells Google your sitemap isn't reliable. Every URL should be the final, canonical, indexable version.
Sitemap indexes and limits
A single sitemap is limited to 50,000 URLs and 50 MB uncompressed. Bigger sites use a sitemap index that lists several sitemaps; the validator recognises both. Create a fresh file with the XML Sitemap Generator, and make sure robots.txt points to it using the Robots.txt Tester.
Recommended Page Formats & Best Practice Guide
Cheat-sheet showing how Google evaluates this data and which page format ranks best.
Click to collapse
Recommended Page Formats & Best Practice Guide
Cheat-sheet showing how Google evaluates this data and which page format ranks best.
| Validation Check | Sitemaps.org 0.9 Requirement | Search Console Error Prevented |
|---|---|---|
| XML Namespace & Escaping | xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" & escaped & | Fixes 'Sitemap could not be read' XML parsing failures |
| Absolute Same-Host URLs | Full https:// URLs matching the sitemap's host | Fixes 'URL not allowed' and relative path rejections |
| W3C Datetime <lastmod> | YYYY-MM-DD or full ISO 8601 timestamp | Fixes 'Invalid date' warnings in Google Search Console |
| Size & Count Limits | Max 50,000 URLs and 50 MB uncompressed per file | Flags when to split into a <sitemapindex> |
Input & output compatibility
Accepts
- Live sitemap.xml or sitemap index URL
- Pasted XML source
Produces
- Syntax & protocol validation report
- Live HTTP 200 status check for listed URLs
Frequently Asked Questions
Why does Search Console say “Couldn't fetch”?
Usually the URL returns an error, redirects, is blocked by robots.txt, or serves HTML instead of XML. Validate the exact URL you submitted here — the result shows the HTTP status and content type we received.
Does it check gzipped sitemaps?
Not yet — paste the uncompressed XML instead. Plain .xml sitemaps and sitemap indexes are fully supported.
Do priority and changefreq matter?
Google ignores both. They're valid and harmless, so the validator only notes them. Accurate lastmod dates are what Google uses.
What happens to the URLs I analyze?
Your browser can't read other websites directly, so our server fetches the public page once, returns the HTML to your browser, and the analysis runs on your device. We don't store the page, the results or a history of the URLs you check. Private and internal addresses are blocked. For pages behind a login, use the Paste HTML option.
Is this SEO tool free? Do I need to sign up?
It's completely free with no sign-up, no email and no daily credits. Use it as often as you like.
Guides & Tutorials
Explore More Free Browser Tools
View All 290+ Tools Directory →All tools run client-side in your browser with zero data uploads, no sign-up, and zero tracking. Discover other popular converters and calculators:
Search Standards & Diagnostic Methodology
Sitemap Validator is engineered across modern search standards — combining official Google Search Central guidelines with semantic SEO, Answer Engine snippet formatting, and AI citation readiness:
- 1. Accurate On-Page & Technical Diagnostics: Evaluates SERP pixel budgets (~580px titles, ~920px descriptions), canonical consistency, heading hierarchies, and crawl directives to prevent indexing drops.
- 2. Featured Snippet & Voice Search Optimization: Structures content for 40–55 word direct-answer extraction, conversational PAA query matching, and valid FAQPage/HowTo JSON-LD schema.
- 3. Generative AI Citations & Entity Signals: Generates entity-connected Schema.org
@graphmarkups and semantic LSI terms so ChatGPT, Perplexity, and Claude cite your pages. - 4. Google AI Overview Alignment: Formats answers for direct indexing in Google AI Overviews while maintaining clear crawler governance for AI bots.
- 5. Search Experience & Zero Friction: 100% free in-browser execution with no credit card or account wall, fast Core Web Vitals performance, and 1-click output copying.
Suggest a Feature or Improvement for Sitemap Validator
Need custom options, higher limits, or extra format support? Let our engineering team know!