Skip to the content
Start free

HTML sitemap

An HTML sitemap is an ordinary web page that lists links to the main sections and pages of a website, so people and crawlers can see the whole site in one place. It is written for humans, not just machines. An XML sitemap is a separate file that search engines read; the 2 do different jobs and many sites have both.

What is an HTML sitemap? #

It is a page, often at /sitemap/ and linked from the footer, that shows the site’s shape as a list of links. A small site might list every page. A large one lists sections and sub-sections, like the contents page of a book. The W3C technique G63, Providing a site map describes it as a web page that links to the different sections of a site, and says the simplest and most common kind is an outline with a link to each section.

HTML sitemap or XML sitemap? #

HTML sitemap XML sitemap
Who reads it People first, crawlers too Search engines and other crawlers
Format A normal page with links A file of URLs in XML
Where it lives Linked in the menu or footer Listed in robots.txt or sent in Search Console
What it passes Real internal links and anchor text A list of addresses, which Google treats only as a hint
Size Short enough to scan Up to 50,000 URLs or 50MB per file, says Google’s build a sitemap guide

Google’s sitemaps overview is about the file kind. By its measure, a small site (roughly 500 pages at most) with thorough internal links can skip it, yet most sites gain from having one.

Google finds pages mostly by following links. Its SEO starter guide explains that links from known pages are the main way Google discovers new ones. Its guide to crawlable links asks that each page that matters gets linked from somewhere else on the same site. It also says Google can usually follow only an <a> tag carrying an href.

An HTML sitemap gives every key page one such link, close to the home page. That helps three things:

  • Discovery. A page buried 6 clicks deep, or an orphan page with no links at all, gets a route in.
  • Click depth. Pages on the sitemap are 2 clicks from home if the sitemap is linked from every page. See click depth.
  • Link equity. Real links share internal PageRank, which an XML file does not do.

It is no cure for weak menus. If your navigation and internal linking are good, the sitemap is a safety net, not the main road.

Why does it matter for AI answers? #

An AI crawler reading your site wants a fast map of what you cover. A clean HTML sitemap with clear anchor text is one page that names every topic you write about, in plain words, with working links. It sits well beside an llms.txt file, which does a similar job in Markdown for language models. Both should agree with each other and with your menus. If the sitemap lists pages the menus no longer reach, an AI crawler may quote old pages.

Why does it help accessibility? #

WCAG 2.2 success criterion 2.4.5, Multiple Ways, is level AA. It asks for more than one way to find a page in a set of pages. The sufficient options include a site map, a search function, a table of contents and links to related pages, using 2 or more of them. Some people find a list easier than a drop-down menu. A sitemap plus your menu already gives 2 ways. See web accessibility.

How do you build a good one? #

  1. Mirror the real structure. G63 says a page that shows a different structure from the site’s own is not a valid site map. Use the same groups as your site architecture and taxonomy.
  2. Link every section. G63 fails a site map that misses sections or holds dead links.
  3. Use headings for groups. One heading per section, then a list of links under it.
  4. Write clear anchor text. Use page names people know, not “click here”. See anchor text.
  5. Keep it short enough to read. For a shop with 5,000 products, list categories and key pages, not every product. The XML file can carry the full list.
  6. Link it from every page, usually in the footer.
  7. Keep it current. G63 asks for updates whenever the site changes. A sitemap built from your CMS menus does this by itself.

Common mistakes #

  • Thousands of links on one page. Nobody can use it. Split by section or list only hubs and pillar pages.
  • Dead or redirected links. Every link should return 200 first time, not a broken link or a redirect.
  • Listing pages you do not want found. Thank-you pages, test pages and noindex pages do not belong there.
  • Links added by script only. If the list appears only after JavaScript runs, some crawlers miss it. See JavaScript SEO.
  • Calling the XML file your sitemap page. Linking people to raw XML from the footer helps no one.
  • Hiding the sitemap with noindex and nofollow. That cuts the very links it exists to give.

A worked example #

A garden centre site has 140 pages in 5 sections. Its sitemap page looks like this:

Plants: Trees, Shrubs, Bulbs, Houseplants
Tools: Spades and forks, Pruners, Hoses
Advice: Planting guides, Pests, Seasonal jobs
Visit us: Opening times, Directions, Café
About: Our story, Delivery, Returns, Contact

Before, the bulbs page sat 5 clicks deep and the “Pests” guides had 1 internal link each. After adding the sitemap to the footer, every item above is 2 clicks from any page. The full list of 140 URLs stays in the XML sitemap, where search engines expect it.

How to check it #

  1. Run the sitemap page through our Broken Link Checker to find dead links.
  2. Check that its headings are in order with our Heading Checker.
  3. Compare it with your XML file using our Sitemap Checker; pull the list of addresses with the Sitemap URL Extractor.
  4. Make sure the page is not blocked, using our Indexability Checker.
  5. Check the link labels with our Internal Anchor Text Checker.
  6. See how link value flows through the site with our Link Juice Checker. In URSY Pro, the Orphan pages report (Pro) lists pages no link reaches.

Questions #

Do I need an HTML sitemap? #

Not always. A small site with clear menus can do without one. Larger sites, and sites that want to meet WCAG Multiple Ways, usually gain from it.

Does Google still use HTML sitemaps? #

Google follows links on any crawlable page, and an HTML sitemap is a page of links. It does not treat it as a special file.

Can I submit an HTML sitemap in Search Console? #

Submit your XML sitemap there. Link the HTML one from your pages instead.

Sources #

Updated 24 November 2026 by URSY.

Cite this page: HTML sitemap. URSY. Updated 24 November 2026. https://ursy.com/wiki/html-sitemap/ · Section links

Tools for this

All 871 wiki entries, A to Z →