Tools · Free

Sitemap checker

Enter your website or sitemap address. The checker finds your XML sitemap, checks it against Google's rules, and tests a sample of the URLs inside it for the problems Search Console reports: redirects, 404s, noindex tags and canonicals pointing elsewhere.

What a sitemap is for

A sitemap is a list of the pages you want Google to find and index. It doesn't make a page rank, and Google can find pages without one. Its job is to make sure nothing important gets missed, and to tell Google when a page has really changed.

That only works if the list is clean. A sitemap full of redirects, 404s and noindexed pages tells Google the file can't be trusted, and Search Console fills up with errors you then have to explain.

What the checker tests

The file. Whether the XML is valid, uses the right format, stays under 50,000 URLs, uses full URLs, and is listed in your robots.txt.

The URLs. Duplicates, mixed http and https, other domains, and lastmod dates that are in the future or all identical.

A sample of pages. Up to 20 URLs, fetched one by one, to see whether each returns 200, redirects, is marked noindex, or names a different page as its canonical. Those are the four things that turn up as "excluded" in Search Console.

Something I ran into

When I moved this site off WordPress, the old /sitemap.xml address showed an XML error in the browser. It wasn't a broken sitemap. It was a 404 page being served with an XML content type, because of a header rule I'd written too broadly. The fix was a redirect to the real sitemap index. This checker reports the status code and content type for exactly that reason: a sitemap that "looks broken" is often the wrong file.

Questions

How do I find my sitemap?

Look in your robots.txt for a Sitemap: line, or try /sitemap.xml and /sitemap_index.xml. WordPress makes one at /wp-sitemap.xml, and SEO plugins such as Yoast and Rank Math use /sitemap_index.xml. Search Console lists submitted sitemaps under Indexing, then Sitemaps.

How many URLs can one sitemap hold?

Up to 50,000 URLs or 50 MB uncompressed. Past that, split it into several files and list them in a sitemap index.

Does Google use priority and changefreq?

No. Google says it ignores both. It uses lastmod only when the dates are consistently accurate, so a sitemap that stamps every page with today's date teaches Google to ignore it.

Which pages should be in my sitemap?

Only pages you want in Google: the canonical version, returning 200, and not marked noindex. Redirects, 404s and duplicates waste crawling and make the sitemap less trustworthy.

Need a hand?

Sitemap problems usually point to bigger crawling issues. Finding and fixing those is part of my technical SEO work. Email me at nelson [@] nelsonisibor.com.