Sitemap Generator

Free Sitemap.xml Generator

Paste your URLs and get a valid sitemap.xml. Set per-URL priority, change frequency, and last-modified date. Download, host, submit to Google.

Default values

Priority: 0.0 (lowest) to 1.0 (highest). Defaults to 0.5 if omitted.

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-05-18</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-05-18</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/pricing</loc>
    <lastmod>2026-05-18</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/blog</loc>
    <lastmod>2026-05-18</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/contact</loc>
    <lastmod>2026-05-18</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

Upload to your site root as sitemap.xml, then submit in Google Search Console.

Why submit a sitemap?

Google's crawler discovers most pages by following links. But for new sites, deep pages, or pages without strong internal links, a sitemap is the difference between getting indexed in days versus weeks. It's also the cleanest way to tell Google which pages you consider canonical.

Sitemap.xml limits

  • 50,000 URLs per sitemap — beyond that, split into multiple sitemaps and use a sitemap index.
  • 50 MB uncompressed — most sites never hit this.
  • URLs must be absolute and use the same protocol (HTTPS) as your canonical domain.

What priority and change frequency really do

Google has publicly said priority and change-frequency are mostly ignored. They're still useful for Bing, Yandex, and other crawlers — and they document your intent. The fields that actually matter to Google: <loc> (the URL) and <lastmod> (when it last changed).

After you generate

  1. Download the file as sitemap.xml.
  2. Upload it to your site's root — e.g., https://yoursite.com/sitemap.xml.
  3. Add Sitemap: https://yoursite.com/sitemap.xml to your robots.txt.
  4. In Google Search Console, go to Sitemaps and submit the URL.
  5. Repeat for Bing Webmaster Tools.

One tool was useful. Want all 42 checks?

Run the full SEOSpectator audit on any URL — every check, with the AI Coach explaining what to fix and how. Free to try, no credit card.