Skip to main content

CRAWLING, RENDERING & INDEXING

XML sitemap: what it means and how it works

A machine-readable list of the URLs you want search engines to discover.

  • Beginner level
  • 3 primary sources
  • Reviewed 29 October 2026
At a glanceSEO glossary
  • TopicCrawling, rendering & indexingAlso in Technical SEO
  • LevelBeginnerNo background needed
  • Also calledsitemap
  • Sources3 primary sourcesGoogle Search Central, sitemaps.org
  • Reviewed29 October 2026Re-checked every 12 months
On this page
  1. Quick definition
  2. Why it matters
  3. How it works
  4. How to check it
  5. Common mistakes
  6. Related concepts
  7. Check it on your site
  8. Keep learning
  9. Sources and review

Quick definition

An XML sitemap is a file that lists the URLs a site wants search engines to know about, optionally with the date each was last modified. It helps discovery, especially for new or poorly linked pages, but it does not guarantee crawling or indexing.

Why it matters

Links remain the main way crawlers find pages, but a sitemap is a direct list of what you consider canonical and current. For large catalogues, new sites with few backlinks and pages buried deep in pagination, it shortens the time to discovery. It is also a useful audit baseline: the URLs you say matter.

How it works

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.example.com/phones/redmi-note-14/</loc>
    <lastmod>2026-10-21</lastmod>
  </url>
</urlset>
  • One sitemap file holds up to 50,000 URLs and 50 MB uncompressed; larger sites use a sitemap index that lists several sitemaps.
  • Google uses lastmod when it is consistently accurate, and ignores priority and changefreq.
  • Submit sitemaps in Search Console and Bing Webmaster Tools, or reference them in robots.txt with a Sitemap: line.

How to check it

  1. Confirm every listed URL returns 200, is indexable and is its own canonical. Redirects, 404s and noindexed URLs in a sitemap send mixed signals.
  2. Check that lastmod changes only when the content changes, not on every page load.
  3. Compare sitemap URLs with the pages a crawl finds through links: pages only in the sitemap may be orphans.
  4. Read the Sitemaps report in Search Console for fetch errors and the number of discovered URLs.

Common mistakes and misconceptions

  • Myth Submitting a sitemap gets pages indexed.

    In fact A sitemap helps discovery. Indexing is still a separate decision.

  • Myth Priority and changefreq tell Google what to crawl first.

    In fact Google ignores both values.

Check it on your site

In the NdovuSEOLabs platform

Run the same checks on every page of your site, with your own data.

Keep learning

Sources and review

Written and maintained by Ndovu SEO Labs. First published 29 October 2026. Facts last checked against the sources above on 29 October 2026. How we write and review the glossary.