Free tool, no signup required

Sitemap Checker

Check a sitemap end to end in one pass. The file is validated against the sitemaps.org protocol, then up to 100 of the URLs inside it are fetched live, and both results roll into a single health score.

3 checks remaining today (free)

Short answer

A sitemap checker tests whether a sitemap actually works, in two passes. First it validates the file against the sitemaps.org protocol: the XML namespace, absolute same-host URLs, valid lastmod dates, and the 50,000 URL and 50MB limits. Then it fetches up to 100 of the URLs inside it and flags entries that return errors, redirect, or carry a noindex tag. The result is one health score out of 100, weighted 40 percent on the file check and 60 percent on the share of sampled URLs that return a clean 200, because a valid file that points at broken pages is still a failing sitemap.

What this checker tests, in two passes

A sitemap can fail in two completely different ways, and most tools only look for one of them. The file itself can be broken: wrong namespace, relative URLs, a lastmod format Google refuses to read, a size past the protocol limits. Or the file can be flawless and the URLs inside it can be the problem: pages that were deleted last quarter, entries that redirect twice before landing, pages carrying a noindex tag the sitemap contradicts.

The first pass here is the protocol check. The file is fetched, decompressed if it is gzipped, and parsed. The checker then works through the sitemaps.org 0.9 rules: the root element and namespace, the XML declaration, absolute URLs on the same host, escaping, duplicates, W3C datetime lastmod values, changefreq keywords and priority ranges, plus the 50,000 URL and 50MB per-file limits. Errors here are fatal in a specific way: a sitemap that fails to parse is not partially read, it is discarded entirely.

The second pass is the live check. The checker expands the sitemap, following up to 20 child sitemaps if you gave it an index, and fetches up to 100 of the URLs it declares. Each one is classified:

  • OK. Returns 200 with no noindex tag. This is what every entry should be.
  • Broken. Returns a 404, 410 or a server error. The strongest staleness signal a sitemap can carry.
  • Redirect. Returns a 30x. The entry is out of date and should list the destination instead.
  • Noindex. Returns 200 but a meta tag or header forbids indexing, contradicting the sitemap.
  • Timeout. No response within 8 seconds. Slow pages get crawled less often.

Both passes matter because they catch different failures. A valid file full of 404s sails through every validator ever built and still teaches Google to ignore your sitemap. A broken file pointing at perfect pages never gets those pages discovered at all. One check without the other answers half the question.

How the health score works

The score is deliberately simple, and this is the actual formula rather than a marketing abstraction. The file check starts at 100: any file-level error costs 25 points, and each warning costs 5, with a floor at zero. The URL check is the percentage of sampled URLs that come back OK. The final score combines the two, weighted toward the URLs:

The formula

Health score = 0.4 × file score + 0.6 × percentage of checked URLs returning a clean, indexable 200. If the sitemap declares no reachable URLs, the score is the file score alone.

The URL side carries more weight on purpose. Protocol warnings are worth fixing, but Google tolerates an imperfect file far better than it tolerates being sent to dead pages. A sitemap with a formatting warning and 100 clean URLs is doing its job. A pristine file where a third of the entries are broken is not, and the weighting makes the score say so.

Read the bands like this: 90 and above is healthy, and anything you fix from here is polish. 70 to 89 means the sitemap works but is carrying problems, most often redirected entries left behind by a migration. Below 70 means enough of the sample failed that Google is meaningfully wasting crawls on this file, and the fix list below is worth working through this week rather than someday.

One honest caveat: the URL pass is a sample. It checks the first 100 entries, so a 50,000 URL sitemap is judged on its opening slice. That makes the score a fast signal rather than a census. When the sample turns up problems, the sitemap crawler gives you the full URL-by-URL table to work from.

How to fix a failing sitemap

Work top down: file errors first, then the URL problems in order of severity. The step most people skip is the fifth one, and it is the one that stops the same problems reappearing next month.

  1. 01

    Fix the file errors first

    Anything the file check marks as an error either stops the sitemap parsing or gets entries silently dropped. A file Google cannot parse is discarded whole, so no URL fix matters until the file itself is valid.

  2. 02

    Remove or replace the broken URLs

    Every entry that returns a 404 or a 5xx either needs the page restored or the entry removed. Dead entries are the strongest staleness signal a sitemap can send, and they drag the whole file's crawl priority down.

  3. 03

    Swap redirecting entries for their destinations

    A sitemap should list final URLs only. For each entry that redirects, replace it with the URL it lands on. Keep the redirect itself in place for old links, but stop declaring the old address as current.

  4. 04

    Take noindex pages out of the sitemap

    A sitemap says index this and a noindex tag says do not. Decide which instruction is right for each page, then make the sitemap and the meta tag agree. Usually that means removing the entry.

  5. 05

    Fix the generator, not the file

    Almost every sitemap is generated by a CMS, a plugin or a build step. Hand-editing the XML lasts until the next deploy. Change the generator's rules so excluded pages, redirects and deleted URLs never enter the file.

  6. 06

    Re-run the check and resubmit

    Run the checker again and confirm the score has moved. Then resubmit the sitemap in Search Console so Google refetches it promptly rather than on its own schedule.

Checker, validator, or crawler: which one you need

CrawlRaven has four sitemap testing tools because the question "is my sitemap working" hides four different questions. This checker is the one to run first: it answers the overall question in a single pass. The others go deeper on one axis each.

