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
- Enter the sitemap URL or paste its XML content.
- The tool checks XML validity, the namespace, the type (urlset or index) and the 50,000 URL and 50 MB uncompressed limits.
- 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.
Related tools
- XML Sitemap GeneratorPaste your URLs, one per line: the tool outputs a valid, correctly escaped sitemap.xml and splits it with an index if you go over the limits.Free · runs in your browser
- Sitemap URL ExtractorEnter a sitemap or just a domain: the tool lists every URL and its lastmod, follows a sitemap index one level deep and exports the result.Free · no account needed
- Robots.txt CheckerPaste your file or enter a domain. The tool applies the RFC 9309 rules, flags errors and tells you whether a given crawler may fetch a URL.Free · no account needed
- Canonical Tag CheckerEnter a URL or paste the HTML: the tool reads the canonicals in the HTML and the Link header, compares them with the page URL and tests the target.Free · no account needed
- Hreflang ValidatorEnter a URL or paste the HTML: the tool reads the hreflang tags and the Link header, checks every code and spots the classic mistakes.Free · no account needed