Enter a domain or a sitemap URL. The URLs replace the list below.
Link text comes from the URL slug until you fetch titles.
0 lists every URL.
One per line, * wildcards allowed.
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
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.
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.
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
- Imports URLs from a site's sitemap.xml, including sitemap index files.
- Uses each page's real title as link text, or readable text from the URL.
- Three layouts: sections, a nested folder tree, or sections in columns.
- Exclude patterns and a depth limit keep tag pages and deep URLs out.
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 sitemap | XML sitemap | |
|---|---|---|
| Written for | Visitors | Search engines |
| Format | A normal web page with headings and links | XML 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 Console | No | Yes |
| Size | Readable when it lists a few hundred links or fewer | Up to 50,000 URLs per file |
| SEO value | Internal links to every listed page | Faster discovery of new and changed pages |