My Tool Studio
SEO

HTML Sitemap Generator

This HTML sitemap generator turns a list of page URLs into a sitemap page that visitors can read: links grouped by site section, as a nested folder tree or in columns. Paste your URLs, or import them from a domain's sitemap.xml in one step, and fetch each page's title for the link text. Filter out tags or deep pages, then choose a complete sitemap.html file or a snippet to paste into your CMS. Site owners use it to add a Sitemap page to their footer, and agencies use it to hand a client a readable index after a launch. For a blog with a few hundred posts, importing the sitemap.xml and switching to Snippet only gives you code you can paste straight into a WordPress page.

Always freeNo sign upRuns in your browser

Enter a domain or a sitemap URL. The URLs replace the list below.

Link text

Link text comes from the URL slug until you fetch titles.

0 lists every URL.

One per line, * wildcards allowed.

5 URLs

A complete sitemap.html file you can upload as it is.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Site Map</title>
<style>
  body { font-family: system-ui, sans-serif; max-width: 800px; margin: 2rem auto; padding: 0 1rem; color: #111; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; margin-top: 2rem; padding-bottom: 0.5rem; border-bottom: 1px solid #eee; }
  h2 small { font-weight: normal; color: #666; font-size: 0.8em; }
  ul { list-style: none; padding: 0; }
  ul ul { padding-left: 1.25rem; border-left: 1px solid #eee; }
  li { padding: 0.3rem 0; }
  a { color: #4F46E5; text-decoration: none; }
  a:hover { text-decoration: underline; }
</style>
</head>
<body>
<h1>Site Map</h1>
<nav class="html-sitemap" aria-label="Site Map">
<section>
<h2>Main pages <small>(3)</small></h2>
<ul>
  <li><a href="https://example.com/">Home</a></li>
  <li><a href="https://example.com/about">About</a></li>
  <li><a href="https://example.com/contact">Contact</a></li>
</ul>
</section>
<section>
<h2>Blog <small>(2)</small></h2>
<ul>
  <li><a href="https://example.com/blog">Blog</a></li>
  <li><a href="https://example.com/blog/post-1">Post 1</a></li>
</ul>
</section>
</nav>
</body>
</html>

How to use

01

Import or paste URLs

Enter a domain or sitemap URL and press Import URLs to pull the list from its sitemap.xml, or paste full URLs into the URLs box, one per line. Delete any pages you do not want listed.

02

Set the title and format

Type a Page title, such as Site Map. Choose Full page for a standalone sitemap.html file, or Snippet only for the headings and link lists to paste into an existing page.

03

Copy or download

Pick a layout, sort order and filters, check the preview, then press Copy or Download. Upload the file or paste the snippet into your CMS, and link the page from your site footer.

Why HTML Sitemap Generator

HTML sitemap vs XML sitemap

Both list your pages, but they serve different readers. Most sites that have an HTML sitemap also keep an XML one, and the XML file is the one that matters for search engines.

If you can only maintain one, keep the XML sitemap, which most CMSs generate for you. Add an HTML sitemap when your navigation cannot reach every important page in a few clicks, or when visitors often land on a 404 and need a way back into the site.

HTML sitemapXML sitemap
Written forVisitorsSearch engines
FormatA normal web page with headings and linksXML with loc, lastmod and optional tags
Usual address/sitemap/ or /sitemap.html, linked in the footer/sitemap.xml, listed in robots.txt
Submitted to Search ConsoleNoYes
SizeReadable when it lists a few hundred links or fewerUp to 50,000 URLs per file
SEO valueInternal links to every listed pageFaster discovery of new and changed pages

Common questions

Do I still need an HTML sitemap if I have an XML sitemap?
Not for Google's sake. The XML sitemap already helps search engines find your pages, and an HTML sitemap is mainly for people. It is still worth having on large or deep sites where visitors get lost, and it adds plain internal links to every page it lists.
Where should I link my HTML sitemap page?
In the site footer, which is where visitors look for it. A URL such as /sitemap/ or /sitemap.html is the usual choice. Some sites also link it from their 404 page so lost visitors have a way back.
How many links should one HTML sitemap page have?
There is no official limit, but a page with thousands of links is hard for people to use. Once the list passes a few hundred links, set Max folder depth to 1 or 2 to list sections and categories rather than every post, or make one sitemap page per section.
How do I add an HTML sitemap in WordPress?
Choose Snippet only and copy the code. Create a new page in WordPress, add a Custom HTML block, paste the code and publish, then add the page to your footer menu. The list does not update itself, so regenerate it when you add important pages.
Can I make an HTML sitemap from my sitemap.xml?
Yes. Enter your domain or the sitemap URL in the import box and press Import URLs. The tool finds the sitemap through robots.txt or common paths, follows sitemap index files and fills the URL list. If a firewall blocks the request, open the sitemap in your browser and paste the URLs instead.
How are links grouped on the generated HTML sitemap page?
In the Sections layouts, by the first folder in each path. /blog/post-1 goes under a Blog heading, and /blog itself joins that group when it has child pages. Top-level pages with no children sit under Main pages. The Nested tree layout nests every folder level as lists inside lists.
What link text does the HTML sitemap generator use?
By default it builds the text from the last part of each URL, so /blog/cold-brew-guide becomes Cold brew guide. Press Use each page's title and it fetches up to 300 pages and uses their title tags instead, with a trailing site name after | or - removed.
Can I restyle the page this HTML sitemap generator produces?
Yes. The full page has one small style block at the top; change the fonts, colours or link styles there. The snippet has no styling at all and takes on your site's theme when you paste it in.
Does my HTML sitemap update when I add new pages?
No. The output is static HTML. Import again and replace the page whenever your site gains or loses important pages, or use a CMS plugin if your site changes every day.

More SEO tools

View all