Build an XML sitemap from a pasted list of URLs, with lastmod and priority.
How to use the XML sitemap generator
- Paste your URLs, one per line.
- Set lastmod and priority if you want them.
- Download sitemap.xml and upload it to your site root.
For small and static sites
Most frameworks and CMSs generate sitemaps automatically. This is handy for static sites or a quick one-off.
What ends up in the file
Each line that starts with http:// or https:// becomes one url entry, and duplicates are removed; the hint above the box shows how many valid URLs were found. Characters like & are escaped automatically so the XML stays valid. The lastmod date, changefreq and priority you choose apply to every URL; leave changefreq and priority on "omit" since Google ignores them. The file uses the standard sitemaps.org namespace and can be uploaded as is.
Before you upload
Use full https URLs on the same domain the sitemap will live on. Include only pages that return 200, aren't redirects and aren't noindex, written exactly like their canonical URL. Only set lastmod to today for pages that actually changed today; for a mixed list, it is better to leave lastmod out or generate separate files. Upload it to the site root, add a Sitemap: line to robots.txt and submit it in Search Console.