Skip to content

Free tool

Free XML sitemap checker and generator

Find your sitemap, count its pages and spot errors, missing pages and redirects. No sitemap yet? Paste your page addresses and download one.

We look in robots.txt, /sitemap.xml and /sitemap_index.xml. Nothing is saved.

What a sitemap is and why it matters

An XML sitemap is a list of the pages on your website that you want search engines to find. Google and Bing read it to discover new and changed pages faster, especially on sites with few links pointing in. AI search tools that build on these search indexes benefit too.

A sitemap doesn't force Google to show a page, but a broken one wastes the hint. A sitemap full of deleted pages or redirects tells Google the list isn't reliable.

What the checker looks at

  • Where your sitemaps are. We read the Sitemap: lines in robots.txt and try /sitemap.xml and /sitemap_index.xml. If a file is a sitemap index, we follow up to 10 of the sitemaps it lists.
  • Whether the XML is valid. One unescaped & or a missing closing tag can make a file unreadable. We show the line to fix.
  • The protocol limits. The sitemaps.org protocol allows at most 50,000 URLs and 50 MB (uncompressed) per sitemap file. Bigger sites split their list and point to the parts from a sitemap index.
  • The addresses inside. We flag http:// addresses, pages on another host (www and non-www count as different), duplicates, and entries that are not full addresses.
  • Dates. We count how many URLs have a lastmod date, how many are in the wrong format or in the future, and how many are older than 12 months.
  • A sample of real pages. We open up to 20 pages spread through your sitemap to spot missing pages (404) and redirects.

To keep the tool fast and fair, one check reads at most 50,000 URLs and 10 MB in total. The generator takes up to 1,000 addresses and runs entirely in your browser.

How to fix common sitemap problems

  1. No sitemap found. WordPress, Shopify, Wix and Squarespace make one automatically; look in your SEO plugin or site settings. Otherwise use the Generator tab and upload the file to your site's main folder.
  2. Not listed in robots.txt. Add a line such as Sitemap: https://yoursite.com/sitemap.xml, and submit it in Google Search Console as well.
  3. Missing pages and redirects. List only live pages at their final address. Most plugins update this for you once old pages are deleted properly.
  4. Wrong host or http://. Use the exact version your site redirects to, for example https://www.yoursite.com.
  5. Unreliable dates. Google says it uses lastmod only when it is consistently accurate. Set it from the real date a page changed, not today's date on every page.

A clean sitemap is one of many signals. Run the free website check for the full picture, test your file with the robots.txt tester, or start a 7-day free trial to keep an eye on your site every week.

Get one easy tip a week

We'll email you one simple fix each week to help Google and AI find your business. No spam. Leave any time.

Questions

Sitemap questions

Does every website need a sitemap?

Not strictly. Google says a small site that is well linked internally may not need one. A sitemap still helps new sites, sites with few outside links and sites that add pages often. It costs nothing and most website builders create one for you.

How many URLs can one sitemap hold?

Up to 50,000 URLs, and the file must be 50 MB or smaller before compression. Larger sites split their pages across several sitemaps and list those files in a sitemap index. One index can list up to 50,000 sitemaps.

Do priority and changefreq matter?

Not for Google. Google says it ignores the priority and changefreq values in sitemaps. It does use lastmod, but only when the dates are consistently accurate. You can leave priority and changefreq out; our generator does.

Should old pages stay in my sitemap?

Yes, if they are still live and useful. A page older than 12 months is not a problem by itself. Remove pages that are deleted, redirected or marked noindex, because a sitemap should only list pages you want to appear in search.

Where do I upload the sitemap I generate here?

Upload sitemap.xml to the main folder of your website, so it opens at yoursite.com/sitemap.xml. Then add a Sitemap: line to robots.txt and submit the address in Google Search Console. If your website builder already makes a sitemap, use that one instead.