toolbin_

XML sitemap validator

Validate an XML sitemap: urlset tag, loc tags, and the 50,000-URL limit.

or

🔒 100% client-side — no data sent

Check whether your XML sitemap is valid online: urlset tag structure, presence of <loc> tags, UTF-8 encoding and the 50,000-URL limit. Perfect for testing a sitemap before submitting it to Google Search Console or Bing. Everything runs 100% in your browser, so your file is never uploaded to any server.

What is it for?

  • Before submitting a new sitemap to Google Search Console.
  • Troubleshoot a 'Sitemap could not be read' error reported by Google.
  • Verify that a sitemap generated by a CMS or plugin is well-formed.
  • Make sure you stay under the 50,000-URL-per-file limit.

FAQ

What is the URL limit in an XML sitemap?

A single sitemap file must not exceed 50,000 URLs or 50 MB uncompressed. Beyond that, split it into several files linked by a sitemap index.

Which tags are required in a sitemap?

The root <urlset> tag and, for each entry, a <url> tag containing a <loc> tag with the absolute URL. The <lastmod>, <changefreq> and <priority> tags are optional.

Why is my sitemap invalid?

Usually: malformed XML, missing <loc> tag, non-absolute URLs, unescaped characters or wrong encoding. The validator points to the offending line.

Does the validator send my sitemap to a server?

No. The analysis runs entirely in your browser in JavaScript; no data is transmitted or stored.