Skip to content
Rankora
Free · no account needed

XML Sitemap Validator

Enter the sitemap address or paste its XML: the tool checks the structure, the limits and every value, and works out how many files you need.

Privacy and cost

This tool requests the public URL you enter from our servers. It is free, rate-limited to prevent abuse, and we do not store the URL or the page content.

How it works

  1. Enter the sitemap URL or paste its XML content.
  2. The tool checks XML validity, the namespace, the type (urlset or index) and the 50,000 URL and 50 MB uncompressed limits.
  3. It reviews every entry (absolute URLs, duplicates, lastmod, changefreq, priority) and tells you how many files the list should be split into.

Example

A 4-entry, 369-byte sitemap is flagged for 3 problems: a relative URL ("/contact"), an invalid lastmod ("01/03/2026", where 2026-03-01 is expected) and a duplicate (https://example.com/blog/). It also notes that priority is ignored by Google and that 2 of 4 entries have a lastmod. One file is enough.

What the result means

A sitemap must be well-formed XML with the right namespace, absolute URLs of the same site, and at most 50,000 URLs and 50 MB uncompressed; beyond that, split it with a sitemap index. lastmod dates follow the W3C format (YYYY-MM-DD or a date-time with time zone).

Common problems this tool helps with

  • An unescaped ampersand in one URL that makes the whole file unreadable.
  • Relative URLs, http URLs on an https site, or URLs from another domain, which search engines ignore.
  • lastmod dates in an invalid format or in the future.
  • A sitemap over 50,000 URLs that was never split.

Frequently asked questions

Do the limits apply to the compressed file?

No, they apply to the uncompressed file: 50,000 URLs and 50 MB (52,428,800 bytes). Gzipping does not raise the limit.

Why not list every URL on my site?

A sitemap should hold the canonical pages you want indexed: no redirects, no noindex pages and no URLs with pointless parameters.

Does the tool validate sitemap indexes too?

Yes: it detects a sitemapindex, counts the referenced sitemaps and applies the same checks. Validate each child sitemap separately.