Skip to content

Indexing and technical SEO

How to create and submit a sitemap in Google Search Console

A sitemap is a hint that lists the URLs you want Google to know about. You build it, submit it in the Sitemaps report, and read the status Google reports back. It does not guarantee crawling or indexing.

✓ Checked against Google Search Console Help and Search Central · October 2026

A sitemap is a file that lists the URLs you want Google to know about. You build it, submit it in the Sitemaps report in Search Console, and read the status Google reports back. It is only a hint: listing a URL does not guarantee that it will be crawled or indexed. Google explains the procedure in Build and submit a sitemap and the report in the Sitemaps report help.

Do you need one?

Often not. Google says a site of about 500 pages or fewer, where every page can be reached through links from the homepage, probably does not need a sitemap. If you use a hosting platform such as Wix or Squarespace, it usually manages the sitemap for you.

Building the file

XML is the most flexible format, but RSS, Atom and plain text also work, and Google says it makes no difference to it. A text sitemap lists one URL per line and the file must end in .txt. Whatever the format, use fully qualified absolute URLs and UTF-8 encoding, and list only the canonical version of each page, the one you want to see in results.

A single file may hold up to 50,000 URLs and 50 MB uncompressed. Beyond that, split the list across several files and add a sitemap index. Put the sitemap at the root of the site: a sitemap placed in a folder covers only that folder and what is below it.

Submitting it and reading the status

Enter the sitemap’s address in the Sitemaps report. You can also submit it through the Search Console API or add the line Sitemap: https://example.com/sitemap.xml to robots.txt, but the report is the only place that tells you when Google read the file and what went wrong. Google tries to crawl a sitemap as soon as it is submitted and then rereads it at its own pace, independently of how it crawls the site.

The status has three values. Success means the file was fetched and read without errors. Has errors means it was read in part: the URLs that parsed cleanly are still queued. Couldn’t fetch means Google could not get the file at all. Open the sitemap’s details page and expand the error to see the reason. Google retries a failing sitemap for a few days and then stops, so fix the cause and submit it again.

When the numbers do not add up

If your sitemap is not listed, remember that the report shows only sitemaps submitted through it or the API, and only for the current property; check that you are not mixing http and https or www and non-www properties. If the discovered pages number is higher than the indexed one, that is normal: discovered pages are simply URLs parsed from the file, with no promise that they are crawled or indexed. Filter the Page indexing report by sitemap to see how many are actually indexed. And if you submit an address that redirects, Google uses it as it is and does not follow the redirect.

Tags Google ignores

Two optional tags are ignored altogether: priority and changefreq. The lastmod tag is used only when it is reliably accurate, meaning the date of a significant change to the page, so keep it honest or leave it out. Do not list non-canonical or duplicate URLs, and do not use relative ones: Google crawls exactly the URLs you list.

Submitting from SEOKit

The workspace has a Sitemaps report and a form that submits up to 100 sitemap addresses at once. Submitting needs Google’s broader write permission, which the workspace asks for the first time you submit; the details are in the documentation page on indexing and sitemaps. The Search Console report itself shows at most 1,000 submitted sitemaps.

Go further

Getting started: Add a site and verify ownership first. Indexing and technical SEO: What indexing statuses mean.

Official Google sources

  1. Search Console help: Sitemaps report ↗
  2. Search Central: build and submit a sitemap ↗
  3. Search Central: sitemaps overview ↗
SEOKIT · GROQ

SEOKit assistant

0 / 1000

Data at Groq