# Sitemap checker

> Validates a site's XML sitemaps and tests their pages for redirects, errors and noindex. Free, no signup. We look this up and don't keep it.

**Sitemap checker. Validate a sitemap and test its pages, no signup.** Use it at https://tools.joinvalley.co/sitemap-checker

## What are the rules for an XML sitemap? The protocol's, and where Google adds its own.

One sitemap file can list up to 50,000 URLs and be up to 50 MB uncompressed, UTF-8 encoded, with every URL fully qualified, entity-escaped and on the same host and protocol as the sitemap. Google uses lastmod only when it's consistently accurate, and ignores priority and changefreq.

| Rule | sitemaps.org protocol | Google |
| --- | --- | --- |
| URLs per file | 50,000 at most | 50,000 at most |
| File size | 50 MB uncompressed; gzip allowed | 50 MB uncompressed |
| Encoding | UTF-8, every value entity-escaped (& as &amp;) | UTF-8 |
| Each URL | Begins with the protocol, under 2,048 characters | Fully qualified and absolute |
| Host | Same protocol and host as the sitemap, unless that host's robots.txt points to it | Same site, or sites you've verified |
| Folder | At or below the sitemap's own folder | Child sitemaps at or below the index's folder |
| lastmod | W3C Datetime; the date the page last changed | Used if consistently and verifiably accurate |
| priority, changefreq | Optional | Ignored |
| Sitemap index | Up to 50,000 sitemaps, 50 MB | Up to 50,000 loc tags; 500 index files per site in Search Console |

