XML Sitemap Validator & Visualizer
Search engines silently reject sitemaps with malformed XML, invalid dates, or oversized URLs. This tool validates your sitemap against the sitemaps.org schema, checks every business rule, and visualizes your URL freshness distribution — all locally.
Tool interface
Validation Results
📅 Freshness Distribution (lastmod)
🔄 Change Frequency Distribution
⚠️ Issues Found
📄 URL Entries
| # | URL | lastmod | changefreq | priority | Status |
|---|
Introduction
XML sitemaps are the roadmap crawlers use to discover your content, but a single malformed tag or invalid date can cause the entire file to be rejected. This validator checks every structural and business rule from the sitemaps.org protocol and shows you exactly what needs fixing.
How It Works
- XML is parsed with
DOMParserand checked for well-formedness. - The root element determines whether it's a URL sitemap or sitemap index.
- Each entry is validated: URL format, length, lastmod date format, changefreq enum, priority range.
- Freshness, changefreq, and priority distributions are charted for quick visual analysis.
Privacy
Your sitemap XML is parsed entirely in your browser. No content is transmitted anywhere. No API calls, no tracking.
Limitations
- Cannot fetch live sitemap URLs (CORS); you must paste the XML content.
- Does not verify that listed URLs actually resolve (would require fetching).
- Image, video, and news sitemap extensions are not validated.
FAQ
Why does Google reject my sitemap?
Common causes: invalid XML encoding, lastmod dates in wrong format (e.g., "2026/01/15" instead of "2026-01-15"), URLs over 2048 chars, or more than 50,000 URLs in one file.
Is lastmod required?
No, it's optional. But providing accurate lastmod dates helps crawlers prioritize fresh content. If you include it, it must be valid W3C DateTime.
Is my sitemap content uploaded?
No. Everything is parsed locally in your browser. Nothing is transmitted.