Live
No signup

XML Sitemap Generator

Valid sitemap.xml in seconds.

Generated sitemap.xml

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

How this tool works

A correct sitemap.xml is the simplest way to tell Google which URLs to index and at what priority. Without a sitemap, Google discovers your site by crawling β€” slow and incomplete. With one, you give it an exact map.

This generator takes your domain + path list (one per line) and produces XML valid against the official sitemaps.org schema, with auto lastmod set to today, configurable changefreq and priority. Supports up to 50,000 URLs per file (Google's limit) β€” if you have more, split into sitemap-1.xml, sitemap-2.xml and link from a sitemap index.

Frequently asked questions

Where do I upload the file?
At domain root: /sitemap.xml. Then: Google Search Console β†’ Sitemaps β†’ submit URL. Yandex/Bing have similar consoles.
What priority should I set?
Convention: home = 1.0, categories = 0.8, articles = 0.6, legal pages = 0.2. Google ignores absolute values β€” only uses relative differences within your site.
Which changefreq?
Daily: home, blog index, news. Weekly: categories, tools. Monthly: about/contact pages. Yearly: legal/privacy. Google ignores these too, but smaller crawlers respect them.
What about dynamic sitemap?
If you use Next.js, generate a dynamic sitemap via app/sitemap.ts iterating over your DB. This generator is for static sites or quick tests.