Not affiliated with Google. No scan can promise a site won't be demoted.

SITEMAP CHECKER · CHECK I7

Sitemap checker: does your sitemap send Google to the right pages?

Enter a site. We find your sitemap through robots.txt or the usual paths, parse it, test a sample of its URLs, and report broken, redirected, noindexed and off-host entries.

Free, no sign-up. A few seconds to a minute. We only read public pages and never change anything.

Runs I7 of our 45 checks. Run all 45

What this sitemap checker tests

This sitemap checker reads your sitemap the way a crawler does and then checks the URLs in it. It answers three questions. Can a crawler find and parse your sitemap? Do the URLs it lists work, and do they want to be indexed? And does the file give Google dates it can trust?

The box above runs check I7 from our full scan. It:

  1. Finds your sitemap from the Sitemap: lines in your robots.txt, then the usual paths.
  2. Parses it in any format Google accepts: an XML sitemap or sitemap index, an RSS or Atom feed, or a plain list of URLs, gzipped or not. It follows one level of index.
  3. Checks that the URLs sit on your site’s host.
  4. Loads up to 20 listed URLs, spread across the whole sitemap, and flags errors, redirects and noindex.
  5. Checks whether every URL carries the same lastmod date.
  6. Compares the sitemap with the links on your home page.

An XML sitemap validator checks that the file parses. That is step 2 here. The rest matters more, because a sitemap that parses can still send Google to broken pages, redirects and pages that refuse to be indexed. The one-date-on-every-URL test is ours. We haven’t seen another free sitemap checker read it.

The sitemap protocol in brief

A sitemap is a list of URLs you want search engines to crawl. The format is defined at sitemaps.org and supported by Google, Bing and others. Google’s guide to building and submitting a sitemap covers what Google accepts.

A minimal XML sitemap:

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

Formats Google accepts

Format What it looks like Good for
XML sitemap <urlset> with one <url> per page Every site. Supports images, video, news and hreflang extensions
Sitemap index <sitemapindex> listing other sitemaps Large sites, or sites that split sitemaps by section
Text file One URL per line, .txt Large, simple sites. Google calls it “the simplest of sitemap formats”
RSS 2.0 or Atom 1.0 feed Your CMS’s feed Telling Google about new and changed pages fast

For the text form, Google says “you can create a common text file that contains one URL per line”. Nothing else goes in it.

Size limits and rules

Rule Limit or requirement Source
URLs per sitemap 50,000 Google’s build guide
File size 50 MB uncompressed. gzip is allowed, the limit applies before compression Google’s build guide
Sitemaps per index Up to 50,000 loc entries Google’s sitemap index guide
Index files per site in Search Console 500 Google’s sitemap index guide
Nested indexes Not supported Google’s sitemap index guide
Encoding UTF-8, with XML entities escaped Google’s build guide
URLs Fully qualified and absolute Google’s build guide
Location Applies to its own directory and below, unless submitted in Search Console Google’s build guide
Sitemap lines in robots.txt No limit Google’s build guide

The key lines, quoted. On size: “All supported formats limit a single sitemap to 50MB (uncompressed) or 50,000 URLs.” On URLs: “Use fully-qualified, absolute URLs in your sitemaps.” On encoding: “The sitemap file must be UTF-8 encoded.” On robots.txt, “there’s no limit to the number of sitemaps you can include in your robots.txt file.”

From the sitemap index guide: “A sitemap index file may have up to 50,000 loc tags.” Also, “A sitemap index file can only list individual sitemaps”, so an index of indexes doesn’t work. And “You can submit up to 500 sitemap index files for each site in your Search Console account.”

The arithmetic sets the ceiling. One index of 50,000 sitemaps of 50,000 URLs each covers 2.5 billion URLs, so nearly every site fits in one index.

Which tags Google reads

Tag Required What Google does with it
<loc> Yes Crawls the URL exactly as written
<lastmod> No Uses it when it is consistently accurate
<changefreq> No Ignores it
<priority> No Ignores it

Google’s build guide is blunt: “Google ignores <priority> and <changefreq> values.” Many generators still write both, often with the same value on every URL. They do no harm, but they do no good either, and they make the file bigger.

lastmod, as Google uses it

lastmod is the one optional field Google uses, and only on its own terms. The build guide says “Google uses the <lastmod> value if it’s consistently and verifiably (for example by comparing to the last modification of the page) accurate.” It should reflect “the last significant update to the page.” A change to the main content, the structured data or the links counts. On the other side, Google gives a small example of what doesn’t: “an update to the copyright date is not.”

