Free online tool
XML Sitemap Generator
Paste your URLs, pick settings, and get a valid sitemap.xml you can upload to your site's root.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2026-08-03</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/about</loc>
<lastmod>2026-08-03</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/blog</loc>
<lastmod>2026-08-03</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
</urlset>Why you need a sitemap
A sitemap.xml file tells search engines which URLs on your site are important and how often they change. While Google will still find most pages via crawling and internal links, a sitemap is the fastest way to signal new pages, ensure orphaned pages are discovered, and share metadata like last-modified dates and change frequency.
Where to put it
Upload the generated file to your site's root (for example https://yoursite.com/sitemap.xml) and add a Sitemap: directive to your robots.txt. Then submit the URL in Google Search Console so it gets picked up on Google's next crawl.
+How many URLs can a sitemap contain?
A single sitemap.xml can hold up to 50,000 URLs and must be under 50 MB. For larger sites, use a sitemap index that links to multiple sitemap files.
+Does priority affect ranking?
No. Priority is a hint about relative importance within your own site, not a ranking signal. Google largely ignores it.
Why use the XML Sitemap Generator on ToolNest?
The XML Sitemap Generator is one of more than forty free browser-based utilities we maintain on ToolNest. Every tool on the site is engineered around the same three promises: it must be fast, it must protect your privacy, and it must be genuinely useful without hiding features behind an account, a paywall, or an email capture form. Whether you use the XML Sitemap Generatoronce a month or several times a day, it should feel like a native part of your workflow — open the tab, get the result, move on.
Everything happens directly inside your web browser. When you type, paste, or upload something into the XML Sitemap Generator, that data never leaves your device. There is no server round-trip, no logging, no analytics pixel watching your keystrokes, and no third-party API silently receiving a copy of your input. Closing the browser tab is the same as clearing your session. This is a deliberate design choice: too many free "online tools" quietly funnel user content through remote servers, and we do not think a utility as small as this one justifies that risk.
Speed is the other pillar. The XML Sitemap Generator loads on a cold connection in well under a second and stays responsive on older phones, low-power laptops, and metered mobile networks. There are no heavy frameworks layered on top of the tool, no autoplay video ads, and no blocking third-party scripts. Search engines like Google reward pages that load quickly and stay interactive, but more importantly, so do human visitors who came here to get one specific job done.
If the XML Sitemap Generator saves you time, the best thing you can do is bookmark this page and share it with a colleague or classmate who might need it. We also welcome direct feedback — bug reports, feature requests, and suggestions for entirely new tools all go to the same inbox and are read by a human. The best tools on ToolNest started life as a one-line reader email, and this page will keep improving as long as people keep telling us what they wish it did better.