🗺 XML Sitemap Generator
Create valid XML sitemaps for your website. Add URLs manually or in bulk, customize settings, and download your sitemap.xml.
No URLs added yet. Add URLs above to generate your sitemap.
What Is an XML Sitemap?
An XML sitemap is a structured file that lists all the important pages on your website, providing search engines with metadata about each URL. It follows the Sitemap Protocol and helps search engine crawlers discover and index your pages more efficiently.
Sitemap Best Practices
- Include only canonical, indexable URLs — no redirects, 404s, or noindex pages.
- Keep each sitemap under 50,000 URLs and 50MB uncompressed.
- Use a sitemap index file if your site exceeds 50,000 URLs.
- Submit your sitemap to Google Search Console and Bing Webmaster Tools.
- Reference your sitemap in
robots.txtwith:Sitemap: https://example.com/sitemap.xml - Update
<lastmod>only when content actually changes — don't set it to the current date on every build.
Frequently Asked Questions
An XML sitemap is a file that lists all important URLs on your website. It helps search engines discover and crawl your pages more efficiently, especially for new sites, large sites, or pages with few internal links.
Yes. The sitemap is generated entirely in your browser. Your URLs and site structure are never sent to any external server, making it safe to use for private or pre-launch websites.
Upload the generated sitemap.xml to your site's root directory, then submit the URL in Google Search Console under Sitemaps. You can also reference it in your robots.txt file with a Sitemap: directive for automatic discovery.
Priority ranges from 0.0 to 1.0 and indicates relative importance within your site. Your homepage is typically 1.0, key pages 0.8, and less critical pages 0.5 or lower. Changefreq (daily, weekly, monthly) hints at how often a page updates, though Google largely ignores it.
Common mistakes include listing URLs that return 404 errors, including noindexed pages, exceeding the 50,000 URL limit per sitemap, not updating the lastmod date when content changes, and forgetting to submit the sitemap to search engines after creation.