Advertisement

Free Online HTML Sitemap Generator

Turn a list of URLs into a clean HTML sitemap.

Waiting for input

One URL per line. Add a title after a pipe character, for example https://example.com/about | About us. Start a line with # to create a section heading. Lines without a title use the last part of the path.

Ready

The generated file is a standalone HTML page with simple inline styles. It has no scripts and no external dependencies. Preview rendering happens in a sandboxed frame.

Advertisement

About the HTML Sitemap Generator

XML sitemaps are written for crawlers. HTML sitemaps are written for people: they are ordinary pages that group links into a readable outline of the site. Visitors use them when navigation fails, when they remember a page but not its location, or when they want to understand the full scope of a documentation set. This generator turns a plain list of URLs into that page, with optional titles and section headings, and produces a download that can be uploaded as-is.

Input format

  • One URL per line: full https:// addresses work best, but a bare domain is accepted and given an https prefix.
  • Custom title: add a pipe after the URL, then the label to display, as in https://example.com/about | About us.
  • Section heading: start a line with # to create a group such as # Documentation. URLs after it belong to that section.
  • Automatic labels: when no title is supplied, the last path segment is cleaned up and used as the link text.

The generator validates each address with the browser's URL parser and keeps only HTTP and HTTPS entries. Duplicate URLs are removed so the outline does not repeat itself. Invalid lines are reported with their line numbers and skipped, which makes a large paste easier to clean up. The result keeps the order you wrote, because a sitemap often mirrors an intentional information hierarchy rather than an alphabetical list.

The output is deliberately simple: a semantic main element, a heading, one nav with sections, and an unordered list for each group. Inline CSS provides readable spacing, a maximum width, and a responsive layout without requesting a font or a framework. No JavaScript is included, so the page works in restricted environments and is easy to inspect. Because the preview runs inside a sandboxed iframe, the generated markup cannot affect this tool's page.

Titles and URLs are HTML-escaped before they are inserted, which prevents a stray angle bracket or quote from breaking the layout. That matters when labels contain ampersands or when query strings include encoded characters. The footer note is optional and can hold a date, a contact address, or a short explanation. To publish, download the file, rename it if needed, and upload it to your site; then link to it from the footer so visitors and crawlers can find it. Remember that an HTML sitemap complements, but does not replace, an XML sitemap for search engines.

How to use this tool

  1. Enter a title and, optionally, a footer note.
  2. Paste your URLs, using pipes for labels and hash lines for sections.
  3. Click Generate sitemap and review the preview or the HTML code tab.
  4. Copy the markup or download a ready-to-publish .html file.

Frequently asked questions

Can I use relative URLs?

A path such as /about is not a complete address and will be skipped, because the generated page may live at a different location. Use full HTTPS URLs so every link works regardless of where the file is hosted.

Does this create an XML sitemap for search engines?

No. This tool creates a human-readable HTML page. Search engines expect a separate XML file referenced from robots.txt or submitted through their webmaster tools.

How many links can I include?

There is no hard limit in the tool, but very large lists become difficult to scan. For hundreds of links, consider splitting the sitemap into sections or multiple pages, and keep the most important destinations near the top.

Sponsored
Find a bug? Report now