XML Sitemap Generator
Turns a list of URLs into a valid sitemap.xml, resolving relative paths and catching duplicates.
Loading the tool…
How to use this tool
- Paste your URLs or paths, one per line.
- If you pasted paths rather than full URLs, put your site origin in the second box so they can be resolved.
- Add a lastmod date after any URL, separated by a comma, where you know when that page last genuinely changed.
- Select Generate sitemap, put the file at the root of your site, and add a Sitemap: line to robots.txt pointing at it.
What sitemap generator does
Paste one URL per line and you get a sitemap that validates against the sitemaps.org schema, with ampersands and angle brackets escaped properly — which is the detail that most hand-written sitemaps get wrong, because an unescaped & in a query string makes the whole file unparseable. Duplicate URLs are caught rather than emitted twice.
Optional lastmod, changefreq and priority can follow the URL on the same line, separated by commas or tabs, so a spreadsheet export goes straight in. They are written only when you supply them rather than invented: Google has said publicly that it ignores changefreq and priority entirely, and a file full of fabricated daily/1.0 values is noise. Give a base URL in the second box and relative paths are resolved against it.