Products SEO & GEO Agent Paid Ads Agent Website Agent Conversion Agent
How it works Pricing FAQ Blog Book a call

XML vs HTML Sitemaps: What Each Does for SEO

Updated · 5 min read

Short answer An XML sitemap is a file for search engines: it lists the pages you want found. An HTML sitemap is a web page of links for people. Most business sites should have the XML one, and their website platform usually makes it automatically. An HTML sitemap is optional; good menus do the same job.

Want help applying this to your business? Talk it through on a free 30-minute call.

Book a call

XML vs HTML sitemap: who each one is for

Both list your pages. They differ in who reads them.

XML sitemapHTML sitemap
ReaderSearch engine crawlers (Googlebot, Bingbot)Visitors
What it isA file, usually at `/sitemap.xml`A normal page, often linked in the footer
What it doesTells search engines which pages exist and when they changedShows people every page in one place
Submit it to Google or Bing?YesNo, Google doesn't accept HTML pages as sitemaps
Made byUsually your website platform, automaticallyYou, or a plugin
Do you need it?Usually yes, and you likely have oneOnly if your menus can't reach every page

Google drew this line in 2005 and it still holds: an XML sitemap is for its crawler, while "An HTML sitemap is intended for users of your site" (Google Search Central Blog, September 2005).

Do I need an XML sitemap?

Probably yes, and you probably already have one. Google's own verdict:

"In most cases, your site will benefit from having a sitemap." (Google Search Central: Learn about sitemaps)

Google lists when it matters most: a large site, a new site with few links from other websites, or lots of video, images or news. It also says a site of "about 500 pages or fewer," with every important page reachable by links from the home page and few videos or images to show in search, may not need one. Most service businesses fit that group, so a sitemap won't change much for them. It costs nothing, though.

Check before you build anything. Google says that on WordPress, Wix or Blogger, "it's likely that your CMS has already made a sitemap available to search engines and you don't have to do anything." A CMS (content management system) is the platform you edit your site in. Type your domain followed by `/sitemap.xml` into a browser. A page of code full of your URLs means it's there.

A sitemap doesn't force anything. Google calls submitting one "merely a hint": it may not crawl or index every URL listed. Pages stuck out of Google need the fixes in page not indexed in Search Console.

Do I need an HTML sitemap?

Usually not. Google's current sitemap guides cover XML, RSS and plain text files, not HTML pages. What Google does ask for is links people and crawlers can follow:

"Every page you care about should have a link from at least one other page on your site." (Google Search Central: SEO link best practices)

Clear menus and links between related pages do that. An HTML sitemap is a backup for when they can't, so it helps visitors more than rankings. Add one when:

  • You have dozens of service or location pages that don't all fit in the menu.
  • Visitors call asking whether you offer something you have a page for.
  • Your site has old pages (guides, past projects) no menu points to.

Skip it on a 10-page site where the menu shows everything. If you feel you need one because people get lost, fixing the menu usually helps more.

How to submit your XML sitemap to Google and Bing

  1. Find it: try `yourdomain.com/sitemap.xml`. If that's blank, your platform's help pages or SEO plugin settings show the address.
  2. Google: in Google Search Console, open the Sitemaps report and paste the address. The report then shows when Google last read it and any errors (Search Console for a small business).
  3. Bing: submit it in Bing Webmaster Tools. Bing says it fetches a sitemap right after submission, then "typically at least once per day." Bing says this supports its AI answers in Copilot as well as regular search.
  4. robots.txt: add a line such as `Sitemap: https://yourdomain.com/sitemap.xml`. Google and Bing both read it there.

The old "ping" method, a web address you called to tell Google your sitemap changed, is gone. Google announced its end in June 2023; pings now return an error and do nothing.

What belongs in an XML sitemap

  • Only pages you want in search results. Google says to include the URLs "that you want to see in Google's search results." Leave out thank-you pages, logins and duplicates.
  • One version of each page. If a page has a separate mobile address, Google recommends listing one version. Most sites today use one address for every screen size, so there's no separate "mobile sitemap" to make.
  • Accurate dates. The `lastmod` tag says when a page last changed. Google uses it only if it's "consistently and verifiably" accurate. Bing warns against stamping every page with the date the file was made.
  • Skip priority and change frequency. Google says it ignores the `priority` and `changefreq` tags, and Bing says the same.
  • Size limits. One file holds up to 50,000 URLs or 50MB. Bigger sites split it into several files listed in a sitemap index file. Few small businesses come close.

Being in the sitemap is also a weak hint about which version of a page is the main one, what Google calls the canonical URL. A redirect or a canonical tag (a line of code naming the main version) sends a stronger signal (Google Search Central: How to specify a canonical URL).

Example

A 12-page plumbing site on Wix

Wix already makes the XML sitemap. The owner submits it once in Search Console and Bing Webmaster Tools, which takes about 10 minutes. The menu reaches all 12 pages, so no HTML sitemap.

A 140-page law firm site on WordPress

There are 60 practice-area and city pages. Only 15 fit the menu. An SEO plugin makes the XML sitemap. The firm adds a footer link to an HTML page that groups every practice area by city, so visitors and crawlers can reach the other 45.

A remodeler after a redesign

After a redesign, the old XML sitemap still lists 30 URLs that now redirect. The new site's sitemap replaces it in Search Console, listing only live pages.

FAQ

Does an HTML sitemap help SEO?

Not directly. It gives crawlers links to follow, which matters only for pages your menus and internal links miss.

Can I submit an HTML sitemap to Google?

No. Google accepts XML, RSS or Atom feeds, and plain text files with one URL per line. An HTML page of links isn't one.

How often should I update my XML sitemap?

Most platforms update it automatically. If yours doesn't, update it whenever you publish or remove a page, with dates that match real changes.

Does a sitemap help me show up in AI answers?

It helps search engines find your pages, the first step. Bing says sitemaps support Copilot too, but says no tool guarantees appearing in AI answers.

Different for you?

Keep learning

NextNoindex checker: test any URL for a noindex tagCheck any page for noindex in two places: the robots meta tag and the X-Robots-Tag header. Free ways by hand, one command, or Search Console.

Do it yourself

Crawlability checklist: make every page reachable by GoogleA crawlability checklist for a small business site: find orphan pages, robots.txt blocks, broken links, redirect chains and server errors, with free tools.

Ask us one question

One line is enough. We reply by email.

Sources

  1. Google Search Central: Learn about sitemaps
  2. Google Search Central: Build and submit a sitemap
  3. Google Search Central: SEO link best practices
  4. Google Search Central: How to specify a canonical URL
  5. Google Search Central Blog: How is a Google Sitemap different from an HTML sitemap? (September 2005)
  6. Google Search Central Blog: Sitemaps ping endpoint is going away (June 2023)
  7. Bing Webmaster Blog: Keeping Content Discoverable with Sitemaps in AI Powered Search (July 2025)