XML Sitemap Generator — Free Online
Paste a URL, get a valid XML sitemap in seconds. Crawls up to 2,000 internal pages. Ready to upload to your server and submit to Google Search Console.
About this XML sitemap generator
This is a free online tool that crawls your website and produces a valid XML sitemap conforming to the sitemaps.org 0.9 schema. Paste your homepage URL, click Generate, and within a few seconds you get a sitemap.xml file that lists every internal page our crawler discovered, complete with lastmod, changefreq, and priority tags. No signup, no watermark, no daily quota beyond a per-IP rate limit.
Why every website needs an XML sitemap
An XML sitemap is the single most important file for search engine optimization after your robots.txt. It tells Google, Bing, and other search engines exactly which pages exist on your site and how often they change. Without one, search engines have to discover your pages by following links — which means new content can take days or weeks to be indexed. With a sitemap, indexing is usually within hours.
What you get
- A valid XML file you can name
sitemap.xmland upload to your website root - Up to 2,000 URLs from your site, discovered by a breadth-first internal-link crawl
lastmodset to today's date, so search engines know when to re-crawlchangefreqandpriorityset to your chosen defaults- Automatic XML escaping for URLs containing
&,?, and other reserved characters
How to use the generated sitemap
- Copy or download the XML produced above
- Save it as
sitemap.xmlin your website's root directory (so it lives athttps://yoursite.com/sitemap.xml) - Add this line to your
robots.txt:Sitemap: https://yoursite.com/sitemap.xml - Submit the URL in Google Search Console under Sitemaps in the left nav
- Re-run this tool monthly (or whenever you publish significant new content) to keep it fresh
Limitations
This crawler reads server-rendered HTML. Sites that rely entirely on client-side JavaScript rendering (older React, Vue, or Svelte SPAs without SSR) may produce empty or incomplete sitemaps because their pages do not exist in the initial HTML. If that's you, generate the sitemap from your framework's build step (Next.js, Astro, Nuxt, and SvelteKit all have plugins) and use this tool only for spot-checks.
Privacy
We do not log the URLs you enter or the pages we crawl. The crawl runs in memory on our server and the result is returned to your browser only. Aggregate counters (number of generations per day) are recorded for capacity planning.
Need a chatbot trained on your sitemap?
CustomMind AI crawls your sitemap, indexes every page, and gives you a chatbot that can answer any question about your site — embedded in one line of code on your homepage.
Try CustomMind AI free →14-day free trial
Frequently asked questions
How do I generate an XML sitemap?
Paste your website URL above and click Generate. We crawl your site (up to 2,000 internal pages by default) and return a valid sitemap.xml ready to upload to your server and submit to Google Search Console.
Is this sitemap generator free?
Yes — completely free, no signup, no watermark. Crawls up to 2,000 URLs at depth 4 by default.
What do I do with the generated sitemap?
Save it as sitemap.xml in your website's root directory, add a Sitemap: directive to your robots.txt pointing to it, and submit the URL in Google Search Console under Sitemaps.
Why are some pages missing from my sitemap?
Our crawler follows internal links from the homepage. If a page is not linked from any other page, or sits behind JavaScript rendering, it will not be discovered. Add it manually if needed.
Does it work with JavaScript-rendered sites?
Partially. We read server-rendered HTML. Pages that only exist after client-side React, Vue, or Svelte rendering may not be discovered. For full SPA support, use server-side rendering or a pre-rendered sitemap from your framework.