Nine steps from a page list to a tested site structure, and a dental software site's redesign worked through, with its inventory to copy.
A website sitemap is the plan of which pages a site has and where each one lives: a tree with the home page at the top, sections under it and pages under those. It’s drawn for people before anyone designs a page, unlike the XML file search engines read. To create one, list your pages, group them by what visitors come to do, name the groups in their words, then draw the tree and test it.
Figure 1How to create a website sitemap in nine steps. Nine steps in three phases. The highlighted step, grouping the cards by visitor task, decides the site's main navigation: the steps before it gather the cards, the steps after it draw and check the groups.
A website sitemap, also called a visual sitemap or a UX sitemap, is a diagram of a site’s pages and how they’re grouped, drawn for the people who plan, write and build the site. Its top-level sections become the main navigation, and the levels under them become menus and links. It’s the most visible part of a site’s information architecture.
Information architecture and navigation get mixed up, and Nielsen Norman Group separates them in one line: “IA is the information backbone of the site; navigation refers to those elements in the UI that allow users to reach specific information on the site” (NN/G). Draw the sitemap first and the menus follow from it.
A visual sitemap is a plan people draw before a site is built, to agree on its pages and sections. An XML sitemap is a file that lists a live site’s URLs for search engines, usually generated by the site’s software. They share a name and nothing else, and “how to create a sitemap” can mean either.
Visual sitemap | XML sitemap | HTML sitemap | |
|---|---|---|---|
Made for | The people planning the site | Search engines | Visitors |
Looks like | A tree of boxes, one per page or page type | A file listing every URL | A page of links, often in the footer |
Made by | You, before the site is built | Usually the CMS, automatically | You or the CMS |
Lives | On a board or in a doc | At /sitemap.xml | At a page such as /sitemap |
Google adds a note on the third kind: an HTML sitemap “can help visitors and search engines navigate your site”, but it “isn’t a sitemap format you can submit in Search Console” (Google).
Create an XML sitemap by letting your CMS (content management system) make it: WordPress has published one at /wp-sitemap.xml since version 5.5 (WordPress). Without a CMS, use a generator such as xml-sitemaps.com, then submit the file in Search Console or add a Sitemap line to robots.txt. Google calls submitting “merely a hint”, and caps each file at 50,000 URLs or 50MB (Google).
A website sitemap should include five parts: the home page, the top-level sections that become the main navigation, the pages under each section, repeated pages drawn once with a count (66 blog posts are one box), and the utility and footer pages linked from every page, such as Log in and Privacy.
Figure 2Anatomy of a website sitemap. Part of the sitemap from the example below, with its five parts numbered. The highlighted part, Blog post x66, keeps a large site on one page: pages built from one template are one box with a count.
Part of the Chairside sitemap. Home. Under it: Product (Online booking, Reminders), Pricing, and Blog (Blog post x66). Top right of every page: Log in, Book a demo. Footer of every page: Privacy, Terms.
Here’s what each part looks like in the sitemap of Chairside, a fictional booking app for dental clinics:
Part | What to draw | In Chairside’s sitemap |
|---|---|---|
Home page | One box at the top | Home |
Top-level sections | Up to seven boxes, named for visitor tasks | Product, Pricing, Customers, Blog, Company |
Pages under each section | One box per page, in one place only | Online booking, Reminders, Payments |
Repeated pages | One box per page type, with a count | Blog post x66, Integration x9 |
Utility and footer pages | A row outside the tree | Log in, Book a demo, Privacy, Terms |
The Michigan State University web team states the rule behind the third row: “each page should only appear in one place” (MSU). A page that seems to belong in two sections is a sign the groups overlap, and that’s a naming problem to fix when you name the groups, not a reason to draw the page twice.
To create a sitemap for your website, write its goal and visitor tasks, list every page in a content inventory, and mark each keep, merge, cut or new. Then put each page type on a card, group the cards by visitor task and name the groups. Last, draw the tree, mark the menu, utility links and footer, and test it.
In Whimsical, copy the inventory’s page types, right-click a board and choose Paste as, then Sticky notes, to get one card per page type (Paste as). Drag the notes into groups. To draw the tree, paste your outline onto a mind map’s starting node and use Tab for a child page and Enter for a sibling (mind maps), or press S for diagram shapes and draw it as boxes, as the figures here are. The sitemap template starts you with a tree three levels deep.
Write test tasks without the menu’s words. “Book a demo” as a task only tests whether people can read. “See the software with someone from Chairside before you buy” tests whether Book a demo is where they’d look.
Here’s a whole redesign taken through the nine steps. Chairside’s old site had 103 pages under a menu of Features, Integrations, Pricing, Resources and About, and its demo form was linked only from Pricing. The new sitemap has 100 pages in five sections, with Book a demo on every page.
Figure 3Website sitemap example: Chairside after the redesign. 100 pages in five sections, two of them three levels deep. The highlighted page, Book a demo, is the one the redesign is for: it moved from a link on Pricing to every page.
The inventory behind it is where the decisions were made. Every old page has a row, and each row says keep, merge, cut or new:
Chairside: content inventory and sitemap plan
Goal: more demo bookings from clinic owners.
Old site: 103 pages. New site: 100 pages.
Top visitor tasks: see what the software does, check the price, check it works with the clinic’s software, see how a similar clinic uses it, book a demo.
Content inventory
Old page | Where it goes | Decision |
|---|---|---|
Home | Home | Keep |
Features | Renamed Product | Keep |
(none) | Online booking, Reminders, Payments | New (3) |
Integrations and 9 pages | Under Product | Keep (10) |
Pricing | Pricing | Keep |
FAQ | Its answers move to Pricing | Merge |
Success stories and 5 stories | Renamed Customers | Keep (6) |
Blog and 64 posts | Blog | Keep (65) |
Guides (2 pages) | Rewritten as 2 blog posts | Merge (2) |
Webinars (3, from 2023) | Removed | Cut (3) |
About | Renamed Company | Keep |
Team, Press | Into Company | Merge (2) |
Careers and 2 job openings | Under Company | Keep (3) |
Contact | Under Company | Keep |
Get started (demo form) | Renamed Book a demo, on every page | Keep |
Log in | Top right of every page | Keep |
Changelog, Privacy, Terms, Security | Footer | Keep (4) |
Totals: of the 103 old pages, 95 kept, 5 merged and 3 cut, plus 3 new pages.
Tree test tasks
A good website sitemap puts every page in one place, names each section after a task visitors come to do, in their words, draws repeated pages once with a count, and puts the site’s main action within reach of every page. Here are four choices from Chairside’s redesign, the old site’s way and the new sitemap’s:
Resources: the blog, guides, webinars, the FAQ and success stories
Section: Customers for the stories and Blog for the posts, one task each.
Features, one long page
Section: Product, with Online booking, Reminders and Payments under it.
66 boxes, one per blog post
Repeated pages: Blog post x66.
Get started, linked from Pricing only
Main action: Book a demo, top right of every page.
Most websites fit in two or three levels under the home page: sections, pages, and sometimes one more. The MSU web team finds that “most websites can fit into two levels” (MSU). Chairside goes three deep in two places only: each integration sits under Integrations, in Product, and each job opening under Careers, in Company. Nine integration pages beside Online booking would crowd the Product menu.
Don’t count clicks to decide. Nielsen Norman Group calls the three-click rule “an arbitrary rule of thumb that is not backed by data” (NN/G): a fourth level with clear names beats a third with vague ones. A flat tree works best when the sections are distinct enough that visitors pick the right one first time, which is what the tree test checks.
To get the XML sitemap of a website, open /sitemap.xml on its domain, or look for a Sitemap line in its robots.txt: most sites built on a CMS publish one. To turn that file into a visual sitemap of an existing site, draw its URLs as a tree, by hand for a small site or with a tool that reads it.
The website-sitemap skill does this with your AI agent. An agent that runs skills, such as Claude Code, Codex or Cursor, reads the site’s sitemap and every sitemap nested in it, then draws the site on a Whimsical board through the Whimsical MCP: as a mind map, a flowchart with a table per section, or both. Pages built from one pattern are grouped and long lists are cut at 30, with the rest counted, so even a large site fits on one board, like this sitemap of whimsical.com, with 81 of its 733 pages drawn. The drawing follows URLs, not the site’s menus, so for a redesign treat it as the content inventory, not as the finished sitemap.
Yes. Give an AI assistant a site’s goal and a list of pages, or an existing site’s sitemap, and it drafts a grouped sitemap in seconds. We’d still check the groups with visitors: a draft can group pages by what they’re called rather than by what visitors come to do, which is how catch-all sections such as “Resources” happen.
With the Whimsical MCP, one of Whimsical’s integrations, Claude, ChatGPT and Cursor can draw that draft as a board you then edit by hand; for an existing site, the website-sitemap skill above starts from its live sitemap instead. This prompt asks for a sitemap like Figure 3 from an inventory like Chairside’s:
Start a visual sitemap for free as an indented list in a doc or spreadsheet, or as boxes on paper, then redraw it on any free whiteboard or diagram tool when you share it. For the XML kind, most content management systems make one at no cost, and xml-sitemaps.com builds one for free for sites of up to 500 pages.
For planning, yes, once a site has more than a handful of pages or more than one person deciding what goes on it. For Google, maybe not: Google says it “can usually discover most of your site” when pages are properly linked, and a site of about 500 pages or fewer may not need an XML sitemap (Google).
A UX sitemap is a sitemap that designers draw to plan how visitors find their way around a site. It’s the same tree of pages as a visual sitemap, usually with the main menu, the utility links and the footer marked on it. It comes before the wireframes, and the wireframes reuse its page names.
Information architecture (IA) is how a site’s content is organized, named and connected; a sitemap is the diagram that records it. Nielsen Norman Group says the IA “is documented in spreadsheets and diagrams, not in wireframes” (NN/G). In this guide, the content inventory is the spreadsheet and the sitemap is the diagram.
Wireframes. Once the sitemap settles which pages exist, pick the key path, the pages a visitor passes through to finish the main task, and wireframe those first. For Chairside, that’s Home, Pricing and Book a demo. Our guide on how to wireframe a website picks up from the sitemap.
Start from the sitemap template
A page tree three levels deep, plus a table version for notes on each page. Rename the boxes with your own sections and pages, then test the tree before you wireframe.
Open the sitemap template