XML Sitemap Generator
Generate a valid XML sitemap from a list of URLs. Free tool with optional lastmod, changefreq, and priority following the sitemaps.org protocol.
Independently verified for accuracy
Calculator by Toolsloft ↗Paste a list of page URLs, one per line, and get a valid XML sitemap you can upload to your server and submit in Search Console. Optionally set a single last-modified date, change frequency, and priority applied to every URL. The tool escapes ampersands and other reserved characters in each address.
How this is calculated
The output follows the sitemaps.org 0.9 protocol: a urlset with one url entry per line, each holding a loc and the optional lastmod, changefreq, and priority you provide. URLs must be absolute, blank lines are dropped, and reserved XML characters (&, <, >) in each URL are escaped.
How to use
- Paste your page URLs, one per line, each starting with http:// or https://.
- Optionally set a last-modified date, change frequency, and priority for all URLs.
- Copy the XML into a file named sitemap.xml at your site root and submit it in Search Console.
Examples
- Two pages:
home + about with lastmod and priority - Bare list:
one URL, no optional fields
FAQ
- Do I have to set changefreq and priority?
- No. They are optional hints and most search engines treat them loosely. Leave them blank and the tool outputs just the loc for each URL.
- How many URLs can a sitemap hold?
- The protocol allows up to 50,000 URLs or 50 MB per file. For larger sites, split the URLs across multiple sitemaps and list them in a sitemap index.
- What date format does lastmod use?
- Use the W3C date format, such as 2026-07-01 or a full timestamp with a time zone. The tool passes the value through as you enter it.