Online Tools
Sitemap Validator
Validate XML sitemaps online against the sitemaps.org protocol—urlset and sitemapindex structure, loc, lastmod, changefreq, and priority—without fetching live URLs. Read more
Validate an XML sitemap online
This sitemap validator checks whether the input is well-formed XML and then verifies sitemaps.org protocol rules for urlset and sitemapindex documents. It reports structural and field errors such as a missing namespace, missing or relative loc values, invalid lastmod / changefreq / priority, duplicate URLs, and protocol size limits.
It does not crawl or fetch each <loc>, and it is not a Google Search Console coverage check. For XML syntax alone, use the XML Validator. To reindent a document, use the XML Formatter.
How to validate a sitemap
- Paste a complete sitemap XML document into the input editor, or import a local file.
- Click Validate.
- If the result is Invalid, read the error list in document order and fix each reported field.
- Validate again until the result is Valid.
Well-formedness is checked first. If the XML cannot be parsed, only the parser error is shown and protocol checks are skipped.
Sitemap validator FAQ
Does Valid mean every URL is reachable?
No. This tool checks sitemap XML structure and field values only. It does not request each loc URL or verify HTTP status, redirects, canonical tags, or noindex.
Are Google image, video, news, or hreflang extensions validated?
No. Elements outside the sitemaps.org 0.9 namespace are ignored. Unknown elements in the sitemap namespace are reported as errors.
What size and URL limits are enforced?
A document with more than 50,000 url or sitemap entries, or a UTF-8 byte length over 50MB, is Invalid. Each loc must be a non-empty absolute http or https URL of at most 2048 characters.
Is compressed .xml.gz supported?
No. Paste or import uncompressed XML sitemap content.