Free tool
Free XML Sitemap Validator
Paste your XML sitemap to check it is valid, within the 50,000 URL limit, free of duplicates and mixed hosts, and that lastmod dates are real.
Paste the contents of an XML sitemap (urlset or sitemapindex). The check runs in your browser.
Summary
Results
This tool runs entirely in your browser. Nothing you type is sent to a server.
How to use it
- Open your sitemap in the browser and copy its contents.
- Paste it into the box. The result updates as you type.
- Fix anything marked with a cross first, then the warnings.
- Sample a few listed URLs to confirm they return 200, are indexable and are canonical.
What to know
- The tool checks the file you paste. It does not request the URLs, so it cannot see status codes, noindex or canonicals.
- For a sitemap index, paste each child sitemap separately.
- Google ignores priority and changefreq, and uses lastmod only when it is accurate.
- A valid file does not guarantee indexing.
Frequently asked questions
What is the size limit for a sitemap?
One file can hold up to 50,000 URLs or 50 MB uncompressed. Larger sites use several files grouped in a sitemap index.
Which date format does lastmod use?
A W3C datetime such as 2026-01-31 or 2026-01-31T10:00:00+00:00.
Is my sitemap sent anywhere?
No. The check runs in your browser.
Sources
- Build and submit a sitemap · Google Search Central
- Sitemaps XML protocol · sitemaps.org