Site Architecture Visualizer

Search engines infer how important a page is partly from how few clicks it takes to reach it. Type a domain and this tool fetches the site’s real sitemap for you — reading robots.txt, following it to the XML sitemap, walking any sitemap index — then draws the true shape of the site: homepage at the top, every section nested beneath. It tells you where pages are buried too deep, which section dominates, and whether the architecture is flat enough to crawl. No sitemap, or want to map a list of your own? Paste URLs straight in instead.

Site architecture is the parent-child hierarchy of your pages, measured in clicks from the homepage. Enter a domain and this tool reads its robots.txt, follows it to the XML sitemap, and pulls the live URLs — or you can paste your own list or sitemap. It strips the protocol, host, query and anchor from every URL, splits each path into segments, and builds a nested tree with the homepage as the single root. It then reports your total URLs, top-level sections, maximum depth, your widest section, and how many pages sit deeper than three clicks — the rough threshold beyond which pages get crawled and ranked less.

The calculator

Site Architecture Visualizer inputs and result

Enter any domain and press Fetch & map. The tool reads the site’s robots.txt, follows it to the XML sitemap(s), walks any sitemap index, and drops the live URLs into the box below — then draws the tree. No sitemap? Paste URLs manually instead.
Filled automatically when you fetch a site above — or paste your own here as a fallback. One URL per line, or a whole XML sitemap (the tool reads every <loc> entry). Query strings and anchors are ignored; duplicate paths are merged. The tree re-draws as you type.
Limits how many levels the tree draws; branches below the limit collapse to a “+N more” summary so large sites stay readable.
Leave blank to infer the domain from the most common host in your list. Set it to filter a mixed list down to one site.
✓ Flat and crawlable
Total URLs mapped
0
0top-level sections
0max depth (clicks)
0pages &gt; 3 clicks deep
Export
Structural insights &amp; what each one means
MetricValueWhat it tells you

Walkthrough

How to use this calculator

  1. Enter a domain, or paste your URLsThe fast path: type a site URL (example.com) and click Fetch & map. The tool reads the site’s robots.txt, follows it to the XML sitemap, walks any sitemap index, and loads the real URLs for you. No sitemap, or want to map a custom list? Paste page URLs one per line, or the entire contents of an XML sitemap, into the box — the tool reads every <loc> tag and ignores blank lines and comments.
  2. Pick a display depthChoose how many levels to draw. Two or three keeps a big site readable; “All” shows everything up to the render cap. Anything below the limit is summarized as a “+N more” count rather than dumped.
  3. Read the treeThe homepage sits at the top, with each section nested beneath it and a badge showing how many pages live under that branch. Branches deeper than three clicks are flagged, because those pages are the hardest to crawl and rank.
  4. Check the insightsThe table reports total URLs, top-level sections, maximum and average depth, your widest section, pages buried beyond three clicks, and single-child chains — each with a plain-language read on whether it helps or hurts.
  5. Act on the verdict, then exportUse the verdict and analysis to decide what to flatten or relink, then copy a share link, export the metrics to CSV, or print the whole map for a structure review.

From the desk

RGM Expert Says

Real Growth Matters &mdash; Technical SEO &amp; site structureHow we use this tool with clients

The first thing we do on a technical SEO engagement is draw the site — not look at a list of URLs, but actually see the tree. A flat list hides the problem; the tree shows it instantly. You can spot a section that has quietly grown five levels deep, a homepage that links to forty top-level folders, or a thin pass-through directory that adds a click for no reason. None of that is obvious in a spreadsheet, and all of it shapes how Google crawls and ranks the site.

The number we keep coming back to is click depth. Google has said for years that it infers a page’s importance partly from how many links it takes to reach it, and pages buried deep in the tree get crawled less often and rank worse. So when this tool flags pages sitting more than three clicks from home, that is not a vanity metric — it is a list of pages that are quietly being starved of crawl attention and internal authority. The fix is almost always internal linking: hub pages, category listings, and related-content blocks that pull deep pages closer to the surface.

Use this before a migration, after a big content push, or whenever a section stops ranking the way it should. Type the domain, let the tool pull the live sitemap, look at the shape, and ask the two questions that matter: is anything buried too deep to crawl, and is one branch swallowing the whole site? Those two answers drive more SEO lift than most on-page tweaks, because they change how every page in the tree is discovered.

The math

How it works

The logic is plain text parsing, not magic. When you fetch a domain, the tool reads its robots.txt, follows it to the sitemap, and gathers the live URLs; from there every URL is reduced to a pathname, the pathname is split into segments, and the segments are threaded onto a tree whose single root is the homepage.

Click depth of a page = number of path segments after the domain
Homepage (“/”) = depth 0  ·  /blog/ = depth 1  ·  /blog/post/ = depth 2
Pages under a node = count of all URLs whose path passes through that node
Widest section share = pages in largest section ÷ (total URLs − homepage)
  • Click depth — how many links it takes to reach a page from the homepage; the lower the better for crawling and ranking.
  • Top-level sections — the first path segment after the domain (/blog/, /products/, /about/); these are the trunk of the tree.
  • Widest section — the top-level branch holding the most pages; a healthy site is not dominated by a single branch.
  • Single-child chain — a folder with exactly one child, which adds a level of depth without adding any real structure.

