SEO

XML Sitemap Generator

Paste your URLs and generate a compliant XML sitemap with lastmod, changefreq, and priority — download or copy instantly.

3 URLs in sitemap.

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

FAQ

How many URLs can one sitemap have?+

A single sitemap.xml can hold up to 50,000 URLs and 50MB uncompressed. Beyond that, split into multiple sitemaps referenced by a sitemap index.

Do I need lastmod, changefreq, and priority?+

Only <loc> is required. lastmod is very useful; Google largely ignores changefreq and priority, but they're valid and other engines still consider them.

Where should sitemap.xml live?+

At your site root: https://yourdomain.com/sitemap.xml. Then reference it in robots.txt and submit to Google Search Console.

Related tools

All tools
HomeWorkServicesGuidesToolsAboutChat