Sitemap Generator
Free online XML sitemap generator. Add URLs, set priorities, change frequencies and create SEO-friendly sitemaps instantly in your browser.
What is an XML sitemap?
An XML sitemap is a structured file that lists all important URLs of your website, helping search engines like Google discover, crawl, and index your pages more efficiently. It follows the Sitemaps.org protocol.
Why do I need a sitemap for SEO?
Sitemaps improve crawlability by telling search engines about all your pages. They are especially important for new websites, large sites with deep page hierarchies, and sites with poor internal linking.
What should I set for priority?
Priority ranges from 0.0 to 1.0. Set 1.0 for your homepage, 0.8 for key category pages, 0.5 for regular content. Note that priority is relative — it indicates importance compared to other pages on your site, not absolute ranking.
What is changefreq?
Changefreq tells search engines how often a page is likely to change: always, hourly, daily, weekly, monthly, yearly, or never. It's a hint for crawlers, not a directive — Google may still crawl pages marked "yearly" more often if needed.
Where should I upload my sitemap?
Place it at the root of your domain (e.g., https://www.example.com/sitemap.xml) and reference it in your robots.txt file with the line "Sitemap: https://www.example.com/sitemap.xml". You can also submit it directly in Google Search Console and Bing Webmaster Tools.
How many URLs can a sitemap contain?
A single sitemap file can contain up to 50,000 URLs and must not exceed 50MB (uncompressed). If your site has more pages, create a sitemap index file that references multiple sitemap files.
What is a sitemap index file?
A sitemap index is an XML file that lists multiple sitemap files. It allows you to organize large sites into manageable chunks. Each referenced sitemap can have up to 50,000 URLs, and the index itself can reference up to 50,000 sitemaps.
Does having a sitemap guarantee better rankings?
No. A sitemap helps search engines discover and index your pages, but it does not directly affect rankings. Content quality, page speed, mobile-friendliness, and backlinks remain the primary ranking factors.
Do I need a sitemap for a small website?
For small sites with fewer than 50 pages and good internal linking, a sitemap is helpful but not critical. Search engines can usually discover all pages through links. However, creating one takes minutes and ensures nothing is missed.
What is the lastmod tag?
The lastmod tag indicates when a page was last modified. Accurate lastmod dates help search engines prioritize recrawling recently updated content, which can lead to faster re-indexing of your changes.
Can I have multiple sitemaps?
Yes. You can have multiple sitemap files referenced in a sitemap index. This is common for large websites and helps organize content by type (e.g., separate sitemaps for blog posts, product pages, and images).
What is the difference between XML sitemap and HTML sitemap?
An XML sitemap is designed for search engines to crawl your site efficiently. An HTML sitemap is a web page designed for human visitors to navigate your site. Both serve different purposes and can complement each other for better SEO.
Is this sitemap generator free?
Yes, this tool is completely free with no usage limits. It runs entirely in your browser — your data is never sent to any server. You can generate unlimited sitemaps for any number of websites.