So lastmod is a trust score you build over time. Each time Google recrawls a URL because its lastmod moved and finds a real change, the field earns weight. Each time it finds nothing new, the field loses weight. Once Google stops trusting it, your real updates wait for an ordinary recrawl, like everyone else’s.

The fastest way to lose that trust is a generator that writes the build time into every lastmod. Every deploy then claims every page changed today. Google checks a few, sees nothing new, and learns that this site’s dates mean nothing. That pattern is what I7’s lastmod test looks for.

Where Google finds your sitemap

Three ways, and the first two are enough:

  1. A Sitemap: line in robots.txt with the full URL. Google reads it on its next robots.txt fetch.
  2. A one-time submission in Search Console’s Sitemaps report, which also shows when Google last read it and what errors it hit.
  3. Links in feeds or a sitemap index you already submitted.

Google retired its sitemap ping endpoint. When we tried it on December 2, 2026, it answered 404, so pinging after each deploy does nothing. Our robots.txt checker shows whether your file declares a sitemap.

Does every site need one?

Not strictly. Google’s sitemap overview says a site might not need one if it is small: “By small, we mean about 500 pages or fewer on your site.” That holds when every page is linked from somewhere else on the site. A new site with few outside links gains the most from one, because Google has nothing else to follow.

Neither size nor quality buys a guarantee. The same page says a sitemap “doesn’t guarantee that all the items in your sitemap will be crawled and indexed.” A sitemap gets URLs discovered. Whether they are indexed depends on the pages.

What I7 reads, step by step

Here is the exact sequence our I7 check runs.

Finding the file. We build a list of candidates: every Sitemap: URL in your robots.txt, then /sitemap.xml, /sitemap_index.xml and /sitemap-index.xml on your site’s final host. We try up to six, in order, and stop at the first that answers 200 with a sitemap we can read: a <urlset> or <sitemapindex> root, an <rss> feed, an Atom <feed>, or a text file in which every line is an absolute URL. A file that starts with the gzip signature is unzipped first, up to Google’s 50 MB uncompressed limit, whatever its name or content type.

Following an index. If the file is a sitemap index, we fetch its first four child sitemaps, in any of the same formats, and pool their URLs. We follow one level only, which matches Google’s rule that indexes don’t nest. In a feed, an item’s <link> counts as its URL and <pubDate> (RSS) or <updated> (Atom) as its date.

Checking hosts. Every listed URL should be on your site’s host. A URL on another domain entirely is medium. A URL that differs only by www is low, since a redirect usually catches it, but it is still a URL Google has to follow to reach the real one.

Sampling the URLs. We take up to 20 URLs spread evenly across the list, not the first 20. On a 155-URL sitemap, that is every seventh entry. Each sampled URL is fetched once, following redirects, and the same fetch feeds our noindex checker and canonical checker.

Grading. The table below lists every condition I7 reports.

Thresholds and severities

Condition Threshold Severity
No sitemap found No candidate answered with a sitemap medium
A candidate answered, but isn’t a sitemap A 200 that is none of XML, RSS, Atom or a plain list of URLs medium
Sitemap lists no URLs 0 entries medium
URLs on another domain 1 or more medium
URLs on the www or non-www twin of your host 1 or more low
Listed URLs answer with an error 1 or more sampled URLs answer 4xx, 5xx or nothing medium
Listed URLs redirect 1 or more sampled URLs redirect low
Listed URLs carry noindex 1 or more sampled URLs, by meta tag or X-Robots-Tag medium
One lastmod on every URL 10 or more URLs carry a lastmod, and all share one calendar date low
Home page links missing from the sitemap Sitemap under 2,000 URLs, home links to 5 or more internal pages, and more than half aren’t listed low

The check takes the worst severity it found. The evidence starts with a summary line: the sitemap URL, whether it is an index and of how many sitemaps, the URL count, and whether robots.txt declares it.

A few details on the edges. The lastmod test compares dates, not times, so 2026-12-02T04:00:00Z and 2026-12-02T09:30:00Z count as the same date. It needs at least ten dated URLs, so a five-page site that launched in one day doesn’t get flagged. The home page link test skips files such as PDFs and images and ignores the home page itself.

