Sitemap XML generator
This sitemap XML generator builds a standard sitemap file from a plain list of page addresses. Site owners and SEO specialists use it to give search engines a full list of pages, especially on small sites without a sitemap plugin.
- Runs in your browser
- Free, no account needed
- Copy or download the result
Result
The short answer
A sitemap is an XML file with a urlset element that holds one url entry per page, and each entry needs a loc with the full address. The lastmod, changefreq and priority tags are optional, and Google ignores changefreq and priority. One file can hold up to 50,000 URLs.
Worked exampleThe three sample URLs become a urlset with three url entries: the first has lastmod 2026-10-01, changefreq daily and priority 1.0, and the third writes its & as & in ?ref=home&lang=en.
Example
https://www.example.com/ 2026-10-01 daily 1.0 https://www.example.com/about https://www.example.com/blog/first-post?ref=home&lang=en 2026-09-15
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.example.com/</loc>
<lastmod>2026-10-01</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://www.example.com/about</loc>
</url>
<url>
<loc>https://www.example.com/blog/first-post?ref=home&lang=en</loc>
<lastmod>2026-09-15</lastmod>
</url>
</urlset>How to use the sitemap xml generator
- Add your pages in the Page URLs rows. Each row takes a URL and, if you like, a last modified date, a change frequency and a priority.
- Optionally set Default changefreq, Default priority and Default lastmod for lines that leave them out.
- The result updates as you type; Run also works.
- Use Download or Copy result, then upload the file to your site as sitemap.xml.
How it works
Every URL must be an absolute http or https address on the same protocol and host, shorter than 2,048 characters, with spaces and non-ASCII characters already percent-encoded.
Characters such as & are XML-escaped, so a query string like ?a=1&b=2 becomes ?a=1&b=2.
lastmod must be a real date such as 2026-10-01 or a W3C datetime with a time zone, and priority must be from 0.0 to 1.0 with up to two decimals, kept as you typed it.
Duplicate URLs are rejected, and up to 50,000 URLs are allowed, which is the sitemap protocol limit.
Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.
Questions and answers
How many URLs can a sitemap have?
The sitemap protocol allows up to 50,000 URLs and 50 MB uncompressed per file. Larger sites split their URLs across several sitemaps listed in a sitemap index.
Does Google use changefreq and priority?
Google says it ignores changefreq and priority. It does use lastmod when the dates are consistently accurate.
Where do I put sitemap.xml?
Usually at the root of your site, such as https://www.example.com/sitemap.xml. You can list it in robots.txt with a Sitemap line and submit it in search engine webmaster tools.
Last updated November 1, 2026. Maintained by SnowRock. How our tools work
All 220 SnowRock tools