Our guide on whether you need a sitemap covers the decision. This guide covers how to build one, following Google’s page on building and submitting a sitemap.
Quick facts
- Formats: XML, RSS/mRSS/Atom 1.0 and plain text; Google has no preference
- Limits: 50 MB uncompressed or 50,000 URLs per sitemap; use a sitemap index for more
- Encoding: UTF-8
- Submit: Search Console Sitemaps report, the API or a `Sitemap:` line in robots.txt
- Hint only: submitting a sitemap does not guarantee Google will use it
- Last checked: 18 November 2026 against Google Search Central (page updated 8 July 2026)
Three formats
- XML: the most versatile. It can carry extra data for images, video, news and localized versions, but is harder to maintain on large or fast-changing sites.
- RSS, mRSS and Atom 1.0: usually generated by a CMS, but they only cover recent URLs.
- Text: one URL per line in a `.txt` file, web pages only and nothing else.
Limits and location
Each sitemap can hold 50 MB uncompressed or 50,000 URLs. Larger sites split their sitemaps and use a sitemap index file. The file must be UTF-8. Unless you submit it through Search Console, it covers only URLs in its own directory and below, so Google recommends the site root.
Best practices
- Use fully qualified, absolute URLs
- List the canonical URLs you want shown in results; see consolidating duplicate URLs
- For mobile and desktop versions, list only one unless you annotate both
- Google ignores `<priority>` and `<changefreq>`, and uses `<lastmod>` only when it is consistently accurate
How to submit
1. In the Search Console Sitemaps report, which also shows errors
2. With the Search Console API
3. With a `Sitemap:` line in robots.txt; see how to create a robots.txt file
What we checked
Source: Google Search Central, Build and submit a sitemap, read on 18 November 2026 (page shows last updated 8 July 2026). Every limit and rule above matches that page.
| Claim | Source says | Type |
|---|---|---|
| Formats: XML, RSS/mRSS/Atom 1.0, text; no preference | Stated on the page | Fact (Google) |
| 50 MB uncompressed or 50,000 URLs per sitemap | Stated for all formats | Fact (Google) |
| UTF-8 encoding; site root recommended | Stated on the page | Fact (Google) |
| priority and changefreq ignored; lastmod used only if consistently accurate | Stated on the page | Fact (Google) |
| Submission is a hint, not a guarantee | Stated on the page | Fact (Google) |
Our own check, 18 November 2026: we fetched the sitemap files of our three sites. Extreme SEO Tips: index with 3 child sitemaps (42 post URLs, 5 page URLs, 6 category URLs), every URL with a lastmod, robots.txt has one Sitemap line. Startup India Today: index with 4 child sitemaps (43 post URLs), every file under 15 KB, robots.txt has one Sitemap line. Car Running Cost Calculator: index with 3 child sitemaps (40 post URLs), plus a separate hand-made /sitemap.xml listing only 3 URLs with priority and changefreq tags; robots.txt lists both. All files are far below the 50 MB and 50,000 URL limits.
Limits of this check: it counts URLs in the files and does not show whether Google has read or indexed them; that needs Search Console, which we did not use here. Not checked: the sitemap index page, sitemap extensions pages, WebSub and cross-submission details.
Frequently asked questions
Does Google prefer XML?
No. Google has no preference among the three formats.
Do priority and changefreq help?
Google ignores both.
Will submitting guarantee indexing?
No. A sitemap is a hint, and Google may not download or use it.
Written by Bala A. Last checked 18 November 2026. Spotted an error? Contact us at https://extremeseotips.com/contact/ and we will check it and correct the post.



