Generate a valid XML sitemap from your URLs. Set priority, change frequency, and last modified dates β free and 100% in your browser.
We fetch your site from our server (not your browser) to discover pages. Your URLs are not stored.
NinjaFunction's Sitemap.xml Generator lets you paste your website URLs and instantly generate a valid XML sitemap. Set priority, change frequency, and lastmod for each URL, preview the XML live, and download the file. Everything runs locally β no URLs are sent to any server.
An XML sitemap is a file that lists the URLs on your website. Search engines use sitemaps as a roadmap to efficiently discover, crawl, and index your content [citation:13]. The sitemap protocol is defined by sitemaps.org and supported by Google, Bing, Yandex, and others.
Each URL entry requires a <loc> tag containing the full URL. Optional tags include <lastmod> (last modified date), <changefreq> (how often the page changes), and <priority> (relative importance) [citation:4]. Google ignores priority and changefreq, but uses lastmod if it's consistently accurate [citation:8].
A single sitemap can contain at most 50,000 URLs or be 50MB uncompressed, whichever comes first [citation:3][citation:8]. For larger sites, you must split into multiple sitemap files and reference them from a sitemap index file.
Place sitemap.xml at your website's root (e.g., https://example.com/sitemap.xml). Reference it in your robots.txt file with a line like Sitemap: https://example.com/sitemap.xml [citation:5]. Then submit it to Google Search Console and Bing Webmaster Tools.
A sitemap.xml file is an XML document that lists all the important URLs on your website. Search engines read it to discover and index your pages more efficiently. It's especially useful for new sites, sites with lots of pages, or sites with poor internal linking.
Google says sitemaps are not required, but they help β especially for large sites, new sites, or sites with rich media content. A sitemap ensures Google can find all your pages and understand their relative importance.
Update it whenever you add, remove, or significantly change pages. If your site changes frequently (like a blog), consider automating sitemap generation as part of your build process.
No. All XML generation happens locally in your browser using the native DOMParser and XMLSerializer APIs. Your URLs never leave your device.