What I7 can’t read

  • A text file with anything but URLs. We read a text sitemap only when every non-blank line is an absolute http or https URL, which is what Google’s format allows. A comment, a relative path or a stray word makes the whole file read as “not a sitemap”.
  • More than four child sitemaps. On a large index we read the first four. The URL count in the evidence covers those four, not the whole index.
  • Every URL. We load at most 20. An error rate of 1 in 500 can sit entirely outside the sample.
  • Size limits. We don’t flag a sitemap for passing 50,000 URLs or 50 MB. Our fetch stops reading at 3 MB, which is far below the limit, so a very large file can come back partial or fail to parse. For a gzipped file the 3 MB applies to the compressed download.
  • Extensions. Image, video, news and hreflang entries are ignored. We read <loc> and <lastmod>.
  • What Google did with it. Search Console’s Sitemaps report shows when Google last read your sitemap and how many URLs it discovered. Nothing outside your account can see that.

Worked examples

We served each sitemap below from a test site with a home page and twelve blog posts, ran I7, and copied the output. The host is example.com.

No sitemap

No Sitemap: line in robots.txt and nothing at the usual paths:

I7 fail [medium]: No sitemap found in robots.txt or at the usual paths.
   · https://example.com/sitemap.xml: 404
   · https://example.com/sitemap_index.xml: 404
   · https://example.com/sitemap-index.xml: 404

A single-page app answers /sitemap.xml with its HTML

I7 fail [medium]: A sitemap URL answers, but it isn't a sitemap Google can read (XML, RSS, Atom or a plain list of URLs).
   · https://example.com/sitemap.xml: 200 (not a sitemap)
   · https://example.com/sitemap_index.xml: 404
   · https://example.com/sitemap-index.xml: 404

The app’s catch-all route serves index.html for any path, so the sitemap URL returns a 200 web page. A crawler gets HTML where it expected a list of URLs, and finds nothing to crawl.

A text sitemap and a gzipped one

Both pass. A robots.txt line Sitemap: https://example.com/sitemap.txt pointing at six absolute URLs, one per line, gave:

I7 pass: Sitemap is valid and its sampled URLs are live and indexable. https://example.com/sitemap.txt: 6 URLs, declared in robots.txt.

The same six URLs as XML, gzipped and served as sitemap.xml.gz with an application/gzip content type, gave the same result for https://example.com/sitemap.xml.gz.

One build date on every URL

Thirteen URLs, all with <lastmod>2026-12-02T04:00:00Z</lastmod>:

I7 fail [low]: The sitemap has problems.
   · https://example.com/sitemap.xml: 13 URLs, declared in robots.txt
   · All 13 URLs carry the same lastmod (2026-12-02), so Google learns to ignore it

Five problems at once

A sitemap that listed a www URL, a deleted page, a page that had moved, and a draft with noindex, all sharing one date:

I7 fail [medium]: The sitemap has problems.
   · https://example.com/sitemap.xml: 13 URLs, declared in robots.txt
   · 1 URL on another host than the site's (www.example.com vs example.com)
   · 2 listed URLs answer with errors, e.g. 404 /about/
   · 1 listed URL redirects, e.g. /moved/ → https://example.com/new/
   · 1 listed URL carries noindex, e.g. /draft/
   · All 13 URLs carry the same lastmod (2026-11-20), so Google learns to ignore it

Each line is a separate fix. Together they show a sitemap written once by hand and never updated as the site changed.

What we saw on five sites we run

We ran I7 on five sites we run on December 2, 2026. Four passed. One got a low finding we hadn’t noticed.

Site Sitemap URLs Declared in robots.txt Result
An AI story generator single sitemap.xml 121 yes pass
An image vectorizer index of 1 sitemap 19 yes pass
A market alert site single sitemap.xml 123 yes pass
A laser-cut-file shop index of 1 sitemap 7 yes pass
An educational toy review site index of 1 sitemap 155 yes low: one lastmod on every URL

The toy review site’s evidence, with the host replaced:

I7 fail [low]: The sitemap has problems.
   · https://example.com/sitemap-index.xml (index of 1 sitemap): 155 URLs, declared in robots.txt
   · All 155 URLs carry the same lastmod (2026-12-02), so Google learns to ignore it

The date is the day of the scan. The site’s sitemap plugin is configured with lastmod: new Date(), so every build stamps the build time on all 155 URLs, and the site had been rebuilt that morning. The same config writes changefreq: weekly and priority: 0.7 on every URL, which Google ignores anyway. Most of the 155 pages are product reviews that change far less often than the site deploys. So each build tells Google that every page changed that day. That is the pattern Google’s guidance warns about, on a site we built ourselves, and it only showed up because the check reads for it.

The fix is in the generator. Each URL’s lastmod should come from the date its content last changed: a frontmatter field, the file’s last commit date, or the newest date among the things the page renders. If no honest date exists for a page, leaving lastmod out is better than writing today.

