Opens in a new tab

Local SEO

XML sitemap: what it is and how to submit it to Google

What an XML sitemap does, the tags Google reads and ignores, its limits, how to submit it in seven steps and what ours shows.

CheckedNovember 2, 2026
Reading time
Listen to this guide
0:00 /5:31

Short answer: An XML sitemap is a file that lists the pages and files of your site you think are important, with details such as when each page last changed. Google reads it to crawl your site more efficiently. It doesn’t guarantee that every URL in it gets crawled or indexed.

The tags in a sitemap

Tag What it holds What Google does with it
loc The full address of the page; required Tries to crawl the URL exactly as listed
lastmod When the page last changed in a significant way Uses it if it is consistently and verifiably accurate
changefreq How often the page is likely to change Ignores it
priority How important the page is compared with your other pages Ignores it

A basic sitemap is a list of url entries, each with its loc and, if you want, a lastmod date. Google says the order of the URLs doesn’t matter.

From Google Search Central, “Build and submit a sitemap”, and the sitemaps.org protocol, read November 2, 2026.

Do you need a sitemap?

If your pages are linked well, Google can usually find most of them without one. Google says a sitemap helps most on a large site, a new site with few links from other sites, or a site with a lot of video, images or news.

A site with about 500 pages or fewer, all reachable from the home page, might not need one.

The limits and rules

One sitemap can hold up to 50,000 URLs or 50MB uncompressed. A bigger site splits its list into several sitemaps and can list them all in one sitemap index, which you can submit as a single file.

The file must be UTF-8. Every address must be complete, such as https://www.example.com/mypage.html, not /mypage.html. List the canonical URL of each page, the one you want in Google’s results, instead of every address that leads to the same content.

How Google finds your sitemap

You can submit it in the Sitemaps report of Search Console, which shows when Googlebot last read it and any errors. You can also add a Sitemap line to your robots.txt file, and Google finds it the next time it reads that file.

The report gives each sitemap a status: Success, Has errors or Couldn’t fetch. Google calls a submitted sitemap a hint, so it may still not download it or use it to crawl.

From Search Console Help, “Manage your sitemaps using the Sitemaps report”.

How to create and submit your sitemap

  1. Check whether your site already publishes a sitemap, as WordPress, Wix and Blogger usually do.
  2. Open it in a browser and confirm it lists the pages you want on Google, with full addresses.
  3. Leave out duplicates: list one canonical URL for each page.
  4. Split it if it passes 50,000 URLs or 50MB, and list the parts in a sitemap index.
  5. Add a Sitemap line with its full address to your robots.txt file.
  6. In Search Console, paste its address into Add a new sitemap in the Sitemaps report and click Submit.
  7. Check that the status says Success, and open the row to read the errors if it doesn’t.

Our guide to getting your website on Google shows how to add your site to Search Console first.

What our own sitemap shows

Our sitemap index lists two sitemaps: one with 218 page addresses and 14 images, and one with 32 blog posts. Our robots.txt file points to the index.

The date of the page sitemap changed at 10:48 PM on November 2, the minute we published a new guide. Search Console last read our index at 10:29 PM that night, with 0 errors and 0 warnings.

Before you submit your sitemap

  • Every address is complete, with https:// and your domain.
  • Only pages you want on Google are listed.
  • No sitemap passes 50,000 URLs or 50MB.
  • The file is UTF-8.
  • Your robots.txt file points to it.
  • The Sitemaps report shows Success.

RememberA sitemap helps Google discover your pages, but by itself it doesn’t get them indexed. Keep it to canonical, complete addresses, point robots.txt to it and check its status in Search Console.

If you want us to check how Google finds and reads your site, see our technical SEO service.

Quick answers about XML sitemaps

Does a sitemap get my pages indexed?

Not by itself. Google says a sitemap helps search engines discover the URLs on your site, but it doesn’t guarantee that every item in it gets crawled and indexed. Submitting one is a hint, not a request Google must follow.

Does a small website need a sitemap?

Maybe not. Google says you might not need one if your site has about 500 pages or fewer and links from the home page reach every important page. It adds that in most cases a site benefits from having one.

Does Google use priority and changefreq?

No. Google ignores the priority and changefreq values. It uses lastmod only when the date is consistently and verifiably accurate, for example when it matches the last real change to the page.

Can I list my sitemap in robots.txt instead?

Yes. Add a Sitemap line with its full address anywhere in robots.txt, and Google finds it the next time it reads that file. There is no limit to how many Sitemap lines you include.

Why isn’t my sitemap in the Sitemaps report?

The report shows only sitemaps submitted through it or through the Search Console API. A sitemap Google found through robots.txt doesn’t appear there, but you can still submit it in the report.

Sources

Read on November 2, 2026. Google Search Central: Learn about sitemaps and Build and submit a sitemap. Search Console Help: Manage your sitemaps using the Sitemaps report. Sitemaps.org: Sitemaps XML format. Our own case: our sitemap index and Search Console, on November 2, 2026.

Pedro Galindez

Pedro Galindez

Founder of Feedback Studios, a bilingual growth studio in Miami.

Listen0:00 /5:31

More guides

Checked November 3, 2026

SSL certificate and HTTPS: what they are and why your site needs them

What HTTPS and an SSL certificate do, HTTP vs HTTPS, what a certificate covers, seven steps to move your site and what ours shows.

Checked November 3, 2026

Canonical tag: what it is and how Google picks the main URL

What a canonical URL is, the ways to tell Google yours, why duplicates happen, the mistakes to avoid, seven steps and what our pages declare.

Checked November 3, 2026

301 redirect: what it is and when to use one

What a 301 redirect tells Google, permanent and temporary redirects, when to use each, how to set one up, seven steps and what ours do.

Checked November 3, 2026

Click-through rate (CTR): what it is and how to raise yours

What click-through rate measures in Google Ads and Search Console, how to calculate it, what a good CTR is, seven steps and our own numbers.

Checked November 2, 2026

UTM parameters: what they are and how to build a tracking link

What UTM parameters record, a full example, the naming rules Google suggests, seven steps to build a tracking link and what our site keeps.

Checked November 2, 2026

Facebook ad targeting: custom, lookalike and Advantage+ audiences

How Facebook ad targeting works: custom, lookalike and Advantage+ audiences, seven steps to set them up and who our own pixel can see.

Next step

Rather talk it through?

In a 20-minute call we look at your business and tell you what we would do first.