The short answer
An XML sitemap is a file that lists the pages on your website so search engines can find them. Google says a site of about 500 pages or fewer, with every important page reachable by links from the homepage, might not need one. Keep one anyway: most website platforms already publish it for you.
Type your address followed by /sitemap.xml and there is a fair chance a file appears. Google's sitemap documentation says "most content management systems (CMS) automatically generate sitemaps," and WordPress, Wix, Squarespace and Shopify all do. So for most owners the question is less whether to make one and more whether the one they have works. If nothing loads, here is where each platform keeps its sitemap.
What an XML sitemap is
It is a plain text file, written for crawlers and never shown to visitors, that lists the address of each page you want in search results. Every page sits in its own entry, and the sitemap protocol requires only one thing inside it: the page's full address, in a tag called loc. Everything else is optional, including the lastmod date that says when the page last changed.
Google describes what the file does and where it stops: a sitemap "helps search engines discover URLs on your site, but it doesn't guarantee that all the items in your sitemap will be crawled and indexed." It tells Google a page exists. It does not make the page rank.
Google says a small site might not need one
Google's own page on the subject has a section called "Do I need a sitemap?" and it does not say yes to everyone. Its starting point is that "if your site's pages are properly linked, Google can usually discover most of your site."
You might not need one if
- The site is small, which Google defines as "about 500 pages or fewer"
- Googlebot can reach every important page by following links from the homepage
- You have few videos, images or news pages you want in search results
You might need one if
- The site is large, so some pages end up with no link pointing at them
- The site is new and few other sites link to it
- It has a lot of video or images, or appears in Google News
The 500 is smaller than it sounds. Google counts only "pages that you think need to be in search results," so a login page, a cart and a thank-you page are left out of the total.
Why we would keep one on a ten-page site
Read the right-hand column again. "New and has few external links" describes almost every small business website in its first year. Googlebot finds pages by following links from pages it already knows, so a new site that nobody links to gives it nowhere to start. A sitemap submitted in Search Console is a way in that does not depend on anyone else.
The second reason is the feedback. Google says submitting a sitemap in Search Console lets you "see when Googlebot accessed the sitemap and also potential processing errors." The Page indexing report can then be filtered to the pages you submitted, which is the quickest way to learn that Google skipped one. With no sitemap you get neither. When a page stays out of the results, start with why Google drops a website from search, since a sitemap is rarely the whole story.
The limits sit far above any small business site
- 50,000
- addresses allowed in one sitemap file
- 50MB
- largest file size, measured uncompressed
- 2,048
- characters allowed in one address
A site that outgrows one file splits its list into several and names them in a second file called a sitemap index. You may see an index on a small site too, and that is normal: WordPress puts at most 2,000 addresses in each file and always publishes an index over them.
Google ignores priority and changefreq
Older guides tell you to set a priority from 0 to 1 on each page and a change frequency such as weekly. Google's documentation is blunt about both: "Google ignores priority and changefreq values." Tuning them changes nothing in Google.
The one optional field Google reads is lastmod, and only when the date is "consistently and verifiably" accurate. A file that stamps today's date on every page teaches Google to disregard it. The same field is also the first place to look when you want to tell when a website was last updated.
A sitemap that exists can still be wrong
The common faults are not about having a sitemap. They are a file that lists pages that no longer exist, pages that redirect, or pages carrying a noindex tag that tells Google to leave them out. Our free Sitemap Checker looks for these. It reads robots.txt, finds every sitemap named there or sitting at the usual addresses, checks the XML against the protocol, then loads a sample of up to 12 listed pages to see what each one answers.
It shows a score out of 100 and a verdict first, and asks for an email address before opening the full report. It tests a sample, not every page, and it cannot see inside your Search Console account. If Search Console already shows an error against your sitemap, go to what "Couldn't fetch" means and how to fix it.
Test your sitemap
The free Sitemap Checker finds your sitemap, reads it the way Google does and lists what is wrong with it.
Get help from Venbit
The Venbit Team
Web design & SEO, Mill Creek, WA
Venbit is a web design, SEO, and digital marketing studio in Mill Creek, Washington. Since 2011 we've designed, built, and ranked small-business websites for clients across the Puget Sound and around the country, so the numbers and advice here come from real projects, not a content mill.
Sources
- Google Search Central: Learn about sitemaps (Do I need a sitemap?)
- Google Search Central: Build and submit a sitemap (limits, priority, changefreq, lastmod)
- sitemaps.org: Sitemap protocol (50,000 URLs, 50MB, 2,048 characters, required tags)
- Google Search Central Blog: Sitemaps ping endpoint is going away, June 26, 2023 (changefreq and priority are not used)
- WordPress core: New XML sitemaps functionality in WordPress 5.5 (2,000 entries per file)
- Search Console Help: Page indexing report (All submitted pages filter)

