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.
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.comtowww.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-Tagheader), 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.