Skip to main content

Home / Tools / XML Sitemap Checker

Free XML sitemap checker

Fetch a site's sitemap.xml, follow its index, count the URLs — and actually test a sample of them, because a sitemap full of 404s is worse than no sitemap.

Checks {origin}/sitemap.xml — sample-fetching up to 10 listed URLs can take ~15 seconds.

What this tool checks

The checker requests /sitemap.xml from the site's origin. If it finds a <sitemapindex>, it follows one level down and inspects up to three child sitemaps; otherwise it reads the URL set directly. It counts every <url> entry, then does the part most validators skip: it fetches a spread-out sample of up to ten listed URLs and reports the live HTTP status of each. A sitemap that parses beautifully but lists dead pages passes XML validation and still hurts you — this catches that.

Why sitemap hygiene matters

Search engines treat your sitemap as a statement of intent: these are the canonical URLs you want indexed. When the file is accurate, crawlers spend their budget on pages that matter and pick up new content fast. When it rots — deleted products still listed, URLs that 301 to their replacements, staging links that leaked in — three things happen. Crawl budget gets burned on dead ends, which slows discovery of your real pages. Search Console fills with "Submitted URL not found" errors that bury genuine problems. And Google quietly learns to trust the file less, blunting the one channel where you get to speak to the crawler directly. On large sites, sitemap freshness is one of the strongest levers you have over what gets crawled at all.

How to fix what the checker finds

No sitemap at /sitemap.xml: check robots.txt for a Sitemap: line pointing elsewhere; if there is truly none, enable your CMS's sitemap feature (built into WordPress since 5.5, one config line in Next.js, automatic in Shopify). Sampled URLs return 404: the generator is including deleted content — exclude unpublished and trashed items, then resubmit in Search Console. Sampled URLs redirect (301/302): the sitemap lists old URLs; regenerate it from current canonical URLs so every entry returns 200 directly. Child sitemap unreachable: an index pointing at missing files usually means a partial deploy or a renamed section — regenerate the index and children together. Zero URLs listed:some plugins emit an empty shell when misconfigured; check the plugin's post-type inclusion settings.

Frequently asked questions

Does a sitemap improve rankings?

No — it improves discovery. A sitemap tells crawlers which URLs exist and when they changed, which matters most for new sites, large sites, and pages with few internal links. Ranking still depends on content and links; a sitemap just makes sure Google finds the page at all.

What is the difference between a sitemap and a sitemap index?

A regular sitemap lists page URLs (up to 50,000 or 50 MB uncompressed). A sitemap index lists other sitemap files. Large sites split URLs across many sitemaps and point the index at them — this tool follows one index level and checks up to three child sitemaps.

Why are 404s and redirects in a sitemap a problem?

A sitemap is a promise: "these URLs are canonical and alive". Every 404 wastes crawl budget, and every redirecting URL makes Google distrust the file a little more. Search Console reports these as errors; keeping the sitemap clean keeps crawling efficient.

My sitemap is not at /sitemap.xml — is that OK?

Yes, any URL works as long as robots.txt declares it with a Sitemap: line or you submit it in Search Console. This tool checks the conventional location; if nothing is there, look at your robots.txt for the declared path.

How often should a sitemap update?

Automatically, on every publish. Modern CMSs and frameworks generate sitemaps dynamically. A hand-maintained sitemap that drifts out of date is worse than none — it actively feeds crawlers dead URLs.

Want the full picture?

This tool checks one thing. A full RankVitals audit runs a Lighthouse speed test plus 50+ SEO and AI-readiness checks on your whole site — free, no signup.

Run a full site audit →