Tools / Generators

Turn a list of URLs into a sitemap

Paste your URLs, add real last-modified dates where you have them, and get a valid XML sitemap to upload.

Free, no signup.

Example result: example input

sitemap.xml (3 URLs)

<?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-09-12</lastmod>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-03-02</lastmod>
  </url>
  <url>
    <loc>https://example.com/pricing</loc>
  </url>
</urlset>

Only add lastmod when it is the real date the content last changed. Google uses lastmod only if it is “consistently and verifiably accurate”, and ignores changefreq and priority, so we leave those out.

Why it matters

Helps new and large sites get found

A sitemap lists the URLs you want crawled. It matters most when a site is new, large or thinly linked.

Accurate lastmod gets used

Google uses lastmod only when it’s “consistently and verifiably accurate”. The generator drops anything that isn’t a valid past date.

No noise

Google ignores changefreq and priority, so we leave them out.

What it checks

01

Valid URLs

Only lines starting with http:// or https:// are included.

02

Escaping

Ampersands and angle brackets in URLs are escaped for XML.

03

lastmod

Added only for YYYY-MM-DD dates that aren’t in the future. Bad dates are counted and skipped.

04

Sitemap protocol

A urlset in the sitemaps.org 0.9 namespace.

How it works

1

Fill in the fields

Or hit “Try example” to see how it works.

2

Generate instantly

Everything runs in your browser. Nothing is sent to a server.

3

Copy and ship

Copy the output straight into your site.

Questions

Check everything at once

The site audit checks your whole site and scores SEO, AI Search and Agent Readiness in about 30 seconds.

Audit my site