🗺 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 crawlers discover URLs; it does not guarantee crawling or indexing.
Sitemap Best Practices
- Include only canonical, indexable URLs — no redirects, 404s, or noindex pages.
- Keep each sitemap at or below 50,000 URLs and 50 MiB (52,428,800 bytes) 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 lists URLs you want search engines to discover. This tool produces a draft from entered URLs; it does not crawl the site or establish whether those URLs are canonical, accessible or indexable. A sitemap does not guarantee crawling or indexing.
Sitemap generation uses the URLs you enter locally. Publishing the sitemap exposes its URLs publicly; do not include secrets or private pages. Ordinary website resource requests still occur.
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 and changefreq are optional sitemap protocol hints. Google ignores both fields; they do not control rankings or crawl schedules. Use accurate lastmod dates for significant changes and list the canonical URLs you want discovered.
Review for noncanonical, noindex, private, redirected or broken URLs. A sitemap has limits of 50,000 URLs and 50 MB uncompressed; split larger sets and use a sitemap index. Keep lastmod accurate for significant changes. Search Console submission is useful but not mandatory.