What is an XML sitemap?
An XML sitemap is a machine-readable list of the important URLs on your website. It helps search engines like Google and Bing discover your pages and understand how your site is organised, along with optional hints about when each page last changed and how often. It doesn't guarantee indexing, but it makes discovery faster and more reliable — especially valuable for new sites, large sites, or pages that aren't well linked internally.
What goes in a sitemap entry
<loc>— the full URL (required). Use the canonical, absolute URL withhttps://.<lastmod>— the date the page last changed (ISO format, e.g. 2026-10-07). Keep it honest; Google uses it as a hint.<changefreq>— how often the page changes (weekly, monthly…). A loose hint only.<priority>— relative importance from 0.0 to 1.0. Your homepage is usually 1.0.
How to use your sitemap
Generate the file, save it as sitemap.xml, and upload it to the root of your site so it's reachable at yourdomain.com/sitemap.xml. Add a Sitemap: line to your robots.txt pointing to it, then submit the URL in Google Search Console (Indexing → Sitemaps) and Bing Webmaster Tools. Re-submit or update lastmod when you add or change important pages.
Tips for a clean sitemap
- Only include URLs you want indexed — no redirects, no
noindexpages, no duplicates. - Use canonical URLs (pick
wwwor non-www, https, and stick to it). - Keep a single sitemap under 50,000 URLs and 50 MB; split into multiple sitemaps with an index file beyond that.
Frequently asked questions
Where does sitemap.xml go?
At the root of your domain, reachable at yourdomain.com/sitemap.xml. Reference it from robots.txt and submit it in Search Console.
Do I really need a sitemap?
It's most valuable for new, large, or poorly-linked sites. Small, well-linked sites benefit less, but it rarely hurts.
Does a sitemap guarantee indexing?
No. It helps discovery; Google still decides what to index based on quality and other signals.
Is this generator free?
Yes — generating, copying and downloading is completely free and runs entirely in your browser. Nothing is uploaded.