Depth is measured by path segments, which is a close proxy for click depth on well-linked sites; a page reachable by a shortcut link can be fewer clicks from home than its URL implies. Treat the depth figures as a structural signal, and confirm true click depth with a crawler such as Screaming Frog when it matters.

Why it matters

Why depth and shape decide what gets crawled

Search engines do not crawl every page equally. Google has said plainly that it uses the number of links it must follow to reach a page — and the number of links pointing at it — to infer how important that page is relative to the rest of the site. A page sitting six clicks down a lonely branch reads as unimportant, gets crawled less often, and struggles to rank, no matter how good the content is.

That is why a flat, shallow architecture is the default advice from credible technical SEO sources. The rule of thumb — keep the pages you care about within roughly three clicks of the homepage — is not a hard law, but it captures something real: every extra level multiplies the links a crawler must follow and the authority that has to flow down to reach the page. Flattening the tree puts important pages closer to the front door.

Shape matters as much as depth. A top-heavy site where one branch holds most of the pages can bury individual URLs deep inside that branch while starving smaller sections of internal links. Single-child chains do the same damage quietly, adding clicks with no structural payoff. Seeing the whole tree at once is the fastest way to catch both problems before they cost you crawl budget and rankings.

Benchmarks

Rules of thumb for site depth

These are widely-cited rules of thumb from technical SEO practice, not promises — the right shape depends on your site’s size and how well it is internally linked. Treat them as targets to aim at, then verify true click depth with a crawl.

SignalRule of thumbWhy it matters
Click depth of key pagesWithin ~3 clicks of homeDeeper pages get crawled and ranked less; Google infers importance from link distance.
Maximum site depthKeep as shallow as the content allowsEach extra level multiplies links a crawler must follow to reach the page.
Top-level sectionsA focused handful, not dozensToo many top-level folders crowd the nav and dilute internal authority.
Widest section shareNo single branch dominating the siteTop-heavy trees bury pages inside one branch and starve the rest.
Single-child chainsCollapse where you canPass-through folders add depth without adding structure.
Orphan pagesZero &mdash; every page linked from somewhereA page with no internal links may never be crawled at all.
Rules of thumb, directional only. Sources: Google Search Central — link architecture, Google — crawlable links best practices, Google — site structure for ecommerce, Screaming Frog — internal linking audit. See RGM’s internal linking deep dive.

Voices worth trusting

What search engineers and SEOs say

Google uses the number of links it needs to follow to reach a page, and the number of links to a page, to infer the relative importance of that page on your site.
site structure documentation (paraphrase)
Draw the tree before you touch a single page. A flat list hides the buried sections; the hierarchy shows you exactly which pages the crawler will struggle to reach.
RGM analysis
on technical SEO audits

Go deeper

Go deeper on site structure

Related on RGM

Keep learning

FAQ

Common questions

What does the site architecture visualizer do?
Enter a domain and it fetches the site’s real sitemap for you — reading robots.txt, following it to the XML sitemap, and walking any sitemap index — then turns those URLs into a hierarchical parent-child tree, with the homepage at the top and every section nested beneath it. Each branch shows how many pages live under it, and the tool reports structural metrics like depth, widest section, and how many pages sit more than three clicks from home. You can also paste your own list of URLs or an XML sitemap instead.
How does fetching a site work?
When you enter a domain and click Fetch & map, the tool asks the RGM Tools service to read that site’s robots.txt, locate the sitemap it points to, walk any sitemap index to gather child sitemaps, and return the live list of URLs (capped for very large sites). Those URLs drop straight into the box so you can see and edit them, and the tree draws automatically. If a site has no sitemap or blocks the request, you can always paste URLs manually as a fallback.
Can I paste an XML sitemap directly?
Yes. If the text contains <loc> tags, the tool reads every URL inside them and ignores the rest of the XML. Otherwise it treats the box as one URL per line. You can paste the raw output of /sitemap.xml straight in, or let the fetch step fill it for you.
Why does click depth matter for SEO?
Google infers a page’s importance partly from how many links it must follow to reach it. Pages buried deep in the tree get crawled less often and tend to rank worse. Keeping important pages within roughly three clicks of the homepage is a long-standing rule of thumb for exactly this reason.
How does the tool measure depth?
It counts the path segments after the domain: the homepage is depth 0, /blog/ is depth 1, /blog/post/ is depth 2, and so on. That is a close proxy for click depth on well-linked sites, though a shortcut link can make a page fewer clicks from home than its URL suggests.
Does it handle large sitemaps?
Yes. It parses thousands of URLs, but to stay readable it caps the number of drawn rows and summarizes branches below your chosen depth limit as a “+N more” count. The metrics are still calculated across every URL, not just the visible ones.
Is anything uploaded to a server?
Only the domain you ask us to fetch. When you click Fetch & map, that domain is sent to the RGM Tools service so it can read the public robots.txt and sitemap on your behalf. The URLs that come back are parsed and drawn entirely in your browser. If you paste URLs manually instead, nothing leaves the page at all — so a private staging list or an unpublished sitemap stays local.

Related tools

Related tools