XML Sitemap Generator - Create sitemap.xml

Generate standard XML sitemap files from a list of URLs. Set changefreq, priority, and lastmod for each URL.

0 URLs

How to Use

  • Enter all your website URLs in the text area, one URL per line (include the full URL with https://).
  • Select the default change frequency (how often the content changes) — this is a hint to search engines.
  • Set the default priority (0.1 to 1.0) — higher means more important; 0.5 is the default for most pages.
  • Toggle 'Include Last Modified Date' to add today's date as the lastmod for all URLs.
  • Click 'Generate Sitemap' to create the XML, then copy or download the sitemap.xml file and upload it to your website root.

About XML Sitemaps

What is a Sitemap?

A sitemap is an XML file that lists the pages of your website to tell search engines about the pages available for crawling. Sitemaps help search engines discover all your content, especially pages that may not be easily found through internal links. The standard sitemap protocol is defined at sitemaps.org and is supported by Google, Bing, Yahoo, and other search engines.

Priority and changefreq Explained

The <priority> tag (0.1 to 1.0) tells search engines the relative importance of pages within your site — it doesn't affect how your pages rank relative to other sites. The <changefreq> tag is a hint about how often a page is updated. Both values are advisory — Google may not strictly follow them. Focus on accurate priority values for important pages like your homepage (1.0) and key landing pages (0.8).

Sitemap Size Limits

A single XML sitemap can contain a maximum of 50,000 URLs and must not exceed 50MB uncompressed (10MB compressed). If your site has more pages, you need to create multiple sitemaps and reference them from a sitemap index file. Most websites with under 50,000 pages only need one sitemap file. After generating and uploading your sitemap, submit it via Google Search Console.

Sitemap Index Files

For large websites with many URLs, you can create a sitemap index file that points to multiple individual sitemap files. The sitemap index follows the same XML format but uses <sitemapindex> as the root element with <sitemap> child elements, each containing a <loc> (sitemap URL) and optional <lastmod>. Submit only the sitemap index URL to Google Search Console — it will automatically process all referenced sitemaps.

Key Features

  • Generates valid XML sitemap with proper namespace declarations
  • Configurable changefreq and priority for all URLs
  • Optional lastmod date for last-modified tracking
  • Download as sitemap.xml file or copy the XML code

Common Applications

  • Creating a sitemap for a new website before first Google Search Console submission
  • Regenerating the sitemap after adding new pages to a website
  • Creating sitemaps for static sites that don't have automatic sitemap generation
  • Testing sitemap XML format before uploading to the server