
3 of the Sharpest Minds Weigh in on the State of Gen AI in 2026
Marketing Intelligence
Did you know that when you search Google, you’re not searching the ‘web’? Instead, you are searching Google’s index of the web.
Google crawls the web to add pages it discovers to its index, but here’s the thing: Google’s automated web bots don’t always find pages. This means, one of your first jobs as an SEO is to ensure the pages you want to show up in search results are in Google’s index.
One simple way to do this is by adding a sitemap to your site.
Doing this is the only practical way to make sure all your pages are submitted to Google – in fact, besides links, sitemaps are the second most effective way that search engines find and index pages.
In this post, we’ll cover what a sitemap is and how you can use it to ensure that your pages are indexed.
A sitemap is an XML file that provides lists of pages, videos, and other files on a website, and the relationships between them. It acts as a roadmap for search engines, helping them crawl and index a website more efficiently. They are especially useful for larger websites with frequently updated content.
An XML sitemap is a machine-readable file that makes it easy for bots to crawl and index your content. They consist of a list of all of the URLs on your site and include additional metadata that informs search engines:
HTML sitemaps provide users with a hierarchical list of links to all of a site’s pages in one place.
Although HTML sitemaps were once a popular way for users to navigate a site, in 2022, John Mueller said that HTML sitemaps should never be needed.
Here is the exact quote:
‘HTML sitemaps should never be needed. Sites should always have a clear navigational structure. If you feel the need for an HTML sitemap, spend the time improving your site’s architecture instead.’
According to John, from an SEO standpoint, if you have a large website, your HTML sitemap will not aid indexing. Instead, you should use XML sitemaps and robust internal linking. Furthermore, if users frequently rely on your HTML sitemap for navigation, it suggests the site’s navigation system is inadequate and requires improvement.
But HTML sitemaps are not obsolete. According to the Web Accessibility Initiative, despite not being a requirement, adding one may help your site fulfill its web accessibility guidelines by giving users multiple ways to access your pages.
It’s relatively easy to find a sitemap once you know how. Here are three ways:
The simplest way to find a sitemap is to look for it manually using your humble web browser. Simply add /sitemap.xml to the site’s domain, and you’ll be redirected to their sitemap.
For instance, here is the sitemap for jaybutler.com:

If you don’t find the sitemap this way, there are more manual options to try.
A robots.txt file provides instructions to web crawlers on which areas to crawl. Since web crawlers visit these files to understand how to crawl the site, adding a link to its sitemap there makes perfect sense.
You can see a robots.txt file by adding /robots.txt to a site’s root directory.
Below, we can see similarweb.com’s impressive-looking (if we do say so ourselves) robots.txt file, including three sitemap links.

Search modifiers are commands that you can use to refine your search results by providing additional instructions to the search engine.
To find a sitemap, we’ll use both the site: and filetype: operators.
For example, if we were to type ‘site:nike.com filetype:xml’ into the search bar, Google will bring you any indexed XML sitemaps in the search results.

Another option is just to use the site: operator and add sitemap.xml to the search. For instance, if you search for site:nike.com sitemap.xml, Google brings an entire list of indexed sitemaps:

XML sitemaps list the URLs for a site, along with additional metadata about each URL. Here is a brief explanation of the most common sitemap elements:
Here is one of nike.com’s sitemaps:

Essentially, sitemaps enable search engines to index your web pages properly. But, even if you don’t have a sitemap, as long as content links to the pages on your site, Google is able to crawl and index your content.
This means if you have a small site and your pages are properly linked, you don’t really need a sitemap.
So, when do you need a sitemap?
There are two way to generate a sitemap:
If you’re building a sitemap yourself, here are some best practices for need to follow:
A sitemap should contain fewer than 50,000 URLs or the uncompressed file size should not exceed 50MB.
There are many instances where you will not want certain pages included in Google’s index. For instance:
It’s important that you leave these pages out of your sitemap.
In fact, a good rule of thumb is only to include canonical URLs. This will avoid potential issues with duplicate content and ensure that search engines only crawl and index the correct versions of your pages, which will maintain a clear and organized structure for your website’s content in search results.
A static sitemap does not dynamically update itself to reflect changes in your website’s content or structure. You should avoid using them, as when you make changes to your site, your sitemap will become outdated, rendering it useless.
There are many tools online that are designed to crawl sites and generate a sitemap automatically. Since these tools can only create static sitemaps, we recommend avoiding them.
Your sitemaps should only include absolute URLs, including complete web addresses, including the protocol (e.g. https:) and domain name. Also make sure to use UTF-8 encoding.
A nested sitemap structure is designed to break up a very large sitemap into multiple smaller sitemap files and then provide a sitemap index file that points to each of those individual sitemaps. You should avoid using this structure as Google does not support it.
When your sitemaps become too large, you can compress them using the gzip method.
With your sitemap in hand, it’s time to submit it to your site. You do that by entering it into your Google Search Console sitemaps page.
Here’s how:

Once you’ve submitted your sitemap, it’s important to verify that there are no errors. In the sitemaps page you’ll see a table listing all of your sitemaps. Check the status column to see if there are any errors. If there are no errors, you’ll see ‘Success’ in the Status column.
If there are any errors, click on the URL, and you’ll be directed to a page listing your errors, with dropdowns explaining each issue.

Although you’ve submitted your sitemap using Search Console, we highly recommend that you add it to your robots.txt file. The reason is your robots.txt file is one of the first places search engine crawlers look when accessing a website.
Search engine crawlers use the robots.txt file to understand which parts of your site they are allowed to crawl and index. By including your sitemap in the robots.txt file, you’re essentially pointing search engine bots directly to the location of your sitemap file, making it easier for search engines to find and crawl your website’s pages efficiently.
Although not every site needs a sitemap to have its pages indexed, it always pays to make Google’s job a little easier – and there’s certainly no harm in making sure Google is finding your pages, is there? Submitting one is easy to do and could mean the difference between pages ranking in search results and those same pages being forgotten.
In fact, checking for a sitemap should be a part of your site audit process.
Download our free site audit checklist and never miss a beat.
Is a sitemap important for SEO?
A sitemap is important for SEO as it serves as a roadmap for search engines, allowing them to discover and crawl all the pages on your website efficiently. Sitemaps help improve crawlability, indexing, and the prioritization of important pages. They also enable you to notify search engines about new or updated content.
How do I know if my website has a sitemap?
There are a few ways to know if your site has a sitemap:

Darrell creates SEO content for Similarweb, drawing on his deep understanding of SEO and Google patents.
Give it a try or talk to our marketing team - it’s free!