XML Sitemap Generator

Build a valid XML sitemap to help search engines discover and crawl your pages. Add URLs with metadata like last modified date, change frequency, and priority.

URLs

#1https://example.com/

Generated sitemap.xml

Quick Tips

  • Place sitemap.xml in your site's root directory (e.g., example.com/sitemap.xml)
  • Reference your sitemap in robots.txt with: Sitemap: https://example.com/sitemap.xml
  • The <loc> tag is the only required element — all others are optional
  • Use <priority> to indicate relative importance (0.0 to 1.0, default is 0.5)
  • Keep your sitemap under 50,000 URLs and 50MB uncompressed
  • Submit your sitemap to Google Search Console for faster indexing

Frequently Asked Questions

What is an XML sitemap?

An XML sitemap is a file that lists all important URLs on your website, helping search engines discover and index your pages efficiently.

How do I submit my sitemap to Google?

Submit your sitemap through Google Search Console, or add its URL to your robots.txt file.

How often should I update my sitemap?

Update your sitemap whenever you add, remove, or significantly change pages on your website.

Is there a size limit for XML sitemaps?

Yes, a single XML sitemap can contain a maximum of 50,000 URLs and must not exceed 50MB when uncompressed. If your site exceeds these limits, you should split your URLs across multiple sitemap files and reference them using a sitemap index file.

Do I need a sitemap if my site is small?

Even small sites benefit from having a sitemap. It ensures search engines discover all your pages, especially new or orphaned ones that may not be linked from other pages. A sitemap also communicates update frequency and priority hints to crawlers.