Write a sitemap.xml from a URL list

A small static site does not need a crawler — paste the URLs you actually have and get a valid XML sitemap with the optional fields filled in.

Tools used in this guide

The job

Search engines use sitemap.xml to discover pages. Hand-writing the XML — the urlset wrapper, the escaping — is error-prone; this builds it from a plain list.

How to do it

Paste one absolute URL per line, optionally set a lastmod date, changefreq, or priority to apply to the entries, and generate. Download it as sitemap.xml and drop it at your site root.

  • Only absolute http(s) URLs count — relative paths and junk lines are reported, not silently included.
  • Duplicate URLs are removed so the file stays clean.

Worked example

Twelve pages pasted from a deploy listing produce a urlset with each URL wrapped in <url><loc>…</loc></url>, plus the shared lastmod — ready for Search Console submission.

Limits

Up to 500 URLs — the official limits are 50,000 URLs / 50 MB, well beyond what this covers. It does not crawl your site: the sitemap contains exactly what you paste, so keep it in sync when pages change.