XML Sitemap Generator
Generate a valid XML sitemap for your website. Enter your URLs and download or copy the sitemap.
About Sitemap Generator
Generate a valid XML sitemap from your list of URLs, then download and upload to your site root. Submit to Google Search Console for faster indexing.
About this calculator
Enter your base URL and a list of pages and get a valid XML sitemap with change frequency and priority, ready to upload and submit to Google Search Console.
Sitemaps help search engines discover pages, especially on new or large sites.
How to use it
- Enter the base URL.
- Paste URLs, one per line.
- Choose frequency and priority, then press Generate Sitemap.
Sitemap format
A sitemap is an XML file listing URLs in <url><loc>…</loc></url> blocks inside a <urlset> with the sitemaps.org namespace. Optional fields are lastmod, changefreq and priority. Google ignores changefreq and priority and uses lastmod only when it is accurate. A file may hold up to 50,000 URLs or 50 MB uncompressed; larger sites use a sitemap index.
Worked example
One entry
| loc | https://example.com/page/ |
| lastmod | 2026-11-08 |
Tips and common mistakes
- Include only canonical, indexable URLs.
- Keep lastmod honest.
- Reference the sitemap in robots.txt.
- Submit it in Search Console.
- Regenerate when pages are added.
Frequently asked questions
What is an XML sitemap?
A file that lists the URLs you want search engines to crawl.
Do I need one?
Helpful for new, large or poorly linked sites.
Does priority matter?
Google largely ignores it.
How many URLs per sitemap?
Up to 50,000.
Where do I put it?
In your site root and submit it in Search Console.
Is it free?
Yes.