Skip to tool
Internet Marketing Ninjas logo

Google XML Sitemap Generator

Crawl your site, generate a valid sitemap.xml for Google and Bing, and see broken pages, redirects and indexing issues found along the way.

One pattern per line; * is a wildcard.

How to use your sitemap

  1. Download sitemap.xml and upload it to the root of your website.
  2. Add Sitemap: https://www.example.com/sitemap.xml to your robots.txt.
  3. Submit it in Google Search Console and Bing Webmaster Tools.

Regenerate the sitemap whenever you add or remove pages. The crawl runs in your browser tab and nothing is stored on our servers, so keep the tab open until it finishes.

Frequently Asked Questions

Which pages go into the sitemap?
HTML pages on your domain that return 200 OK, aren’t blocked by robots.txt, aren’t marked noindex, and are their own canonical. Everything else is listed under issues with the reason it was left out.
Where do I put the sitemap?
Upload sitemap.xml to your site’s root (e.g. https://www.example.com/sitemap.xml), add a Sitemap: line to robots.txt, and submit it in Google Search Console and Bing Webmaster Tools.
Do I need priority and changefreq?
Google ignores both, but some other search engines and tools still read them. lastmod matters most. We take it from your server’s Last-Modified header when it’s available.