Sitemap XML Generator
Generate a valid sitemap.xml from a list of URLs, with changefreq, priority and lastmod.
- One sitemap holds up to 50,000 URLs or 50 MB uncompressed. For larger sites, use a sitemap index.
- Upload sitemap.xml to your site root, then add Sitemap: https://example.com/sitemap.xml to robots.txt — or submit it in Google Search Console.
- Identical URLs are removed automatically.
Runs in your browser. Nothing you open or type here is uploaded.
How to use
- Paste your URLs, one per line.
- Set the change frequency, priority and last-modified option for the list.
- Click Generate sitemap.
- Copy the XML, or download it as sitemap.xml.
Details
The tool wraps each URL you list in the sitemap XML format that search engines read: a urlset with one url entry per address, carrying the changefreq, priority and lastmod values you chose. Lines that are not valid URLs are skipped and reported, and identical URLs are removed automatically. The output is the file you publish at your site root so crawlers can discover your pages; add its address to robots.txt, or submit it directly in Google Search Console.
- One sitemap holds up to 50,000 URLs or 50 MB uncompressed. For larger sites, split the list across several sitemaps and link them from a sitemap index.
- changefreq and priority are loose hints, not ranking factors. lastmod carries the most weight, so set it to the date the page actually changed.
- A sitemap helps crawlers discover pages. It does not guarantee that they will be indexed.
Common questions
Where do I put sitemap.xml?
Upload it to your site's root (example.com/sitemap.xml) and add this line to robots.txt: Sitemap: https://example.com/sitemap.xml. You can also submit it directly in Google Search Console.
Are there any limits?
One sitemap can list up to 50,000 URLs or 50 MB uncompressed, whichever comes first. For larger sites, use a sitemap index that points to multiple sitemaps.
Do changefreq and priority improve rankings?
No — search engines treat them as loose hints, not ranking factors. lastmod matters most: crawlers use it to tell whether a page has actually changed. When unsure, keep priority at 0.5 and set an honest lastmod.
Will a sitemap guarantee indexing?
No. A sitemap only helps crawlers discover your pages. Whether they get indexed still depends on content quality, links, and your site's standing.