Sources: [sitemaps.org: Sitemaps XML format (the protocol)](https://www.sitemaps.org/protocol.html) (read 2026-11-13), [Google Search Central: Build and submit a sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap) (read 2026-11-13), [Google Search Central: Manage your sitemaps with a sitemap index file](https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps) (read 2026-11-13)

## How it works

Type a site or a sitemap address. For a site, our server reads its robots.txt for Sitemap lines, and tries /sitemap.xml if there are none; a sitemap index brings its first two child sitemaps. It reads up to five files, 10 MB each, unzipping gzipped ones. We don't keep the address or anything we fetched.

Your browser then checks every entry against the protocol: the 50,000-URL and 50 MB limits, the namespace, missing or relative locs, unescaped ampersands, other hosts, schemes and folders, duplicates, and lastmod dates that are malformed, in the future or all the same.

It then sends 20 listed URLs back to our server, the first ten and ten spread through the rest, which tests each against the site's robots.txt as Googlebot and requests it once: a redirect, an error or a noindex tag is flagged. Only a sample: a site with thousands of URLs needs a crawler for the rest.

## A sitemap search engines can trust. List the right URLs, and date them honestly.

A sitemap is a list of the pages you want found. Here's what the protocol and the search engines ask of it.

### List only the URLs you want found

Google asks for the URLs you want to see in its results, and where several URLs lead to the same content, the one you prefer. So a sitemap shouldn't list redirects, error pages, noindex pages or pages robots.txt blocks: each one sends a crawler somewhere it can't use.

Sources: [Google Search Central: Build and submit a sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap) (read 2026-11-13)

### lastmod is the tag that counts

The protocol says lastmod is the date the page last changed, not when the sitemap was generated. Google uses it if it's consistently and verifiably accurate, and Bing calls it a key signal for what to recrawl. Both say they ignore priority and changefreq.

Sources: [sitemaps.org: Sitemaps XML format (the protocol)](https://www.sitemaps.org/protocol.html) (read 2026-11-13), [Google Search Central: Build and submit a sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap) (read 2026-11-13), [Bing Webmaster Blog: Keeping content discoverable with sitemaps in AI-powered search](https://blogs.bing.com/webmaster/2025/7/Keeping-Content-Discoverable-with-Sitemaps-in-AI-Powered-Search/) (read 2026-11-13)

### Limits, and when to split

A sitemap can list 50,000 URLs and be 50 MB uncompressed. Past that, split it and list the parts in a sitemap index, which takes up to 50,000 sitemaps. Google says the sitemaps an index lists must be in the same folder as the index or below it.

Sources: [sitemaps.org: Sitemaps XML format (the protocol)](https://www.sitemaps.org/protocol.html) (read 2026-11-13), [Google Search Central: Manage your sitemaps with a sitemap index file](https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps) (read 2026-11-13)

### Tell crawlers where it is

Add a Sitemap line to robots.txt with the sitemap's full URL. Google says it isn't tied to any user agent, doesn't have to be on the same host as robots.txt, and that there's no limit to how many you list.

Getting pages found is half of it. The other half is reaching the people who read them. [Valley](https://www.joinvalley.co/?utm_source=tools_suite)

Sources: [Google Search Central: How Google interprets the robots.txt specification](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec) (read 2026-11-13), [Google Search Central: Build and submit a sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap) (read 2026-11-13)

## Sources

- [sitemaps.org: Sitemaps XML format (the protocol)](https://www.sitemaps.org/protocol.html) (read 2026-11-13)
- [Google Search Central: Build and submit a sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap) (read 2026-11-13)
- [Google Search Central: Manage your sitemaps with a sitemap index file](https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps) (read 2026-11-13)
- [Google Search Central: How Google interprets the robots.txt specification](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec) (read 2026-11-13)
- [Bing Webmaster Blog: Keeping content discoverable with sitemaps in AI-powered search](https://blogs.bing.com/webmaster/2025/7/Keeping-Content-Discoverable-with-Sitemaps-in-AI-Powered-Search/) (read 2026-11-13)

## Questions people ask

### How do I check my sitemap?

Type your site here. You'll see whether each sitemap follows the protocol, and how a sample of its pages answer.

### What is the maximum size of a sitemap?

50,000 URLs and 50 MB uncompressed per file. Larger sites split into several sitemaps listed in a sitemap index.

### Does Google use priority and changefreq?

No. Google says it ignores both, and Bing says the same.

### Does lastmod matter?

Yes, if it's accurate. Google uses lastmod when it's consistently and verifiably accurate; Bing calls it a key signal for recrawling.

### Should a sitemap include redirects or noindex pages?

No. Google asks for the URLs you want in its results, so list each page's final, indexable URL.

### How do I find a website's sitemap?

Look for Sitemap lines in its robots.txt, then try /sitemap.xml. This checker does both.

### Can a sitemap list URLs from another domain?

Only if the other site's robots.txt points to the sitemap, under the protocol; Google also allows it for sites you've verified.

### Is this sitemap checker free?

Yes. It's free and needs no signup. We fetch the sitemap you ask for and don't keep it.

## Related tools

- [Robots.txt checker and generator](https://tools.joinvalley.co/robots-txt-checker): Tests any URL against any crawler's robots.txt rules, or builds a new file.
- [AI crawler checker](https://tools.joinvalley.co/ai-crawler-checker): Shows which AI crawlers, GPTBot, ClaudeBot and others, can read a page, and why not.
- [Redirect checker](https://tools.joinvalley.co/redirect-checker): Follows a link hop by hop: every status code, and where UTM tags get dropped.
- [Link preview checker](https://tools.joinvalley.co/link-preview-checker): Shows how a link previews on LinkedIn, X and Slack, and checks its Open Graph tags.
- [LinkedIn engagement rate calculator](https://tools.joinvalley.co/linkedin-engagement-rate-calculator): Works out a LinkedIn post's engagement rate from its impressions, reactions and comments.

## Next step

Want replies, not just clean copy? Valley finds buyers showing real buying signals and messages them across email and LinkedIn. [Valley](https://www.joinvalley.co/?utm_source=tools_suite)

Shelf: [09 Inbound, content and search](https://tools.joinvalley.co/inbound-and-content)

---

Tools by Valley, made by [Valley](https://www.joinvalley.co/?utm_source=tools_suite). HTML version: https://tools.joinvalley.co/sitemap-checker
