FreeTechnical SEO tool

Sitemap Health Checker

Enter the address of your XML sitemap and the checker fetches it, counts the URLs it lists and requests a sample of them. You get a table of those URLs with their HTTP status codes, so broken pages and redirects in the sitemap are easy to spot.

Checks a sample of URLsReads sitemap index filesSame-host URLs only

Updated · by the Linkstonic team

linkstonic.com/tool/sitemap-health-checkerLive
How it works

What gets fetched and what gets skipped

The work happens on Linkstonic's server. The page shows the totals it reports and a row for each URL it tested. A few rules shape what ends up in that table.

01

Start with the sitemap URL

Paste the full address of the sitemap file, such as https://example.com/sitemap.xml, not your homepage. An empty box or the bare https:// placeholder gets a "Sitemap URL required" message. If the fetch fails, you'll see "Sitemap check failed" with the server's reason.

02

Index files

If the URL is a sitemap index, the checker opens the first child sitemap listed in it and works from that. Other child sitemaps are not checked in the same run. To test your product or blog sitemap, paste that child file's URL directly.

03

Same hostname only

Only URLs on the same hostname as the sitemap are tested. A sitemap on example.com that lists www.example.com URLs will have those skipped. If the sampled count is much lower than you expect, a host mismatch like that is worth checking first.

04

A sample, not a crawl

"Listed on-site" is the number of URLs found, and "Sampled" is how many were actually requested, using lightweight HEAD requests where possible. The sample size is set by the server, and a note under the totals may explain limits. Large sites need several runs or Search Console.

05

Reading the status column

Each sampled URL shows its HTTP status. Codes the checker treats as healthy are green and the rest are red. A dash means no status came back at all, usually a timeout, DNS failure or a server that blocks automated requests.

Worked example

A blog sitemap with a few leftovers

This is an illustrative result for a made-up site on example.com. The numbers are invented but show a pattern that's common after a content cleanup.

Input
https://example.com/post-sitemap.xml
Output
412Listed on-site
50Sampled
46Returned 200
3Returned 301
1Returned 404

Four of 50 sampled URLs aren't live pages. If that ratio holds across all 412, around 30 URLs in the sitemap point to redirects or dead pages, which is worth a full export and cleanup.

Use cases

When a sitemap check pays off

Sitemaps drift quietly, so a spot check is worth doing at a few set moments.

After a redesign or migration

New URL structures often leave the old sitemap generator running. A quick check shows whether the file lists the new URLs or a pile of redirects from the previous site.

When indexing drops

If Search Console shows fewer indexed pages than expected, check the sitemap first. Errors in the sample often point to a template or plugin that started listing the wrong URLs.

Ecommerce catalog cleanups

Stores delete and merge products all the time. Checking the product sitemap after a cleanup catches discontinued items that still appear in the file and now return 404 or redirect to a category page.

Reference

Sitemap rules worth knowing

These come from the sitemaps.org protocol and Google's own documentation.

RuleLimit or valueNotes
URLs per sitemap file50,000Split into several files and use an index above that
File size50 MB uncompressedGzip is allowed, the limit applies before compression
Sitemaps per index file50,000Index files can't list other index files
URL formatAbsolute, fully qualifiedInclude the protocol, such as https://
EncodingUTF-8Escape characters like & as &
lastmodW3C date or datetimeGoogle uses it when it's consistently accurate
priority / changefreqOptionalGoogle says it ignores both

A sitemap only covers URLs on its own host unless you verify the other hosts in Search Console.

Sitemap Health Checker illustration: a code icon next to a sample result card showing 412 listed on-site and 50 sampled
Sitemap Health Checker, sample result
Our take

A sitemap is a list of promises

Every URL in a sitemap tells search engines "this is a page I want indexed". A sitemap full of redirects, 404s and noindex pages makes that list less trustworthy. Google doesn't penalize a messy sitemap, but it does spend crawl requests on URLs you've already abandoned, and on big sites that time is limited.

The usual cause is a plugin or export that lists whatever is in the database. Deleted products, draft pages, tag archives and old URLs that now redirect all end up in the file. I'd rather have a sitemap with 2,000 clean URLs than one with 5,000 where a fifth are dead ends.

AI search leans on the same plumbing. Bing has said accurate lastmod dates help it find fresh content, and Bing's index is what Copilot answers from. An accurate lastmod on URLs that really return 200 is one of the cheapest things you can do for both kinds of search.

Practical tips

Cleaning up after a check

The sample tells you whether there's a problem. These steps help you fix it across the whole file.

  1. 01

    Replace every redirected URL in the sitemap with its final destination, then check the new URL returns 200.

  2. 02

    Remove URLs that return 404 or 410 unless the page is coming back soon, such as a seasonal product.

  3. 03

    Take out pages marked noindex. A sitemap should only list URLs you want indexed, and noindex says the opposite.

  4. 04

    Make every sitemap URL match your canonical host and protocol, so none get skipped as a host mismatch.

  5. 05

    Run each child sitemap separately when you have an index file, starting with the one for your most important pages.

Sitemap Health Checker tips illustration: a checklist card that starts with "Replace every redirected URL in the" and "Remove URLs that return 404 or 410"
Sitemap Health Checker, checklist
Our customers

How we help marketers win

01techventuresShare of voice
02northlineReporting time
03arclabsAI mentions
FAQ

Sitemap Health Checker questions

01Does the checker test every URL in my sitemap?

No. It counts every URL it finds but only requests a sample, and it reports both numbers. For a full check of a large site, run each child sitemap separately and use Search Console's page indexing report alongside it.

02Why were some of my URLs skipped?

The checker only tests URLs on the same hostname as the sitemap. If your sitemap is on example.com but lists www.example.com pages, or the other way round, those URLs are left out. Fix the mismatch in the sitemap itself.

03Should redirected URLs be in my sitemap?

No. List the final URL, the one that returns a 200 status. A redirect in a sitemap sends crawlers on an extra hop and mixes signals about which URL you want indexed.

04What does a dash in the HTTP column mean?

No status code came back for that URL. The request may have timed out, the host may not have resolved, or a firewall may have blocked the automated request. Open the URL in a browser to see whether it works for visitors.

05Does a clean sitemap guarantee indexing?

No. A sitemap helps search engines find URLs, but whether a page gets indexed depends on its quality, duplication and how Google judges the site. Clean sitemaps just stop crawlers wasting requests on URLs you don't want.

Beyond one-off checks

See how your pages do in Google and AI answers

Linkstonic tracks rankings, audits your site and shows whether ChatGPT, Gemini and Perplexity mention you. The free plan needs no credit card.