# What is a sitemap?

> A sitemap is a file that lists a site's URLs with details such as when each page last changed, so that search engines can crawl the site more efficiently.

Canonical: https://promptlyfound.com/glossary/sitemap
Updated: 2026-12-01

## Short answer

A sitemap is **a file that lists the pages and other files on a site, with details such as when each page last changed**. Search engines read it to find URLs and to crawl the site more efficiently. It does not guarantee crawling or indexing. Bing says the lastmod date in a sitemap helps it decide which URLs to recrawl for search results and AI answers.

## Key findings

- One sitemap file can list up to 50,000 URLs and must be no larger than 50MB uncompressed. A sitemap index file can list up to 50,000 sitemaps. [1]
- Google says a sitemap helps search engines discover URLs, but does not guarantee that every item in it will be crawled and indexed. [2]
- Bing ignores the changefreq and priority tags. It uses lastmod to prioritize URLs for recrawling and reads a submitted sitemap typically at least once per day. [3]
- Common Crawl says CCBot supports the Sitemap protocol and uses any sitemap announced in robots.txt. [4]

A sitemap tells crawlers which URLs a site has and when each one changed. Search engines and training crawlers such as CCBot read it, and Bing uses its dates to decide what to recrawl for AI answers.

## What does a sitemap contain?

A sitemap is usually an XML file that follows the protocol published at [sitemaps.org](https://www.sitemaps.org/protocol.html). Each URL sits in a `<url>` entry with a required `<loc>` tag. The optional tags are `<lastmod>` for the date the page last changed, `<changefreq>` and `<priority>`. The file must be UTF-8 encoded.[1]

```xml
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.example.com/pricing</loc>
    <lastmod>2026-11-28</lastmod>
  </url>
</urlset>
```

Each file can hold up to 50,000 URLs and 50MB uncompressed. A larger site splits its URLs across several files and lists them in a sitemap index file. A site can announce its sitemap in robots.txt with a line such as `Sitemap: https://www.example.com/sitemap.xml`. The protocol also accepts RSS feeds and plain text files with one URL per line.[1]

## Does every site need a sitemap?

Google says many small, well-linked sites do not need one. [Google's sitemap overview](https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview) defines a small site as about 500 pages or fewer. It says a sitemap helps large sites, new sites with few external links, and sites with a lot of video, image or news content.[2]

A sitemap is a list of suggestions. Google says it does not guarantee that every listed URL will be crawled and indexed. Leaving a URL out does not stop Google from crawling it if links point to it.[2]

## How do sitemaps affect AI search?

Sitemaps feed the crawlers behind both search indexes and AI datasets. In [a July 2025 post on sitemaps in AI powered search](https://blogs.bing.com/webmaster/July-2025/Keeping-Content-Discoverable-with-Sitemaps-in-AI-Powered-Search), Bing says the lastmod field helps it prioritize URLs for recrawling, or skip them when the content has not changed. It says freshness signals affect how fast updates reach its search results and AI generated answers. Bing ignores changefreq and priority. It asks sites to change lastmod only when the content of the page changed.[3]

Bing also recommends a complete sitemap together with IndexNow, which notifies search engines when single URLs change.[3] Training crawlers read sitemaps too. [Common Crawl's FAQ](https://commoncrawl.org/faq) says CCBot supports the Sitemap protocol and uses any sitemap announced in robots.txt.[4]

[How Google crawls and indexes pages](https://promptlyfound.com/crawlers/how-google-crawls-and-indexes) covers how Googlebot finds URLs. The [sitemap checker](https://promptlyfound.com/tools/sitemap-checker) tests a site's sitemaps against the sitemaps.org limits and checks their lastmod dates.

## Sources

1. Sitemaps XML format. sitemaps.org. https://www.sitemaps.org/protocol.html
2. Learn about sitemaps. Google Search Central, 2026-11-27. https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview
3. Keeping Content Discoverable with Sitemaps in AI Powered Search. Bing Webmaster Blog, 2025-07-31. https://blogs.bing.com/webmaster/July-2025/Keeping-Content-Discoverable-with-Sitemaps-in-AI-Powered-Search
4. Frequently Asked Questions. Common Crawl. https://commoncrawl.org/faq

---

This is a plain-text copy of https://promptlyfound.com/glossary/sitemap from Promptly Found. The web page is the canonical version and includes the charts.
