What belongs in this site's sitemap?

Enter a start page. The tool follows the links from there, checks each page the way Googlebot would, and writes a sitemap.xml with only the pages that can be indexed.

Usually the home page. The tool follows the links from there and stays on the same site. It reads 300 pages at most.

What it does

  • Follows links. It starts at your page and follows every link that stays on the same site (same protocol, host and port), level by level, three pages at a time.
  • Cleans the addresses. Fragments such as #top are dropped, and so are tracking parameters (utm_*, gclid, fbclid, msclkid), so one page is not listed under several addresses. Links to images, PDFs, archives, style sheets, scripts, fonts and media files are skipped, as are mailto: and tel: links.
  • Keeps only pages that can be indexed. A page goes into the sitemap when it answers 200, is HTML, carries no noindex, is open to Googlebot in robots.txt, and names itself or nothing as its canonical. These are the rules of the noindex checker.
  • Shows what it left out. Redirects, errors, noindex pages, blocked addresses, canonicals that point elsewhere and files that are not HTML are counted, each with its evidence.
  • Writes the file. A sitemap in the 0.9 protocol, sorted, with special characters escaped. If you ask for it, <lastmod> is added for pages whose server sends a Last-Modified header. A Last-Modified that only repeats the time of the request is ignored.

What it can't see

Links added by JavaScript. It reads the HTML as the server sends it, so a menu or a product list that a script builds in the browser is not seen.

Pages that no link leads to. Only pages reachable by links from the start page are found. A page you can reach only through a search box, a form or a login stays out.

More than 300 pages. That is the limit of this tool. For a larger site, use the sitemap your CMS or shop platform makes, and check it with the sitemap finder.

What lies behind a blocked address. An address that robots.txt closes to Googlebot is not opened, so links that appear only on that page are not followed.

Sites that refuse automated visitors. Pages that answer 403 here are counted as errors, even when a search engine can open them.

Questions

Where do I put the sitemap?

Upload it to the root of the site, so that it answers at https://example.com/sitemap.xml. Google recommends the root, because a sitemap only affects the URLs in its own folder and below unless you submit it in Search Console. Then add a Sitemap: line with its full URL to robots.txt, or submit it in Search Console.

Do I need this if my CMS already makes a sitemap?

Probably not. Google notes that a CMS has likely made a sitemap available already, so look for it with the sitemap finder first. This tool is for sites that have none, and for comparing what a crawl finds with what your sitemap lists.

Why does the sitemap have no priority or changefreq?

Because Google says it ignores both. <lastmod> is the optional tag it does use, and only when the dates prove accurate over time. That is why adding it is your choice here.

Why is a page I expected missing?

Look for it in the list of addresses left out, which gives the reason and the evidence. If it is not there either, no link that this tool can read leads to it from the start page.