XML Sitemap Generator
Turn a list of URLs into a valid XML sitemap with lastmod, changefreq and priority, correctly escaped and ready to upload.
Loading tool…
Your URL list stays in your browser. Nothing is crawled and nothing is uploaded.
What the XML Sitemap Generator does
Use this XML sitemap generator to turn a list of URLs into a valid XML sitemap with lastmod, changefreq and priority, correctly escaped and ready to upload. Everything runs inside this page, so the work happens on your own device rather than on a server. It is most often used for creating a sitemap for a static site that has no generator. More utilities in this area are collected on FreeToolStation.org.
How to use it
- Paste your URLs, one per line.
- Set a default change frequency and priority, or leave them off.
- Copy the XML or download it as sitemap.xml.
- Upload it to your domain root and submit it in Search Console.
How it works
This generator formats URLs you supply. It cannot crawl your site to discover them, because crawling requires a server to fetch pages on your behalf and everything here runs in your browser. Export your URL list from your CMS, your build process or a desktop crawler, then paste it here.
Only canonical, indexable URLs belong in a sitemap. Including redirects, 404s, noindex pages or parameter variants sends mixed signals: the sitemap says "this is important" while the page says "do not index me". Search Console reports those as errors.
Priority and changefreq are the least important parts of the protocol. Google has stated it largely ignores both, inferring freshness from actual change instead. Lastmod carries more weight, but only if it is accurate — setting every page to today's date on every build trains crawlers to ignore it.
A single sitemap file may contain up to 50,000 URLs and must be under 50 MB uncompressed. Larger sites split across several files referenced from a sitemap index.
When to use it
- Creating a sitemap for a static site that has no generator.
- Converting a URL export into valid sitemap XML.
- Building a supplementary sitemap for a set of new pages.
Common mistakes to avoid
- Including redirected, noindex or 404 URLs.
- Setting lastmod to the build date regardless of whether content changed.
- Listing relative URLs — the protocol requires absolute ones.
Frequently asked questions
Can this crawl my site to find URLs?
No. Crawling needs a server to fetch pages, and this runs entirely in your browser. Export the list from your CMS or a desktop crawler and paste it in.
Do priority and changefreq matter?
Barely. Google has said it largely ignores both and works out update frequency by observing actual changes. Accurate lastmod values are more useful than either.
How many URLs can one sitemap hold?
Up to 50,000, and the file must be under 50 MB uncompressed. Beyond that, split it into several files and reference them from a sitemap index.