* Free XML Sitemap Generator

XML Sitemap Generator: only the pages that count.

Enter your domain. We crawl up to 500 pages by following your links, leave out redirects, 404s, noindexed and non-canonical URLs, and give you a sitemap.xml to download. Free, no signup.

✓ Free, no signup✓ Up to 500 pages per run✓ Download sitemap.xml

How our sitemap generator builds your file

Unlike our other free tools, this one doesn’t read a sitemap you already have: it crawls your site and writes one. Step by step:

  • Reads robots.txt first and never requests a URL its rules block for us. If your robots.txt answers with a server error, we stop, because Google treats that as “crawl nothing” too.
  • Starts at your home page, following redirects to your main address (for example from example.com to www.example.com), and stays on that one address.
  • Follows the links in each page’s HTML, up to 500 requests per run. We don’t run JavaScript, so links that only appear after scripts run aren’t seen.
  • Keeps only indexable pages: a URL goes in the sitemap when it answers 200 with HTML, has no noindex (meta tag or X-Robots-Tag header), and its canonical tag, if any, points to itself.
  • Tells you what it left out and why: redirects, 404s, server errors, noindexed pages, pages whose canonical points elsewhere, and URLs robots.txt blocks.

Why “only indexable pages” matters

Google’s sitemap guide says to list the URLs you want to see in search results. Redirects, 404s and noindexed pages aren’t that, yet many generators list every URL their crawler touched. Ours applies the same checks as our sitemap checker before a URL goes in, so the file you download starts clean.

lastmod, changefreq and priority

We add <lastmod>only when your server sends a real Last-Modified date, and we drop dates that look like a build or server timestamp (one date shared by most pages, or a date from the last hour). Google uses lastmod only when it’s accurate, and it ignores changefreq and priority, so we don’t write those.

When a generated file isn’t the best choice

A file you upload by hand doesn’t update itself. If your platform can build the sitemap (WordPress, Shopify, Wix, Squarespace and Next.js all can), use that and let it stay current; see how to create a sitemap. The generator is the quick fix for hand-built and static sites, and a way to see which of your URLs actually qualify. On sites with more than 500 pages, one run won’t reach everything.

Common questions

How does the sitemap generator work?
Enter your domain. We read your robots.txt, start at your home page and follow the links in each page's HTML, up to 500 requests. Pages that answer 200 with no noindex and a canonical pointing to themselves go into the sitemap; everything else is listed with the reason we left it out.
Is it free? Is there a page limit?
Yes, it's free with no signup. One run makes up to 500 requests, so on a bigger site some pages won't be reached. For large or fast-changing sites, a sitemap built by your CMS or framework is the better choice, because it updates itself.
Why are some of my pages missing?
We only find pages that other pages link to, and we don't run JavaScript, so links added by scripts aren't seen. We also skip URLs your robots.txt blocks, and leave out redirects, 404s, server errors, noindexed pages and pages whose canonical points elsewhere.
Do you add lastmod, changefreq or priority?
Only lastmod, and only when your server sends a real Last-Modified date. We drop dates that look like a build or server timestamp. Google ignores changefreq and priority, so we leave them out.
What do I do with the file?
Upload it to your site's root so it opens at yourdomain.com/sitemap.xml, add a Sitemap: line to robots.txt, and submit it in Google Search Console and Bing Webmaster Tools.