The other four sitemaps are worth a note too. Three of them are tiny, 7 to 123 URLs, well under the size where Google says a sitemap is optional. They still carry their weight on young sites with few outside links, because they hand Google every page on day one.

Building a sitemap that passes

Most sitemap findings come from generators that list routes instead of indexable pages. Generate it from the same data that renders your pages, and filter on the way out.

List a URL if Leave it out if
It answers 200 It redirects, 404s or errors
It is the canonical URL, on your production host It is a duplicate, a parameter variant or a www twin
It allows indexing It carries noindex, or robots.txt blocks it
You want it in search results It is a login, cart, thank-you or internal search page

Then for each listed URL:

  • Write the full URL with the scheme and host, exactly as the page’s canonical tag writes it.
  • Set lastmod to the date the content last changed in a way a reader would notice. Leave it out if you don’t know.
  • Skip priority and changefreq.
  • Escape & as &amp; in any URL with a query string.

And for the file:

  • Serve it at the site root, as application/xml or text/xml, with a 200.
  • Declare it in robots.txt with a Sitemap: line, after the last group.
  • Submit it once in Search Console and look at the Sitemaps report after a few days.
  • Split it at 50,000 URLs, and use one index for the parts.

Fixing an I7 finding

Finding Fix
No sitemap found Generate one, publish it at /sitemap.xml, and add a Sitemap: line to robots.txt
Not a sitemap Google can read Make the route serve the sitemap file, not your app shell. For a text sitemap, keep one absolute URL per line and nothing else
URLs on another host Rebuild the sitemap with your production origin. Check for a hard-coded staging domain
URLs on the www twin Use the host your site redirects to
Listed URLs answer errors Remove deleted pages, or restore them
Listed URLs redirect List the final URL instead
Listed URLs carry noindex Drop them from the sitemap, or remove the noindex if you want them indexed
One lastmod everywhere Set each lastmod from the page’s real change date, or omit it
Home links missing Add the pages you link to, if you want them indexed

After a fix, run the check again here. Then resubmit the sitemap in Search Console if the URL changed. If only the contents changed, Google picks them up on its next read.

How sitemaps relate to canonicals and indexing

A sitemap is a canonical hint as well as a discovery list. Google’s canonical guide calls sitemap inclusion “A weak signal that helps the URLs that are included in a sitemap become canonical.” That is why a sitemap URL that redirects, or that a canonical tag points away from, works against you. It nominates a URL your own pages say not to index.

The overview page adds the other half: leaving a URL out of the sitemap doesn’t keep it out of Google if Google finds it through links. To keep a page out, use noindex. Our canonical checker and noindex checker read the same sampled pages as I7 and catch the page-side half of each conflict.

The sitemap is one of the four things that most often explain a site missing from Google, with robots.txt, noindex and canonicals. If your site isn’t in Google at all, start with why your website isn’t showing on Google, then run the full scan. The index checker shows how many pages Google returns for your domain. All 45 checks are listed with what each can and can’t see.

A clean sitemap check means the file is easy for Google to use. It doesn’t mean Google will index every URL in it, and it can’t show a manual action or an algorithmic demotion.

Questions

How many URLs can one sitemap hold?

Up to 50,000 URLs or 50 MB uncompressed, whichever comes first. Past that, split it into several sitemaps and list them in a sitemap index file, which can hold up to 50,000 sitemap entries. Google does not support an index that lists other index files.

Does Google use lastmod, priority and changefreq?

Google ignores priority and changefreq. It uses lastmod when the dates are consistently and verifiably accurate, for example when they match real changes to the page. A sitemap that stamps the same date on every URL at each build gives Google no reason to trust the field.

Where should my sitemap be, and how does Google find it?

Put it at the root of your site, for example /sitemap.xml, and add a Sitemap line with its full URL to robots.txt. Then submit it once in Search Console. Our checker looks in robots.txt first, then at /sitemap.xml, /sitemap_index.xml and /sitemap-index.xml.

Should my sitemap include redirected or noindexed pages?

No. List only the final, canonical URL of each page you want in Google, answering 200 with no noindex. A redirect, a 404 or a noindexed URL in the sitemap sends Google a hint that contradicts the page itself. Our check flags each of those.

Does a small site need a sitemap?

Google says a site of about 500 pages or fewer that links all its pages well might not need one. It still helps a new site with few outside links get found faster, and it costs nothing to generate. A sitemap never guarantees that Google crawls or indexes every URL.

Updated 2026-12-02. Checks on this page: I7. All 45 checks are on the checks page.