FindSEO
Technical SEO

Do You Need an XML Sitemap? What Google Actually Says

Small, well-linked sites may not need one. Here's when a sitemap helps, which tags Google ignores, the size limits, and how to submit it properly.

FindSEO3 min read

Updated

Rows of wooden card catalogue drawers, each labelled to index what is stored inside

Photo: Michael Holley / Wikimedia Commons (Public domain)

In this article
  1. What does a sitemap actually do?
  2. When might you not need one?
  3. When does a sitemap really help?
  4. Which sitemap tags does Google ignore?
  5. How big can a sitemap be?
  6. How do you submit a sitemap?
  7. A quick sitemap checklist
  8. The bottom line

Short answer: not always. Google's documentation says a small site that's well linked internally may not need a sitemap at all. But for most business websites, one is cheap to set up and removes doubt, so it's usually worth having.

The more useful question is what a sitemap can and can't do, because a lot of sitemap advice is built on tags Google doesn't use.

What does a sitemap actually do?

A sitemap is a file that lists the URLs you want search engines to know about, usually with the date each page last changed. It helps Google discover pages, especially ones that are hard to reach by following links.

A compass resting on an old printed map with handwritten-style place names.
A sitemap is a guide for search engines, not an order. Photo: Himesh Kumar Behera, CC0, via Wikimedia Commons.

What it doesn't do is guarantee anything. Google describes sitemaps as a hint: listing a URL doesn't force it to be crawled or indexed, and leaving one out doesn't stop it being found through links. If a page you've submitted still isn't showing up, our guide to why a page isn't indexed by Google walks through each reason Search Console gives.

When might you not need one?

Google says you might not need a sitemap if your site is:

  1. Small, around 500 pages or fewer that you want in search results.
  2. Comprehensively linked internally, so Google can reach every important page from the home page.
  3. Light on media and news content that you want to appear in image, video or news results.

Plenty of small business sites meet all three. Even so, a sitemap does no harm, and most platforms generate one automatically.

When does a sitemap really help?

  • Large sites, where some pages are many clicks deep.
  • New sites with few links from other websites yet.
  • Sites that change often, where accurate last-modified dates help Google decide what to recrawl.
  • Pages that are poorly linked, such as archive or filtered pages you still want indexed.
Decision guide: a small, well-linked site light on media may not need a sitemap, though one does no harm; large sites, new sites with few links, and sites that change often or have poorly linked pages benefit from one.
Most platforms generate a sitemap automatically, so the cost is low.

Which sitemap tags does Google ignore?

This is where most advice goes wrong.

priority and changefreq

Google says it ignores both. Setting your home page to priority 1.0 and "daily" changes nothing in Google Search.

lastmod

Google does use lastmod, but only when it's consistently accurate. If every URL shows today's date on every request, the signal becomes useless. Only change it when the page's main content actually changes. Our guide to how often to update website content explains what counts as a real change.

Google ignores the priority and changefreq sitemap tags, and uses lastmod only when it is consistently accurate.
Skip priority and changefreq. Keep lastmod honest.

How big can a sitemap be?

One sitemap file can hold up to 50,000 URLs or 50MB uncompressed, whichever comes first. Bigger sites split their URLs across several files and list them in a sitemap index.

How do you submit a sitemap?

There are two standard ways, and you can use both:

  1. Search Console: add it in the Sitemaps report. You'll see when Google last read it and whether it found errors.
  2. robots.txt: add a line such as Sitemap: https://www.example.com/sitemap.xml. Any search engine that reads your robots.txt can then find it. Our robots.txt generator can add the line for you.

Google retired its old "ping" endpoint for sitemaps in 2023, so tools that still ping it aren't doing anything useful.

A quick sitemap checklist

Sitemap checklist: list only canonical, absolute URLs that return 200 and aren't noindex; keep lastmod honest, split files past 50,000 URLs or 50MB, submit in Search Console and robots.txt, and recheck after big changes.
A tidy sitemap is a small job that removes guesswork.

The bottom line

A sitemap won't make pages rank, and a tiny, well-linked site can live without one. For everyone else it's a low-effort way to help search engines find the right URLs, as long as it lists clean, canonical pages with honest dates. Once pages are found, how long SEO takes depends on much more than discovery, and for large or complex sites a technical SEO agency can review how the whole site is crawled.

FAQs

Does a sitemap improve rankings?

No. It helps discovery and recrawling. Rankings depend on the pages themselves.

Should noindex pages be in my sitemap?

No. A sitemap should list the canonical URLs you want indexed; including noindex pages sends mixed signals.

Do I need an HTML sitemap as well?

It's optional. An HTML sitemap page can help visitors and internal linking, but it isn't a replacement for an XML sitemap on larger sites.

Sources

Ready for help with SEO?

Compare SEO-only agencies near you, with client reviews checked by a person, or tell us what you need and get matched.