XML Sitemap Validator
Validate your XML sitemap instantly. Check for structural errors, missing required elements, invalid URLs, and date format issues. Free, client-side XML sitemap validator.
Validate your XML sitemap instantly. Check for structural errors, missing required elements, invalid URLs, and date format issues. Free, client-side XML sitemap validator.
An XML sitemap is a file that lists URLs on a website along with metadata (last modified date, change frequency, priority) to help search engines crawl efficiently. Unlike robots.txt, which controls access, sitemaps suggest URLs that should be indexed. Sitemap protocol is a standard maintained by sitemaps.org and supported by all major search engines.
Validation checks the XML structure for spec compliance: correct namespace, required elements (<urlset> root, <url> entries, <loc> for each URL), and limits (max 50,000 URLs and 50 MB uncompressed per file; sitemap index files combine multiple sitemaps). Malformed sitemaps are silently ignored by crawlers, which is worse than no sitemap because the issue is invisible.
This validator parses your sitemap, checks structure, validates URL format, and surfaces any issues. It also runs sanity checks: are URLs absolute? Are they HTTPS where the domain serves HTTPS? Do the dates follow ISO 8601?
Catching sitemap errors early prevents weeks of search engines silently ignoring your file. Submission via Google Search Console reports parse errors, but only after submission and a delay. Validating locally surfaces the issues immediately.
Large sitemaps also benefit from sanity-checking. URL counts, duplicate detection, and HTTPS consistency are easy to miss in a file with thousands of entries. A validator that surfaces these issues prevents subtle long-term SEO problems.
Paste sitemap or URL, get the validation report.
Sitemap protocol: <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> as root, with <url> children each containing <loc> (required), <lastmod>, <changefreq>, <priority>. All URLs must be absolute.
Limits: 50,000 URLs and 50 MB uncompressed per file. Larger sites use sitemap index files (<sitemapindex>) referencing multiple sitemaps. Indexes can themselves chain.
Date format: ISO 8601 (YYYY-MM-DD or full datetime with timezone). changefreq values: always, hourly, daily, weekly, monthly, yearly, never. priority: 0.0 to 1.0 (default 0.5). Most modern crawlers ignore changefreq and priority.