Skip to content
ToolFarmToolFarm
SEO

Sitemap Inspector and Validator

Paste an XML sitemap or a sitemap URL to inspect it: list every URL, tell a urlset from a sitemapindex, and catch issues like too many URLs, invalid lastmod dates or http links. In your browser.

4 min read

What this tool does

Paste the XML of a sitemap to inspect it instantly: Sitemap Inspector lists every URL, tells a urlset of page URLs apart from a sitemapindex of child sitemaps, and flags the problems that quietly hurt crawling. It checks the limits search engines enforce, 50,000 URLs and 50 MB uncompressed per file, validates each lastmod against the W3C date format, and warns about http links and out-of-range priority values. Pasting the XML always works and never leaves your browser. You can also paste a sitemap URL and the tool will try to fetch it, falling back to pasting when the site blocks cross-origin requests.

tools.sitemap-inspector.relatedMention

What you can use it for

  • Check that a sitemap.xml stays under the 50,000 URL and 50 MB limits before you submit it to Google Search Console.
  • Tell a urlset of page URLs apart from a sitemapindex that only points at other sitemaps, so you read each file correctly.
  • Catch invalid lastmod dates that are not in the W3C format, since search engines ignore a date they cannot parse.
  • Spot http links and priority values outside the 0.0 to 1.0 range that slipped into a generated sitemap.
  • List every URL in a sitemap and copy the plain list to diff it against the pages you actually expect indexed.

How to use it

  1. Open your sitemap, for example example.com/sitemap.xml, and copy its XML.
  2. Paste the XML into the box. The whole analysis runs in your browser, nothing is uploaded.
  3. Read the URL count, the sitemap type and the issue count at a glance.
  4. Review the flagged issues, like too many URLs, a bad lastmod or an http link, and fix them in your sitemap.
  5. Copy the plain URL list to compare it against your expected pages, or paste a sitemap URL and let the tool try to fetch it.

Everything runs inside your browser. No file is uploaded to any server. See more tools in this field.

Other tools people reach for in the same flow.

SEO

Frequently asked questions

What is the difference between a urlset and a sitemapindex?

A urlset is a sitemap that lists the actual page URLs of your site, each in a <url> block. A sitemapindex does not list pages at all: it lists other sitemap files, each in a <sitemap> block, and is how you stay under the per-file limits by splitting a large site into several sitemaps. Sitemap Inspector detects which one you pasted and lists the entries accordingly.

How many URLs can a sitemap have?

A single sitemap file can hold at most 50,000 URLs and must weigh at most 50 MB uncompressed. If you have more, you split the URLs across several sitemaps and list those files in a sitemapindex. This tool counts your URLs and flags the file when it goes over either limit.

Why is my lastmod flagged as invalid?

The lastmod date must follow the W3C datetime format, which is the same as ISO 8601: a date like 2026-06-18, or a full timestamp like 2026-06-18T10:00:00+02:00. Human formats like June 18, 2026 are not valid, and search engines ignore a lastmod they cannot parse. The tool flags any value that does not match so you can fix it.

Can it fetch a sitemap from a URL?

It tries. If you paste a sitemap URL, the tool fetches it directly from your browser. Many sites block that with CORS, since a sitemap is meant to be read by crawlers and not by other websites, so the fetch can fail. When it does, open the sitemap in a new tab and paste its XML here instead. Pasting always works, which is why it is the primary way to use the tool.

Does my sitemap leave my computer?

Not when you paste the XML. The parser and all the checks run entirely in your browser with no upload and no server. The only time the tool touches the network is the optional URL fetch, and that request goes straight from your browser to the sitemap you named.

Sitemap Inspector and Validator · ToolFarm