About this tool
Turn one site's reviewed canonical URL list into sitemap.xml output without inventing modification dates or ignored priority signals.
XML Sitemap Generator converts one site's reviewed canonical URLs into escaped XML with explicit browser-workbench limits. It resolves root-relative paths, rejects cross-origin and malformed entries, deduplicates identical URLs, and accepts an optional accurate lastmod value per page.
- Resolves root-relative paths against one strict HTTP(S) origin and rejects cross-origin entries.
- Escapes XML and validates URL length, fragments, credentials, percent escapes, duplicates, and per-page lastmod values.
- Copies or downloads only error-free UTF-8 XML with loc and supplied lastmod elements.
How to use Sitemap Generator
Enter the exact HTTP(S) site origin, then add one absolute URL or root-relative path per line. To include lastmod, add a tab and a real YYYY-MM-DD or ISO timestamp on that specific line. Review same-origin, duplicate, query-string, date, and byte evidence before copying or downloading the XML.
When this tool is useful
- Resolves root-relative paths against one strict HTTP(S) origin and rejects cross-origin entries.
- Escapes XML and validates URL length, fragments, credentials, percent escapes, duplicates, and per-page lastmod values.
- Copies or downloads only error-free UTF-8 XML with loc and supplied lastmod elements.
Examples you can test
Load an example, compare the result with the expected output, then replace it with your own input.
Generate a small sitemap
Example input
https://example.com/ https://example.com/tools
Expected output
XML sitemap with two URL entries
Useful for small sites, launches, and migration QA where the URL list is already known.
Add lastmod values
Example input
/about<TAB>2026-06-15 /blog/release<TAB>2026-07-12T14:30:00+09:00
Expected output
Sitemap XML including lastmod elements
Use lastmod only when the value reflects a verifiable significant update to that page.
Validation checklist
- Use absolute canonical URLs from the correct host.
- Validate the generated XML before submitting it.
- Include only URLs that should be indexed and can return successful responses.
- Keep every URL on the declared protocol, host, and port; split other origins into separate sitemaps.
- Use automated CMS generation and sitemap indexes for large or frequently changing sites.