CreatechzAI Tools
Home › Websites, SEO and AdSense › XML sitemaps guide

XML sitemaps: what to include, what to skip and how to submit

A sitemap tells search engines which pages you want crawled. This guide gives Google's and the sitemaps.org protocol's exact limits and rules, what Google ignores, and a checklist, using our own build as the example. It belongs to websites, SEO and AdSense; for page speed signals see Core Web Vitals explained.

Quick answerA sitemap lists the pages you want crawled. A single file is limited to 50 MB uncompressed or 50,000 URLs (use a sitemap index beyond that). Google ignores priority and changefreq, uses lastmod only if it is reliably accurate, and treats submission as a hint.

By the Chelure Enterprises Editorial Team. Last reviewed . How we check our sources.

What a sitemap is, and whether you need one

Google describes a sitemap as a file that gives search engines information about your site's pages, videos and other files and how they relate, which they read to crawl more efficiently. It is likely useful if the site is large, is new with few external links, or has many video, image or news pages, and may be unnecessary for a well-linked site of about 500 pages or fewer. It does not guarantee crawling or indexing, and submitting one is merely a hint.

The rules

RuleDetailSource
FormatsXML (most versatile, with image, video, news and localized extensions); RSS 2.0 and Atom 1.0 (recent URLs only); plain text with one URL per line and a .txt extensionGoogle
Size50 MB uncompressed or 50,000 URLs per sitemap; a sitemap index can list up to 50,000 sitemaps and is also capped at 50 MBGoogle; sitemaps.org
EncodingUTF-8; entity-escape ampersand, single quote, double quote, greater-than and less-than in valuessitemaps.org
Required tagsurlset, url and loc; loc must begin with the protocol and be under 2,048 characterssitemaps.org
URLsFully qualified, absolute URLs; unless submitted in Search Console, a sitemap affects only descendants of its parent directory, so place it at the rootGoogle
priority and changefreqGoogle ignores bothGoogle
lastmodGoogle uses it only if consistently and verifiably accurate; reflect significant changes to content, structured data or linksGoogle

A minimal example

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://createchz.com/tokens/token-counter/</loc>
    <lastmod>2026-11-13</lastmod>
  </url>
</urlset>

How to submit

  1. Publish the sitemap at your site root.
  2. Add Sitemap: https://example.com/sitemap.xml to robots.txt; multiple lines are allowed.
  3. Submit it in Search Console's Sitemaps report, which shows when Googlebot read it and any errors, or through the Search Console API.

A checklist

Frequently asked questions

Do I need a sitemap?

Google says a sitemap is likely useful if your site is large, is new with few external links, or has many video, image or news pages, and may not be needed if the site has about 500 pages or fewer and is well linked internally. It does not guarantee that every item will be crawled and indexed.

How big can a sitemap be?

All formats limit a single sitemap to 50 MB uncompressed or 50,000 URLs. Larger sites split sitemaps and may use a sitemap index file, which can list up to 50,000 sitemaps.

Does Google use priority and changefreq?

No. Google says it ignores priority and changefreq values. It uses lastmod only if the value is consistently and verifiably accurate, and a changed copyright date is not a significant update.

How do I submit a sitemap?

Submit it in Search Console's Sitemaps report or through the Search Console API, add a Sitemap line to robots.txt, or for RSS and Atom feeds use WebSub. Google calls submitting a sitemap merely a hint.

What belongs in a sitemap?

Fully qualified absolute URLs of pages you want indexed. Leave out noindex pages and duplicates. A sitemap placed at the site root can cover the whole site.

Sources

Primary sources opened on November 13, 2026. Prices come from our verified price table (see the methodology).