XML Sitemap Generator
Turn a list of URLs into a valid sitemap.xml file. Free, private, and fully client-side.
XML Sitemap Generator builds a valid sitemap.xml from a list of URLs directly in your browser. Add a base domain and paths, set lastmod, change frequency and priority, then copy the XML or download sitemap.xml. No upload, no account. Made by FreeToolHub.
URLs
If a line above is a path like /about instead of a full URL, it will be combined with this base domain.
Sitemap options
sitemap.xml
Adding a Sitemap line to robots.txt helps crawlers find your sitemap automatically.
Build a valid XML sitemap from your URL list instantly in your browser.
Frequently Asked Questions
What is an XML sitemap?
An XML sitemap is a file that lists the URLs on your website so search engines like Google and Bing can discover and crawl them more efficiently. It follows the standard sitemaps.org protocol and normally lives at yourdomain.com/sitemap.xml.
Do I need to set lastmod, changefreq, and priority?
No. Only the URL (loc) is required. lastmod, changefreq, and priority are optional. Google has stated it ignores changefreq and priority entirely, and only uses lastmod when it is accurate and kept up to date, so many modern sitemaps only include the URL list.
How many URLs can one sitemap file contain?
The sitemap protocol limits a single sitemap file to 50,000 URLs and 50MB uncompressed. If your site has more URLs than that, split them across multiple sitemap files and list them all in a sitemap index file.
How do I submit my sitemap to Google and Bing?
Upload sitemap.xml to your site's root, then submit its full URL in Google Search Console (Sitemaps section) and Bing Webmaster Tools. It's also good practice to add a "Sitemap:" line pointing to it in your robots.txt file.
What's the difference between an XML sitemap and an HTML sitemap?
An XML sitemap is a machine-readable file for search engine crawlers and is not meant to be visited by people. An HTML sitemap is a regular page on your site with links for human visitors to browse. Most sites only need the XML version for SEO.
Is my URL list uploaded anywhere?
No. The sitemap is built entirely in your browser using JavaScript. Your URLs are never sent to any server, so you can generate a sitemap for a private or unlaunched site without exposing its structure.