General dev

Sitemap XML Generator

Runs locally

Use Sitemap XML Generator

What it does

Turn a list of page URLs into a sitemap.xml skeleton that follows the sitemaps.org 0.9 schema.

It runs entirely in your browser: nothing you enter is uploaded.

Example

Three pages

Input
https://example.com/
https://example.com/about
https://example.com/contact
Output (captured 2026-10-20)
<?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-10-20</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-10-20</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/contact</loc>
    <lastmod>2026-10-20</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

Three url entries, each with today's date as lastmod, weekly changefreq and priority 0.8 (the default settings).

FAQ

What does each url entry contain?

The URL as loc, today's date as lastmod, and the change frequency and priority picked in the two menus; every URL gets the same values. Google says it ignores priority and changefreq and trusts lastmod only when it is accurate, so replace the dates with real modification dates.

Does it validate or escape the URLs?

No. Each line is copied into the loc element unchanged, so an & in a query string has to be written as &amp; for the file to be valid XML. It also does not check that URLs are absolute, on one host, or within the limit of 50,000 URLs per sitemap.

Are my URLs uploaded?

No. The XML is assembled in your browser and nothing is sent anywhere; save the result as sitemap.xml yourself.