← Free tools

XML Sitemap Checker

The XML Sitemap Checker finds your sitemap by reading robots.txt and trying the usual locations, then reports what it holds. You see the number of URLs, whether it is a single sitemap or an index, and how many entries carry a lastmod date. It flags URLs on another host, plain http URLs, duplicates and sitemaps over 50,000 URLs.

Updated

Free, no account needed.

How to read the result

The checker looks for a Sitemap line in your robots.txt, then tries /sitemap.xml and /sitemap_index.xml. Once it finds a sitemap it lists the first 15 URLs and runs 12 checks. It also tests up to 25 of the listed URLs, compares the file with the pages your homepage links to, and lets you download every URL it read as a CSV.

If the file is a sitemap index, it reads the first 3 child sitemaps to sample the set.

What the checks mean

Each check is a pass, a warning or a fail.

A single sitemap file can hold up to 50,000 URLs and 50 MB uncompressed. Bigger sites split their URLs across several files and list them in a sitemap index.

CheckWhat it flags
Sitemap foundNo sitemap at any location it tried
Declared in robots.txtNo Sitemap line in robots.txt (warning)
All URLs on this domainEntries that point to another host, which crawlers ignore
All URLs httpsEntries that use plain http
No duplicatesThe same URL listed more than once (warning)
lastmod dates presentNo lastmod values, so crawlers cannot tell what changed (warning)
lastmod dates are realOne date on every URL, or dates that match the time the file was built (warning)
Listed URLs don't redirectSampled entries that send the visitor to another address (warning)
Listed URLs loadSampled entries that return an error or no response
Listed URLs are indexableSampled entries set to noindex, in the page or the header (warning)
Pages linked from the homepage are listedInternal pages the homepage links to that the sitemap leaves out (warning)
Under 50,000 URLsMore URLs than a single sitemap file allows

lastmod dates that search engines trust

Each URL in a sitemap can have a lastmod date, the last time the page changed. Google and Bing only use it when it's accurate. If every URL has the same date, or the date changes on every deploy whether the page did or not, they learn to ignore it.

Set lastmod from the page's real content changes, like the date you last edited the copy. The checker warns when all the dates match, or when they all equal the time the sitemap was built.

Sitemaps, Bing and AI search

ChatGPT search partners with outside search providers, and OpenAI links Microsoft's privacy policy for those queries, so pages Bing hasn't indexed are less likely to show up there. A clean sitemap is one of the easiest ways to help Bing find your pages.

Submit your sitemap in Bing Webmaster Tools as well as Google Search Console, and use IndexNow to tell Bing when a page changes. The checker flags URLs that redirect, error or are set to noindex, since those waste crawls and make the whole file less trusted.

An XML sitemap example

<?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-10-28</lastmod>
  </url>
  <url>
    <loc>https://example.com/pricing</loc>
    <lastmod>2026-09-14</lastmod>
  </url>
</urlset>

Each URL goes in its own <url> block with a full <loc>. lastmod is optional. Search engines ignore changefreq and priority, so you can leave them out.

How to fix the common problems

Most sitemap problems come from a plugin or framework setting. Fix the setting, regenerate the file, and run the checker again. The robots.txt generator writes a robots.txt with a Sitemap line if yours is missing one.

  1. Add a Sitemap line with the full URL to your robots.txt.
  2. Remove entries for redirected, noindexed or deleted pages, and list the canonical URL for each page.
  3. Set your site's address to https so every entry uses it.
  4. Set lastmod from each page's real edit date, not the time the sitemap was built.
  5. List the final address of every page, and take out error pages and pages set to noindex.
  6. Link your important pages from the homepage, and add any the checker lists as missing to the sitemap.
  7. Turn on lastmod, and update it only when a page really changes.
  8. Split a very large sitemap into several files listed in a sitemap index.

Common questions

A small site with good internal links can be crawled without an XML sitemap. A sitemap helps crawlers find new pages faster, and it is worth having on any site that adds pages regularly.
The lastmod date in a sitemap tells crawlers when a page last changed. The checker warns when your entries have no lastmod dates.
For a sitemap index, the checker samples the first 3 child sitemaps to keep the check quick. The URL counts it shows cover that sample.

Related study: Which AI Crawlers Do the Sites ChatGPT and Google Cite Block?

Track your AI visibility every week

Peak Answer runs checks like these every week, then writes the content and gets the placements.

Start 7 day trial