Skip to main content
Free SEO Tool

XML Sitemap Validator

Validate the structure and URLs of any XML sitemap.

FreeNo login

What does this tool check?

The sitemap validator checks XML structure, URL entries, file size, and sitemap index information from the submitted resource. Use its findings to choose the next investigation for a website you manage. A warning is a diagnostic lead to review in context, not automatic evidence of a penalty or a promise that making a change will improve rankings.

Where does the report data come from?

The validator fetches the submitted sitemap or looks for a sitemap through robots.txt and common sitemap locations. Check the address or keyword before interpreting results. If a request fails or data is unavailable, treat that field as unmeasured rather than zero. The report should guide your follow-up, not replace verification of the original page or file.

How often are the results refreshed?

A repeat sitemap check retrieves the resource again, but a CDN or the website can still return an older file. Record the check date and any data timestamp shown. Compare like-for-like inputs and settings over time. Different results can reflect caching, provider coverage, or the destination server's response, rather than a confirmed change to your website.

What are the free, no-login limits?

The validator works without login and checks the retrieved sitemap; a valid XML result does not guarantee that Google indexes its URLs. Read limit messages before retrying, and record important findings. Use the public result to prioritize work, not as a replacement for a complete audit, official indexing verification, or a guarantee that every issue has been found.

What sitemap validation checks

An XML sitemap lists the URLs you want search engines to crawl, along with optional metadata like last-modified dates. Google reads it to discover pages faster, especially on large or newly launched sites. If the file is malformed or oversized, search engines may ignore part or all of it.

This validator fetches the sitemap, confirms it is well-formed XML, detects whether it is a single sitemap or a sitemap index that points to other sitemaps, counts the URLs, and checks the file against Google's hard limits of 50,000 URLs and 50 MB uncompressed per file.

How to read your results

A valid sitemap is well-formed XML with a urlset (single sitemap) or sitemapindex (index of sitemaps) root element. Each <url> entry needs a <loc> with an absolute URL. The <lastmod> field should use ISO 8601 dates so Google can trust freshness signals.

If your file exceeds 50,000 URLs, split it into multiple sitemaps and reference them from a sitemap index. Keep all listed URLs on the same domain as the sitemap, use canonical URLs only, and submit the sitemap in Google Search Console plus a Sitemap: line in robots.txt.

Common mistakes to avoid

  • Listing redirected or 404 URLs that waste crawl budget.
  • Exceeding 50,000 URLs in a single file instead of using an index.
  • Including non-canonical or parameter URLs that duplicate content.
  • Using fake or always-today lastmod dates that erode trust.
  • Forgetting to submit the sitemap in Google Search Console.

Frequently asked questions

How many URLs can one sitemap hold?

A single XML sitemap can list up to 50,000 URLs and must stay under 50 MB uncompressed. Beyond that, split it and use a sitemap index.

What is a sitemap index?

A sitemap index is a parent file that points to multiple child sitemaps. Large sites use it to organize tens or hundreds of thousands of URLs.

Do I need a lastmod date?

It is optional but recommended. Accurate lastmod values help Google prioritize recrawling pages that actually changed.

Should every page be in the sitemap?

List only canonical, indexable URLs that return 200. Do not include redirected, noindexed, or blocked pages.

Need deeper SEO data?

Rank Crown combines rank tracking, keyword research, site audits, and backlink analysis in one affordable platform.

See pricing

More free tools