PageRipple
Free tool · Indexing

XML sitemap checker: find and validate any sitemap

Enter a domain or a sitemap URL. We locate the sitemap through robots.txt or the usual paths, read it and its child sitemaps, count the URLs and lastmod dates, and request a sample of the listed pages to see if they still work.

  • Live check, no cache
  • No sign-up
  • Verdict plus the fix
XML Sitemap Checker
Try:

Enter a domain and we look in robots.txt first, then at /sitemap.xml and other common paths. Files are read up to 2 MB each.

What this tool checks

  • Sitemap discovery through robots.txt and common paths
  • urlset, sitemap index, gzip and plain-text sitemap support
  • URL count, lastmod coverage and W3C date format check
  • Other-host and duplicate URL detection
  • Status check on a sample of listed URLs

From a bare domain to a tested list of URLs

Discovery. If you enter a sitemap URL, that file is read directly. If you enter a domain, the checker reads the Sitemap: lines in its robots.txt, then falls back to /sitemap.xml, /sitemap_index.xml, /sitemap-index.xml and /wp-sitemap.xml. The result says where the file was found, and warns when robots.txt does not mention it.

Parsing. Both sitemap types are understood: a urlset, which lists pages, and a sitemap index, which lists other sitemaps. Gzipped files and plain-text sitemaps with one URL per line work too. For an index, up to eight child sitemaps are read, spread across the list, and their URLs are added up.

Validation. For every file read, the checker counts URLs, measures how many carry a <lastmod> date, flags dates that are not in W3C format, and finds URLs on a different host or listed twice.

Sample fetch. Ten URLs, picked evenly from the list, are requested without following redirects. Anything other than a 200 is shown with its status and redirect target.

Each file is read up to 2 MB. Larger files are cut there and the counts are marked as a minimum.

What each number and status tells you

URLs listed

The number of <loc> entries in the files that were read. For an index with more than eight children, the figure covers only the children read, and the label says how many of how many. Compare it with the number of pages you expect indexed; a sitemap with 40 URLs on a shop with 3,000 products means the generator skips most of the catalogue.

With lastmod

The share of URLs that carry a date. 90% or more passes. Lower coverage is a warning, since Google can only use dates that exist.

Sample status codes

  • 200: the entry is fine as far as status goes.
  • 301, 302, 307, 308: the sitemap lists an old address. The arrow shows where it redirects; put that URL in the sitemap instead.
  • 404 or 410: the page is gone. Remove the entry, or redirect the URL if the content moved.
  • 5xx or Error: the server failed or timed out after 10 seconds. Run the URL again; if it keeps failing, the page has an uptime problem worth more attention than the sitemap.

Ten URLs are a spot check. A clean sample suggests the generator works; it does not prove every entry is right. When the sample shows even one redirect, the same cause usually affects many more entries.

Sitemap limits and the values Google reads

ItemRule
URLs per file50,000 at most
File size50 MB uncompressed at most; gzip is allowed
URL formatAbsolute, same protocol and host as the sitemap, entity-escaped (& becomes &amp;)
lastmodW3C date, such as 2026-11-02 or 2026-11-02T09:30:00+00:00; used by Google when accurate
priority, changefreqIgnored by Google

A minimal valid file looks like this:

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

What the warnings point to

Sample URLs return 301 or 404

The sitemap is generated from an old list, or the site moved to https or a new URL structure and the generator was not updated. Regenerate it from the live pages, so every entry is the final URL. The HTTP status checker can test up to 20 entries at once.

The server returns an HTML page

A 200 response with HTML instead of XML usually means a CMS catch-all route served the home page or a "not found" template. Search Console counts it as an invalid sitemap. Check the generator is enabled and the path is right.

No lastmod, or the same date on every URL

Without dates, Google has no hint about which pages changed. A date that equals the build time on every URL is just as unhelpful. Set lastmod to the date the page's main content last changed.

URLs on another host

A sitemap on www.example.com listing example.com URLs is usually a leftover from a host change. Search engines skip entries outside the sitemap's own host unless you prove ownership of both.

Child sitemaps fail inside an index

Index files often keep pointing at sitemaps a plugin no longer generates. Remove dead entries from the index, or restore the files.

Pages in the sitemap that are noindex

The sample check only reads status codes. For any URL you suspect, run the noindex checker, and remove noindex pages from the sitemap.

Frequently asked questions

Something else? Ask us directly.

Look for a Sitemap: line in the site's robots.txt first. If there is none, try /sitemap.xml, /sitemap_index.xml and, on WordPress, /wp-sitemap.xml. Enter the domain in the checker above and it tries all of these for you.

Watch the pages your sitemap promises to Google.

Add your key URLs to PageRipple and get an alert when one of them starts failing, turns noindex or gets blocked by robots.txt.