HandyBench

XML Sitemap Generator

Turn a URL list into a valid 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-08-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-08-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/blog</loc>
    <lastmod>2026-08-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

Upload sitemap.xml to your site root and reference it in robots.txt. A single sitemap holds up to 50,000 URLs; beyond that, split into multiple files with a sitemap index.

How to use the XML Sitemap Generator

  1. 1 Paste your page URLs, one per line.
  2. 2 Choose a change frequency and priority.
  3. 3 Copy or download the generated sitemap.xml.
  4. 4 Upload it to your site root and add it to robots.txt.

Examples

  • Three URLs become a <urlset> with <loc>, <lastmod>, <changefreq> and <priority> entries.

Frequently asked questions

Where do I put sitemap.xml?

At your domain root (https://example.com/sitemap.xml) and referenced in robots.txt. Then submit it in Google Search Console and Bing Webmaster Tools.

How many URLs can one sitemap hold?

Up to 50,000 URLs or 50MB uncompressed. For larger sites, split into multiple sitemaps and list them in a sitemap index file.

Do priority and changefreq matter?

They are hints, and Google largely ignores them now. Accurate URLs and lastmod dates are what matter most.

Related guides