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
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
| Item | Rule |
|---|---|
| URLs per file | 50,000 at most |
| File size | 50 MB uncompressed at most; gzip is allowed |
| URL format | Absolute, same protocol and host as the sitemap, entity-escaped (& becomes &) |
lastmod | W3C date, such as 2026-11-02 or 2026-11-02T09:30:00+00:00; used by Google when accurate |
priority, changefreq | Ignored 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.
Google could not download or read the file when it tried. Check that the URL you submitted returns 200 with XML (run it through this checker), that robots.txt does not block it, and that a firewall or bot protection does not reject crawlers. Newly submitted sitemaps can also show this status for a while before Google processes them.
50,000 URLs and 50 MB uncompressed per file. For a bigger site, split the URLs across several files and list them in a sitemap index, which can itself reference up to 50,000 sitemaps.
Google says it ignores both. The value it does use is lastmod, as long as the dates are consistently accurate. A lastmod that changes on every request, or a build date stamped on every URL, teaches Google to ignore it.
No. List only the final URL of each page you want indexed: 200 status, no redirect, no noindex, and the same URL as its canonical. The checker test-fetches a sample of listed URLs to catch redirects and errors.
Add it in the Sitemaps report in Search Console, and add a Sitemap: line with the full URL to robots.txt so Bing and other crawlers find it too. Google retired its sitemap ping endpoint in 2023, so pinging no longer works.
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.




