XML versus HTML: two tools sharing one name
The word sitemap covers two distinct tools that share a name but not an audience. The XML sitemap is a file with an .xml extension listing a site's URLs in a machine-readable format, built for search engine crawlers, Googlebot included, so they can discover pages without relying solely on internal links. Each URL can carry extra metadata, most notably the last modification date, which helps a crawler decide what to check first.
The HTML sitemap is the opposite: an ordinary page on the site, visible to any visitor, that links out to the site's main sections or URLs. For years it was common to tuck one into the footer as a navigation safety net, especially on sites with weak menu structure. No crawler treats it specially; to Google it's just another page, with the same internal links as any other.
Today the HTML sitemap has lost most of its reason to exist. A well-designed menu, a working internal search, and careful internal linking cover the same navigational need without a dedicated page. It still earns its keep on very large sites with hundreds of sections, or on projects where accessibility requires a clear path to any page within a few clicks.
When someone in SEO says sitemap without qualifying it, they almost always mean the XML version. It's the one submitted through Search Console, the one referenced in robots.txt, and the one with its own technical rules: size limits, alternative formats, and a dedicated tracking report. The rest of this article focuses on that format, noting differences with the HTML version only where they matter.