ToolWhat it checksWhen to use it
Sitemap checkerThe file against the protocol, plus a live check of up to 100 URLs, rolled into one health scoreFirst. The quick end-to-end verdict on whether a sitemap is working
Sitemap validatorThe file only, against every sitemaps.org rule, with full per-issue detailWhen the file check fails and you need the exact protocol violation
Sitemap crawlerEvery URL the sitemap declares, fetched and classified one by one, including canonical checksWhen the URL sample turns up problems and you need the complete list to fix
Sitemap finderWhere a site's sitemaps live: robots.txt directives and the common pathsWhen you do not know the sitemap URL, or suspect there is more than one

In practice the flow runs left to right. Start here for the score. If the file pass fails, the sitemap validator names the exact rule the XML breaks. If the URL pass fails, the sitemap crawler turns the sample into the full report. And if you are not sure what to test in the first place, the sitemap finder locates every sitemap a domain publishes, including the ones robots.txt forgot to mention.

What this tool checks

File validation

The full sitemaps.org protocol check: namespace, URLs, lastmod, limits

Live URL sample

Up to 100 URLs fetched and classified by real status code

Health score

One number out of 100 combining the file check and the URL check

Noindex detection

Entries whose meta tag or header contradicts the sitemap

Redirect detection

Entries that no longer point at their final destination

Index file support

Expands up to 20 child sitemaps before sampling

Gzip support

Compressed .xml.gz sitemaps are decompressed before checking

Domain auto-discovery

Paste a bare domain and the checker finds the sitemap itself

Frequently asked questions

What does a sitemap checker check?

Two things: the file and the URLs inside it. The file is validated against the sitemaps.org protocol, covering the XML namespace, absolute same-host URLs, valid lastmod dates and the 50,000 URL and 50MB limits. Then up to 100 of the URLs are fetched live to catch broken pages, redirects and noindex tags. Both passes feed one health score out of 100.

How is this different from the sitemap validator?

The validator checks the file only: it tells you whether the XML parses and follows the protocol, in full detail. This checker runs those same file checks and then also fetches a sample of the URLs, because a perfectly valid file full of dead pages is still a failing sitemap. Use the validator when you want the deepest file-level report, and this checker when you want the overall verdict.

How is this different from the sitemap crawler?

The crawler is the full URL-by-URL report: it fetches the URLs a sitemap declares and gives you the complete table, including canonical checks. This checker is the quick pass you run first: file validation plus a 100-URL sample rolled into one score. If the score is low, the crawler is where you go for the exhaustive list.

Why did my valid sitemap score low?

Because the URL sample failed, not the file. The score weights the live URL check at 60 percent, so a sitemap that parses cleanly but lists pages returning 404s, redirects or noindex tags loses most of its points there. Valid XML is the entry ticket, not the goal: Google cares what the entries resolve to.

Does Google penalise a bad sitemap?

Not with a ranking penalty, no. The cost is quieter: Google evaluates how trustworthy a sitemap is, and a file full of dead URLs, redirects and contradictions gets fetched less often and trusted less. In practice that means new pages take longer to be discovered and updated pages take longer to be recrawled, which looks like a penalty even though it is not one.

How often should I check my sitemap?

After every site change that adds, moves or removes pages, and on a monthly schedule otherwise. Sitemaps rot silently: a migration adds redirects, a cleanup deletes pages, a plugin update changes what gets included. None of those announce themselves, so a recurring check is the only way to catch the drift.

What is a good sitemap health score?

90 or above is healthy: the file is valid and the sampled URLs come back clean. 70 to 89 means the sitemap works but is carrying problems worth fixing, usually redirects or a few dead entries. Below 70 means Google is being sent to enough broken or contradictory URLs that the file is actively working against you.

Why are redirects in a sitemap bad?

Because a sitemap is supposed to be a list of current, final URLs, and a redirect is an admission that the entry is out of date. Each redirected entry costs the crawler an extra request, and a file with many of them signals that the sitemap is generated from stale data, which lowers Google's trust in the whole file.

Why is a noindex URL in a sitemap a contradiction?

The sitemap asks Google to index the page and the noindex tag forbids it, so you are sending both instructions at once. The noindex wins, but the entry still wastes a crawl, and Search Console reports the conflict as an excluded page. Whichever instruction is wrong, the fix is to make the two agree.

Can I check a sitemap index file?

Yes. If the URL points at a sitemap index, the checker validates the index file, then expands up to 20 child sitemaps to collect their URLs before sampling. The URL count shown is the total across the children it expanded, and the sample is drawn from the start of that combined list.

Can I paste just my domain instead of a sitemap URL?

Yes. Give it example.com and it looks for the sitemap the way a crawler would, reading robots.txt and trying the common locations. If nothing turns up, the sitemap finder runs a wider discovery. Paste the full sitemap URL when you want to test one specific file.

How many URLs does the checker test?

Up to 100, taken from the start of the sitemap, with the expansion capped at 2,000 URLs across up to 20 child sitemaps. The result says exactly how many were checked out of how many the sitemap declares. For a complete pass over every entry, the sitemap crawler is the tool built for it.

My sitemap passes but my pages are not indexed. Why?

Because a sitemap is an invitation, not a command. Google can fetch a clean sitemap, crawl the pages and still decide not to index them, usually for thin or duplicate content, weak internal linking or a crawl budget spent elsewhere. The sitemap check rules out the plumbing; indexing decisions are made on the pages themselves.

See which sitemap URLs Google has never indexed

This checks the first 100 URLs in one sitemap. CrawlRaven checks every page on your site, then joins the crawl to your Search Console and GA4 data, so you can see which sitemap URLs Google has never indexed and which indexed pages earn nothing.