SEO tool
XML Sitemap Validator
Paste your sitemap to catch the mistakes that make search engines skip URLs or reject the file.
Runs entirely in your browser. Nothing you paste is uploaded.
Paste the contents of a sitemap.xml file to validate it.
Issues found
How to use the XML Sitemap Validator
- Paste the XML of your sitemap, or open the file from your computer.
- Select Validate.
- Fix the errors listed first, then review the warnings. Each one names the entry it belongs to.
What the sitemap validator checks
An XML sitemap validator, or sitemap checker, tests a sitemap file against the sitemaps.org rules that Google and Bing follow. Use it to validate a sitemap before you submit it in Search Console.
A sitemap must be well-formed XML with a <urlset> or <sitemapindex> root in the sitemaps.org namespace. Every entry needs exactly one <loc> holding an absolute http or https URL of at most 2,048 characters, and one file may list up to 50,000 URLs and be up to 50 MB uncompressed.
Optional tags are checked too: <lastmod> must be a real W3C date such as 2026-01-31, <changefreq> must be one of the seven allowed words, and <priority> must be between 0.0 and 1.0.
Warnings point out things that are legal but usually mistakes: duplicate URLs, URLs on a different host, dates in the future and fragments. Google ignores changefreq and priority, but an accurate lastmod helps it decide what to recrawl.
Common questions
How do I validate an XML sitemap?
Paste the XML of your sitemap or sitemap index. The validator lists every error and warning together with the entry it belongs to.
How many URLs can one sitemap hold?
Up to 50,000 URLs and 50 MB uncompressed. Larger sites split their URLs across several files and list them in a sitemap index.
Does Google use priority and changefreq?
No. Google has said it ignores both. It does use lastmod when the date is consistently accurate.
Can this fetch my sitemap from a URL?
Not yet. Open the sitemap in your browser, copy the XML and paste it here, or open the downloaded file.
Is my sitemap uploaded?
No. It is parsed in your browser and never sent anywhere.
Guides for the XML Sitemap Validator
- XML Sitemap Best Practices and How to Validate YoursAn XML sitemap lists the pages you want indexed. The format, the limits, which tags Google uses, common errors, and how to validate your sitemap.
- How to Submit a Sitemap to Google (and Bing)How to submit an XML sitemap to Google and Bing step by step: find the sitemap URL, validate it, add it in Search Console, and read the status afterwards.
- JSON vs XML vs YAML: Differences and When to Use EachJSON vs XML vs YAML compared with the same data in each format: syntax, comments, data types, readability and the jobs each one is best suited for.
- Site Migration SEO Checklist: Move a Website Without Losing TrafficA site migration SEO checklist: what to do before, during and after a redesign, platform change or domain move so rankings and traffic survive.