Most small business sites need the XML file. An HTML sitemap is useful when your site has many pages, such as one per city and service.
Paste your URLs below and the tool builds a clean HTML sitemap you can copy or download.
HTML sitemap vs XML sitemap: the difference
An XML sitemap is a machine-readable file, usually at /sitemap.xml, that lists URLs for search engines. An HTML sitemap is a regular web page linking to your main pages, written for visitors. The XML file helps discovery, and the HTML page helps navigation.
Google says a sitemap helps it find your pages, and that a sitemap is not required if your pages are linked well. A visitor-facing page does not change that.
Many website builders create the XML file for you. The HTML page is usually something you add.
| XML sitemap | HTML sitemap | |
|---|---|---|
| Reader | Search engines | Visitors and crawlers |
| Format | XML file | Normal web page |
| Typical address | /sitemap.xml | /sitemap |
| Needed? | Recommended | Optional |
Which sitemap does your local business need
Submit an XML sitemap in Google Search Console. Add an HTML sitemap if you have dozens of service and city pages, or if visitors struggle to find things in your menu. A five-page site does not need one. A multi-location business with many pages usually benefits.
The XML sitemap is how you tell Google about every page you want indexed. The HTML sitemap is a safety net for visitors and for pages buried deep in the menu.
How to use the HTML sitemap generator
Paste your URLs, one per line. Choose a simple list or a navigation block, and the tool builds the HTML with a link for each page. Labels are taken from the end of each URL, so edit them if you want nicer wording. Copy the code or download the file.
The generator escapes special characters and caps the list at 1,000 URLs. For larger sites, split the sitemap by section, such as services, cities and blog.
Where to put the HTML sitemap
Publish it as its own page, often at /sitemap, and link to it from your footer so every page on the site leads to it. Keep the list organized with headings for services, locations and resources if you have many links. Update it when you add or remove pages.
Do not block the page from crawling. If you use a plugin that builds an HTML sitemap for you, you can skip this tool and use that.
Keep your XML sitemap in good shape
List only pages that return a normal 200 status and that you want in search results. Leave out redirected, deleted and noindex pages. Google's limit for a single sitemap file is 50,000 URLs or 50MB uncompressed, and you can split larger sites across several files.
After you submit the sitemap in Search Console, check the report for errors. Pages that return a redirect or an error status belong off the list. The redirect checker shows you which ones.
What to put on an HTML sitemap page
List your most important pages in clear groups: services, locations, articles and company pages. Visitors should find any key page in one or two clicks.
For a local business that usually means every service page, every city or location page, the contact page and your best guides.
Use plain link text that describes the destination, not generic words like click here.
How an HTML sitemap helps internal linking
An HTML sitemap links to every important page from one place. That gives crawlers and visitors another path to pages that might otherwise sit deep in your menus.
It will not fix a weak site structure by itself, but it helps pages that are hard to reach. Link it from the footer so it appears on every page.
Pages that no other page links to are easy to miss. An HTML sitemap is a quick way to find them.
Common HTML sitemap mistakes
Typical problems are stale links, pages that redirect, pages blocked from search and a list so long that nobody reads it.
Check that every link works and points to the final URL, not to a redirect. Remove pages you have noindexed or deleted.
On a very large site, list the main sections and link to sub-index pages instead of printing every URL.
- Remove deleted or redirected pages
- Group links by topic
- Keep the page linked from the footer
Keep both sitemaps up to date
Update the HTML sitemap whenever you add or remove a major page, and make sure your XML sitemap is regenerated at the same time.
Many site builders and plugins update the XML sitemap on their own. The HTML page is often manual, so add it to your publishing checklist.
Review both sitemaps every few months with the local SEO audit tool to catch broken links early.
Not sure your site is set up for local search?
We audit your pages, sitemap and profile, then tell you what to fix first. See our pricing or book a free audit.
Keep going:
Source: Google Search Central: Build and submit a sitemap, Google Search Central: Sitemaps overview