Help
Sitemap Builder reads an XML sitemap and shows all of its URLs as diagrams, a table, and statistics. This page tells you what the tool does for you, how to use it, and what each view shows.
What the tool does for you
A sitemap tells search engines which pages a site has. A large sitemap is a long list of addresses, and a list does not show the shape of a site. Sitemap Builder changes that list into a picture. Use it to:
- See the structure of a site. The tree, treemap, and sunburst put each URL in its folder, thus you see the sections and how deep they go.
- Find the largest sections. A large area or a long bar shows where most of the pages are.
- Find pages that are too deep. The depth chart shows how many URLs are far from the home page.
- Check the dates. The tool counts the URLs with a
lastmoddate and shows the dates by month. Old or missing dates are easy to see. - Compare sitemap files. See how many URLs each file supplies, find files that failed, and remove files from the views to compare them.
- Find problems in the sitemap. The tool counts duplicate URLs, files that failed, images, videos, and
hreflanglinks. - Save the data. Save a diagram as SVG, the URL list as CSV, or the full tree as JSON.
The tool is free and needs no account. Your browser reads the sitemap and draws all views. If a site blocks direct browser access, our server downloads the file for you. We do not store sitemap data.
How to use it
1. Load a sitemap
The home page has three tabs. Select one:
- URL
- Type the address of a sitemap, for example
example.com/sitemap.xml, and select Build. If you do not typehttps://, the tool adds it. If you type only a domain, for exampleexample.com, the tool reads theSitemap:lines in therobots.txtfile of the site. If there are none, it uses/sitemap.xml. - Paste XML
- Paste the text of a sitemap (a URL set or a sitemap index) and select Build.
- Upload file
- Select a
.xml,.xml.gz, or.txtfile and select Build. A.txtfile has one URL on each line. Pasted text and uploaded files do not go to our server.
2. Watch the progress
The Progress panel shows how many sitemap files the tool has read and how many URLs it has found. Open Sitemap files to see each file, its status, its number of URLs, and its size. Select Cancel to stop. The tool then shows the URLs that it found before you stopped it.
A sitemap index points to other sitemap files. The tool follows these files automatically. The tool can ask you two questions:
- Sitemap on a different host. The index points to files on a different site. Select Download them or Skip these files.
- Denied by robots.txt. The
robots.txtfile of the site does not permit our server to download some sitemap files. Select Try a direct download to let your browser try, or Skip these files. See About the bot.
3. Look at the results
The results have three parts: the summary tiles, the list of sitemap files, and the view panel. Select a tab in the view panel to change the view: Tree, Treemap, Sunburst, Table, or Statistics. See The views. Use the Save SVG, Save CSV, and Save JSON buttons to save the data. See Save the data.
4. Include or exclude sitemap files
If two or more sitemap files have URLs, the panel Sitemap files in the views shows above the views. Clear the check box of a file to remove its URLs from the diagrams, the table, the statistics, and the exports. Use Include all and Exclude all to change all files. If a URL is in more than one file, it stays in the views while one or more of its files is included.
Tip: share a link
A link such as https://www.sitemapbuilder.co.uk/?url=https://example.com/sitemap.xml puts the address in the field. The download starts only when you select Build.
The views
The figures show one example site, www.example.com. Its sitemap index points to two files: post-sitemap.xml (120 URLs) and page-sitemap.xml (115 URLs). The site has 235 URLs in four sections: /blog, /products, /help, and /about. The figures are drawings. In the tool, all views are interactive.
Summary tiles
Six tiles above the views give the main numbers for the sitemap.
- URLs
- The number of unique URLs. If a URL is in the sitemap more than one time, the tool counts it one time and shows the number of duplicates that it removed.
- Sitemap files
- All files that the tool read, index files included. The note shows the number of files that failed, and the number of files that you excluded.
- Hosts
- The number of different host names in the URLs, for example
www.example.comandshop.example.com. - Deepest path
- The largest number of folders in a URL path. The home page is depth 0.
/products/shoes/item-1is depth 3. - With lastmod
- The percentage of URLs that have a
lastmoddate. - Images / videos
- The number of image and video entries (Google image and video sitemap tags). If the sitemap has
hreflanglinks, the note shows their number.
Tree
The tree shows each folder of the site as a node. The site is at the left, and each level is one step to the right. Use the tree to see the full structure and to find one page.
/blog and /products are open. /help and /about are closed.- A circle with a fill is a closed branch. Select it to open it. Select an open branch to close it.
- A grey circle is a page with no pages below it.
- The tree opens two levels at the start. Use Open one more level and Close one level to change all branches.
- Drag to move the tree. Use the mouse wheel or a pinch to zoom. Reset position puts the tree back in view.
- A node shows its first 200 children. A Show 200 more node shows the next 200.
- Select a node to see its URL, its number of URLs, and its
lastmoddate above the tree. A folder that is not a page in the sitemap shows "(not a page in the sitemap)". - Save SVG saves the full tree, not only the part that you see.
Treemap
The treemap shows each section as a rectangle. The area of a rectangle is the number of URLs. The colour shows the top-level section. Use the treemap to compare the size of sections.
/blog has 120 of 235 URLs, thus it fills approximately half of the area.- The treemap shows two levels below the current node.
- Select a rectangle to zoom in to its section. The path at the top shows where you are. Select a name in the path to go back up.
- Put the pointer on a rectangle to see its path, its number of URLs, and its percentage of the view.
- The first eight sections each have a colour. The other sections are grey, with the name "Other".
- "(this page)" is the page of the folder itself, for example
/blog/. "N more" is a group of small branches.
Sunburst
The sunburst shows the site as rings. The centre is the current node. Each ring is one level deeper. The angle of a segment is the number of URLs. Use the sunburst to see how a section divides into subsections.
- The sunburst shows three rings below the current node.
- Select a segment to zoom in. Select the centre to go up one level.
- The centre shows the number of URLs in the view and the name of the current node.
- The sunburst and the treemap use the same colours and the same zoom position.
Table
The table shows one row for each URL. Use the table to find, filter, and sort URLs.
- URL
- The address from the
<loc>tag. Select it to open the page in a new tab. - Last modified
- The
<lastmod>date, and the time if the sitemap gives one. - Change freq. and Priority
- The
<changefreq>and<priority>values. - Depth
- The number of folders in the path. The home page is 0.
- Sitemap
- The file that supplied the URL. Put the pointer on it to see the full address.
- Type in Filter URLs to show only the URLs that contain the text.
- Select a file in All sitemaps to show only the URLs from that file.
- Select a column name to sort. Select it again to change the direction. Select it a third time to stop the sort.
- The table shows 250,000 rows without problems: it draws only the rows that you can see.
Statistics
The statistics view has four charts. Put the pointer on a bar to see its value. Below each chart, Show the data as a table shows the numbers.
Largest sections
Number of URLs below each top-level path.
Path depth
Number of URLs at each depth. Depth 0 is the home page.
Last modified, by month
220 of 235 URLs have a lastmod value.
- Largest sections
- The number of URLs below each top-level folder. The chart shows the largest 12. The table shows all.
- URLs for each sitemap file
- The number of unique URLs that each file supplied. A file with 0 URLs can be a problem. The chart shows the largest 12. The table shows all.
- Path depth
- The number of URLs at each depth. Many URLs at a large depth can mean that users and search engines need many clicks to find them.
- Last modified, by month
- The number of URLs with a
lastmoddate in each month. The chart shows the last 36 months. The text above the chart tells you how many URLs have a date, and how many older URLs are not in the chart.
Save the data
The buttons above the views save files to your computer. Your browser makes the files. No data goes to our server.
- Save SVG
- Saves the current diagram (tree, treemap, or sunburst) as an SVG image. You can open it in a browser or a drawing program. The table and statistics views have no SVG.
- Save CSV
- Saves one row for each URL, for a spreadsheet. In the table view, the file has the rows that the filters show, in the sort order. In the other views, it has all URLs.
- Save JSON
- Saves the list of sitemap files and the full tree, for other programs.
url,lastmod,changefreq,priority,depth,images,videos,alternates,sitemap
https://www.example.com/,2026-09-01,daily,1.0,0,0,0,0,https://www.example.com/page-sitemap.xml
https://www.example.com/blog/2026/post-27,2026-10-14,weekly,0.6,3,1,0,0,https://www.example.com/post-sitemap.xml
https://www.example.com/products/shoes/item-12,2026-10-02T09:30:00+01:00,daily,0.8,3,3,0,0,https://www.example.com/page-sitemap.xml
images, videos, and alternates columns count the image, video, and hreflang tags of each URL.{
"generator": "sitemapbuilder.co.uk",
"sitemaps": [
{ "url": "https://www.example.com/sitemap_index.xml", "type": "index", "status": "done", "count": 2 },
{ "url": "https://www.example.com/post-sitemap.xml", "type": "urlset", "status": "done", "count": 120 },
…
],
"tree": {
"name": "www.example.com",
"count": 235,
"url": "https://www.example.com/",
"children": [
{ "name": "blog", "count": 120, "url": "https://www.example.com/blog/", "children": [ … ] },
…
]
}
}
lastmod date. An excluded sitemap file has "excluded": true.Messages and problems
The Progress panel shows a status for each sitemap file: done, error, skipped, or cancelled. A file that failed shows the reason. The other files still go into the views. If an entry is not a valid http or https URL, the tool ignores it and tells you how many entries it ignored.
The tool has limits that keep your browser fast:
- 500 sitemap files. If an index has more, the tool reads the first 500.
- 250,000 URLs. If the site has more, the tool stops at the limit.
- Three levels of index files. The sitemap protocol does not permit an index in an index, but some sites use them.
The tool shows a message when it gets to a limit. If the site does not let your browser download the sitemap, our server downloads it. Our server obeys robots.txt. If a sitemap does not load, examine the address, and make sure that the file is a sitemap and not an HTML page.
To report a problem, use GitHub.