Basic XML syntax is checked first
Missing closing tags, broken quotes and similar XML syntax errors are reported before the tool counts url and loc elements.
Free browser tool
Check XML syntax and basic URL entry structure in an XML sitemap.
Perform a lightweight XML syntax check on pasted sitemap text and count url and loc elements. It is a structural preflight, not a full sitemap-protocol validator.
<url><loc>https://example.com/</loc></url> inside a valid urlset is counted as one url element and one loc element.“XML syntax OK” only means the browser could parse the XML. The checker does not confirm that every loc is an absolute URL, that the namespace is correct, or that search engines will accept the sitemap.
Missing closing tags, broken quotes and similar XML syntax errors are reported before the tool counts url and loc elements.
A large difference between url and loc counts can reveal obviously incomplete entries, but equal counts still do not prove every sitemap rule is satisfied.
The tool does not enforce sitemap URL-count, file-size, compression, lastmod format or sitemap-index rules.
Availability, redirects, canonical status and HTTP responses remain unknown. Use the checker as local text preflight before deeper site-level validation.