Website Sitemap Generator
We scan your public homepage and collect same-origin links to produce a valid sitemap.xml you can copy, upload, and submit to Google Search Console.
Next: Validate your sitemap or extract URLs from an existing sitemap file.
About this website sitemap generator
Search engines find your pages by crawling links — but they only crawl every page on every site once. A sitemap.xml file is the shortcut: a single XML file that lists every URL you want indexed, so Google, Bing, and AI training crawlers know exactly what's there without guessing. This free sitemap generator fetches your homepage, extracts every same-origin link, and produces a clean, valid sitemap.xml you can copy in one click.
It's built for solo founders shipping a new landing page, marketers who don't want to install yet another WordPress plugin, and developers who need a starter sitemap before wiring up a proper build-time generator. Big enterprise sites with 10,000+ URLs should still rely on a CMS-driven sitemap; this tool is the fastest path for everything else.
When to use this tool
- You just launched a site and don't have a sitemap.xml yet.
- Your CMS doesn't auto-generate one (common with custom Next.js or static sites without next-sitemap).
- You want a quick second sitemap to submit alongside your CMS-generated one.
- You need a clean URL list to feed into an AI chatbot, RAG pipeline, or web crawl job.
- You want to preview which pages a search engine would discover from your homepage.
How it works
- 1
Enter your homepage URL
Paste your full site URL (e.g. https://yourdomain.com). The tool only accepts public http(s) URLs — private networks and metadata services are blocked for safety.
- 2
We crawl the homepage
In one fetch we download your homepage HTML, parse every <a href> link, filter to same-origin URLs, and deduplicate. No deep crawling means it runs in seconds rather than minutes.
- 3
Copy the sitemap.xml
You get a properly formatted urlset XML document with up to 500 URLs. Copy it, save it as sitemap.xml at your site root, and submit the URL in Google Search Console under Sitemaps.
Frequently asked questions
Do I need a sitemap.xml for SEO?
+
For sites under ~50 pages with good internal linking, Google can usually find everything without one — but submitting a sitemap still speeds up indexing of new pages and gives you coverage reports in Search Console. For sites with deep navigation, JavaScript-rendered pages, or new domains, a sitemap.xml moves from "nice to have" to "required."
How do I create a sitemap.xml file?
+
Either install a sitemap plugin (Yoast on WordPress, next-sitemap on Next.js) or use this generator: paste your homepage URL, copy the output, save it as sitemap.xml at your site root, and submit the URL to Google Search Console.
How many URLs can one sitemap contain?
+
The sitemaps.org standard caps a single sitemap at 50,000 URLs or 50 MB uncompressed. Larger sites split into multiple sitemaps and use a sitemap index file. This generator caps output at 500 URLs from your homepage — enough for most small-to-medium sites and ideal as a starter file.
How is this different from a sitemap plugin?
+
Plugins crawl your full CMS database and update automatically when you publish. This tool is faster (no install, no auth) but only sees what is linked from your homepage in a single request. Use it for one-shot needs; use a plugin or build-time generator for production.
Where do I put the sitemap.xml file?
+
At your site root, accessible at https://yourdomain.com/sitemap.xml. Most static hosts (Vercel, Netlify, Cloudflare Pages) let you drop the file in a public/ directory. WordPress and Shopify handle this automatically through their plugins. After uploading, submit the URL in Google Search Console > Sitemaps.
Will this find JavaScript-rendered pages?
+
No — this tool does a single static HTML fetch, so client-side-only routes (React Router, Next.js client-only pages) won't appear unless they're also linked from the static HTML. For JS-heavy sites, use Next.js's built-in sitemap export or run a headless browser crawl.
Tools you might pair with this
Built for the same workflow — pick the next step in your stack.
XML Sitemap Validator
Validate the sitemap.xml you just generated before submitting to Google.
Open toolSitemap URL Extractor
Pull URLs out of an existing sitemap to compare against this one.
Open toolWebpage to Markdown
Convert each URL on your sitemap to Markdown for a chatbot knowledge base.
Open toolPDF to FAQ
Pair your sitemap with FAQ content built from PDF documents.
Open toolYour sitemap is ready — train an AI chatbot on it
BuiltABot reads your sitemap, crawls every URL, and trains a 24/7 chatbot on your real content. Lead capture, answers, and human handoff in one widget.
Explore More Free Tools
Discover our complete suite of AI-powered tools designed to help you build better chatbots.