XML Sitemap Generator

Runs in your browser — your data is never uploaded.

Paste a list of URLs and get a valid sitemap.xml. Ampersands and other characters that break XML are escaped, duplicates are dropped, relative URLs are rejected rather than silently emitted, and the 50,000-URL file limit is enforced instead of discovered later in Search Console. lastmod, changefreq and priority are optional — and the tool is honest about which of the three Google actually reads.

0 characters · runs entirely in your browser

How to use XML Sitemap Generator

  1. 1

    Paste your URLs, one per line, each with https:// and the full host.

  2. 2

    Optionally set a lastmod date; leave changefreq and priority off unless you have a reason.

  3. 3

    Click “Generate”, save as sitemap.xml, and submit it in Search Console.

Share

Embed this tool on your site

Paste this where you want the tool to appear. It runs entirely in your visitor's browser — no uploads, no account, no tracking.

Please keep the attribution line — it's what keeps these tools free.

Need a different size, a dark theme, or a different tool? Build an embed lets you preview it first.

Frequently asked questions

Does priority or changefreq do anything?+

Google has stated plainly that it ignores both. They are part of the sitemaps.org protocol and some other crawlers read them, which is why they are available here — but setting every page to priority 1.0 is the classic wasted afternoon. lastmod is the one Google does use, and only when it is honest.

What should I do about lastmod?+

Set it to the date the page content genuinely changed. A sitemap where every URL claims today’s date teaches Google to disregard the field entirely for your site — the signal is only worth anything while it is accurate.

What if I have more than 50,000 URLs?+

Split them across several sitemap files and list those files in a sitemap index. The limit is 50,000 URLs or 50 MB uncompressed per file, whichever comes first. This tool refuses to build an over-limit file rather than producing one that Search Console will reject.

Should the sitemap contain redirects or noindex pages?+

No. A sitemap is a list of URLs you want indexed, exactly as they should be indexed. Including a URL that 301s somewhere else sends a conflicting signal about which is canonical, and a noindex page in a sitemap is a direct contradiction Search Console reports as an error.