Skip to content
Free Indian Tools

SEO · Free tool

XML Sitemap Generator

Paste a flat list of URLs, get a ready-to-host XML sitemap. Everything runs in your browser — URLs never leave the page.

Save as /sitemap.xml

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.example.com/</loc>
    <lastmod>2026-05-17</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://www.example.com/about</loc>
    <lastmod>2026-05-17</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://www.example.com/blog</loc>
    <lastmod>2026-05-17</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://www.example.com/contact</loc>
    <lastmod>2026-05-17</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

Sitemap limits

A single sitemap can hold up to 50,000 URLs or 50 MB uncompressed. For larger sites, split into multiple sitemaps and combine them with a sitemap index. Reference the sitemap in your robots.txt via the Sitemap: directive so every search engine picks it up.

priority and changefreq

Google has confirmed it largely ignores both fields. Bing still consults them lightly. They're included for cross-engine consistency but don't spend time tuning per-URL values. The signal that actually matters is lastmod — set it to the genuine last-content-change date, not the sitemap regeneration date. The full best-practice list is in XML sitemap best practices for India.

After generating

  • Host the file at /sitemap.xml at your domain root.
  • Reference it from robots.txt with Sitemap: https://....
  • Submit it in Google Search Console and Bing Webmaster Tools.
  • Regenerate on every publish; stale lastmod hurts re-discovery.

FAQ

How many URLs can fit in one XML sitemap?

Maximum 50,000 URLs or 50 MB uncompressed per sitemap. Larger sites split URLs across multiple sitemaps and reference them all in a sitemap index file.

Do priority and changefreq still matter?

Google has confirmed it largely ignores both. Bing still uses them lightly. Include them for cross-search-engine consistency, but do not spend effort tuning them.

How often should I regenerate the sitemap?

On every publish for blog / news content. Weekly for slowly-changing brochure sites. Always update lastmod to the actual content change date - a sitemap that updates daily but with stale lastmod values is ignored.