SEO

Sitemap Inspector

Details

How to use Sitemap Inspector

What the tool does, how to run it, and what to expect from the result.

How to inspect a sitemap

To inspect a sitemap, paste the raw XML or load a local sitemap file, and the tool parses it instantly in your browser. It detects whether the document is a urlset of page URLs or a sitemapindex that points to other sitemaps, then reports the counts and any structural issues.

This is built for fast structural review rather than remote crawling, so it works from XML you provide instead of fetching a live URL. That keeps the check private and lets you inspect sitemaps for sites that are not yet public.

  • Paste sitemap XML or load a local file
  • See whether it is a urlset or sitemapindex
  • Review URL and child-sitemap counts
  • Check for missing or duplicate loc values

What problems it catches

Sitemap Inspector focuses on the common, fixable issues that break crawling or waste crawl budget. It flags entries with missing loc values and duplicate URLs, and it confirms the file parses as valid sitemap XML in the first place.

It intentionally does not predict indexation or crawl a remote server, because those depend on factors no local parser can see. The practical value is catching obvious structural errors before you submit the sitemap to a search engine.

Tips

Getting a better result out of Sitemap Inspector

Specific settings and thresholds, not general advice.

  • The root element must be urlset or sitemapindex. A gzipped sitemap has to be decompressed first, because the file picker accepts .xml, text/xml and application/xml only.
  • A parse failure almost always means an unescaped ampersand. Query strings inside a loc must be written with &, not a bare &, or the XML is invalid and the inspector refuses it.
  • One sitemap file is capped at 50,000 URLs and 50 MB uncompressed. The inspector counts your URLs but does not enforce either cap, so compare the count against 50,000 yourself and split with a sitemap index if you are over.
  • Every loc must be an absolute URL including the protocol. Anything that does not start with http or https is flagged as a suspicious loc, and relative paths in a sitemap are ignored by every major crawler.
  • lastmod is read and displayed but never validated. A lastmod that updates on every deploy for pages that did not change teaches Google to distrust the field, which is worse than omitting it.
Limits

What Sitemap Inspector does not do

The honest boundary, so you do not lose time finding it yourself.

  • Does not fetch a sitemap from a URL. Paste the XML or load a local .xml file.
  • Does not request the listed URLs, so it cannot tell you which of them redirect, 404, or carry a noindex tag.
  • Extracts loc and lastmod only. Image, video and news extensions, and xhtml:link hreflang entries, are not read.
  • Does not validate lastmod date syntax, changefreq, or priority, the last two of which Google ignores anyway.
At a glance

Who Sitemap Inspector is for

A quick way to understand who this helps, what it solves, and where it connects next.

Best fit

SEO operators, technical founders, and publishing teams reviewing sitemap structure without a crawler.

Ideal for

Quick sitemap sanity checks when the main question is whether the XML looks structurally right.

FAQ

Common questions

Short answers for the questions people usually have before trying a utility like this.

Is the Sitemap Inspector free?

Yes. It is free to use and runs entirely in your browser with no account required.

Does it upload my sitemap?

No. It parses the XML you paste or load locally, so your sitemap data never leaves your device.

Can it inspect a sitemap index?

Yes. Both urlset documents and sitemapindex files that point to child sitemaps are supported.

Does it fetch a remote sitemap URL?

No. This tool works from pasted XML or a local file rather than crawling a live URL, which keeps the check private and works for staging sites.

What issues does it flag?

It counts URLs and child sitemaps and flags obvious problems such as missing loc values and duplicate URLs.

Why does my sitemap fail to parse?

The most common cause is an unescaped ampersand inside a URL with query parameters. XML requires &. Other frequent causes are a byte order mark or stray whitespace before the XML declaration, and a PHP warning printed above the opening tag by the generator.

Does it check whether my URLs actually work?

No. It reads structure only. Listing a URL that redirects, returns a 404, or carries a noindex tag is the most common reason a sitemap underperforms, and finding those requires fetching each URL, which this browser-only tool does not do. Use Search Console's sitemap report for that half of the job.

Do priority and changefreq matter?

Google ignores both. They were part of the original 2005 sitemap protocol and have had no effect on Google crawling for years. The inspector does not read them, which is deliberate. loc is what matters, and lastmod matters only if it is honest.

Can it read a sitemap index?

Yes. It detects the root element and reports the type as urlset or sitemapindex. For an index it lists the child sitemaps rather than page URLs. It does not follow the children, so inspect each child file separately by pasting it in.

How many URLs belong in one sitemap file?

The protocol allows up to 50,000 URLs and 50 MB uncompressed per file. Beyond that you need multiple sitemap files listed in a sitemap index. In practice, smaller thematic sitemaps are easier to debug because Search Console reports coverage per file.

Is the XML sent anywhere?

No. The XML is parsed by your browser's own DOMParser and nothing leaves the page. That makes it usable for staging sitemaps or internal sites that are not reachable from the public internet.

Recommendations

You Might Also Like

Nearby tools from the catalog that fit the same job or workflow.

Cleanor app

Do it all on your device

Cleanor puts these tools in one app: compress and convert images, video, and audio, work with PDFs, and scan text right on your device. Plus free up storage and clear inbox clutter with Email Cleaner. Start with a free trial.

  • iPhone
  • Android
  • Macsoon
  • Windowssoon