Free tools

XML sitemap checker

A sitemap should be a clean list of the pages you want in search: final URLs, status 200, indexable. This checker finds yours, reads it the way a crawler does and tests a spread of the URLs inside it.

By Adem ÇakalPublished 3 sources

Check a sitemap

Enter a domain and we look in robots.txt, then /sitemap.xml, /sitemap_index.xml and /wp-sitemap.xml. For an index we read up to six child sitemaps and test ten URLs spread across the list.

Short answer

A healthy sitemap is listed in robots.txt, stays under 50,000 URLs and 50 MB per file, uses absolute URLs on your own host, and contains only pages that answer 200 and are indexable. Google ignores priority and changefreq and trusts lastmod only when it matches real edits.

What the checker tests

CheckWhy it mattersRule source
Sitemap line in robots.txtLets every crawler, including Bing and AI search bots, find the file without a consoleGoogle sitemap guide
Index or URL set, child files reachableAn index pointing to a 404 child hides every URL in itsitemaps.org
URL count per file50,000 URLs or 50 MB uncompressed is the limit per fileGoogle sitemap guide
Same host, httpsURLs on another host are ignored unless you verify both; http URLs on an https site point at redirectsGoogle sitemap guide
lastmod presentUsed to decide what to recrawl, if it is accurateGoogle sitemap guide
Sample URLs: status 200, no noindexListed pages that redirect, break or say noindex become exclusions in Search ConsoleGoogle Page indexing report

Why we test a spread, not the first ten

The first URLs in a sitemap are usually the homepage and main sections, which are almost always fine. Problems hide further down: old posts that now redirect, deleted products, tag pages set to noindex. The checker takes every n-th URL across the whole list, so a sample of ten covers the start, middle and end of the file.

Sampling ten URLs evenly across a long sitemap instead of the first ten first 10 URL 1last URL Dots: the URLs we request, one at a time
Ten requests spread evenly catch the stale sections of a sitemap that a "first ten" test never reaches.

Typical findings and fixes

  • Old posts that 301 elsewhere. Common after a slug change or migration. List the new URL; most SEO plugins rebuild the sitemap from published content, so check for a redirect plugin that kept old entries.
  • Tag, author and attachment pages with noindex. WordPress SEO plugins let you noindex these and exclude them from the sitemap in the same settings screen. Do both.
  • The www and non-www mix. A sitemap on www. listing bare-domain URLs, or the reverse. Every listed URL then starts with a redirect.
  • Every lastmod equal to today. A generator that stamps the build date on every URL. Google stops trusting the field; set it from each page's real modified date.
  • Static sites with no sitemap. Next.js can generate one from app/sitemap.ts; Webflow and Framer create one in site settings. Hand-written sitemaps go stale within weeks.

A minimal valid sitemap

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/pricing</loc>
    <lastmod>2026-11-03</lastmod>
  </url>
</urlset>

# robots.txt
Sitemap: https://example.com/sitemap.xml

When the checker comes back clean, submit the sitemap in Search Console and Bing Webmaster Tools. If pages from a clean sitemap still sit in "Discovered, currently not indexed", the problem is no longer the file; see that fix guide.

Questions people ask

Do I need a sitemap if my site is small?

Google says a sitemap helps most with large sites, new sites with few links pointing to them, and sites with lots of rich media. A small, well-linked site can be found without one, but it costs nothing and gives you the Sitemaps report in Search Console.

Does Google use priority and changefreq?

No. Google ignores both. It uses lastmod, but only when the dates are consistently accurate.

Should I list noindex or redirected pages?

No. List only the canonical URLs you want in results. Every redirected, noindexed or broken URL you list turns into an exclusion line in the Page indexing report and makes the file a weaker signal.

Where does Bing find my sitemap?

From the Sitemap line in robots.txt or from Bing Webmaster Tools, where you can submit it or import your Search Console setup.

Sources

  1. Google Search Central: Build and submit a sitemap, accessed 2026-11-12.
  2. Google Search Central: Learn about sitemaps, accessed 2026-11-12.
  3. sitemaps.org protocol, accessed 2026-11-12.