ToolMight LogoToolMight

XML Sitemap Generator

Convert lists of website URLs into standard, search-engine ready sitemap.xml files.

Loading Tool...
Sponsored

Compile lists of website URLs into standard, verified sitemap.xml files client-side. Configure crawl priority parameters, page change frequencies, and modification timestamps easily.

Learn About This Tool

Why XML sitemaps are essential for crawl optimization

An XML sitemap (sitemap.xml) is a structured XML catalog that lists all page URLs of a site. It acts as a roadmap for search engine spiders (like Googlebot), helping them discover new and updated pages quickly. Rather than relying solely on link crawling, spiders read sitemaps to optimize indexing schedules:
<!-- Standard sitemap.xml element structure: -->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <priority>1.0</priority>
  </url>
</urlset>
If you want to configure access rules for these crawlers, try our Robots.txt Generator & Tester.
  • Helps crawlers discover deep, isolated, or newly added pages instantly
  • Improves indexing efficiency for large websites with thousands of articles
  • Defines specific priority weights to signal which pages are most important
  • Allows tracking page update timelines via modification metadata tags

Understanding loc, lastmod, changefreq, and priority tags

Sitemap.xml tags tell crawlers how to interact with individual pages:<loc> specifies the absolute URL path, <lastmod> shows the last update date,<changefreq> indicates how often contents change (e.g. daily, weekly), and <priority> sets search priority (from 0.0 to 1.0). If you are converting other data lists, use our Excel to JSON Converter.
  • loc requires full absolute protocol paths (e.g., https://example.com/page)
  • lastmod dates must format as W3C Datetime strings (e.g. YYYY-MM-DD)
  • changefreq is a hint for spiders, though search engines may override it based on crawl history
  • priority values show relative priority compared to other pages on your site, not general rankings

XML sitemap limits and syntax validation rules

Official search engine protocols limit a single sitemap.xml file to 50,000 URL entries and 50MB uncompressed size. If your website holds more links, you should generate multiple sitemaps and reference them inside a parent Sitemap Index file. To format JSON file outputs, try our JSON Formatter & Validator.
  • Automatically alerts you if your URL count exceeds the 50,000 protocol limit
  • Strips out duplicate paths to keep the XML clean and lightweight
  • Validates URL syntax, warning you if protocol schemes are missing
  • Generates valid XML tags that pass search console validation tests

How to Use XML Sitemap Generator

1

Paste site URLs list

Enter your website URL paths (one per line) inside the URL input editor on the left.

2

Configure sitemap parameters

Set crawl update priority settings, select frequency change hints, and choose whether to append last modification timestamps.

3

Audit stats and download XML sitemap

Verify valid URL counts, check for syntax error indicators, and download the finished sitemap.xml file.

Sponsored

Common questions

What is an XML sitemap?

An XML sitemap is a configuration file that lists a website's essential URLs, making sure search engines like Google can crawl and index them efficiently.

Where should sitemap.xml be uploaded?

Upload the sitemap to your website's root directory, so it is available at https://yourdomain.com/sitemap.xml. This allows crawl spiders to discover it automatically.

How do I submit my sitemap to Google?

Log into your Google Search Console account, navigate to the Sitemaps section, input your sitemap link URL, and click submit. You can do the same inside Bing Webmaster Tools.

What are the official limits of a sitemap.xml file?

A single sitemap.xml file can contain up to 50,000 URLs and must not exceed 50 megabytes (MB) in size. If you exceed these, you must use a sitemap index file to group multiple sitemaps.

Does having a sitemap guarantee my pages will be indexed?

No, a sitemap is a guide for search engines, not a mandate. Spiders use sitemaps to discover URLs, but actual indexation depends on content quality, backlink configurations, and search visibility guidelines.

How does priority work in a sitemap?

Priority tells crawl spiders which pages you value most relative to other pages on your site. For example, your homepage is typically set to 1.0, categories to 0.8, and articles to 0.5.

Is this sitemap builder secure for internal staging links?

Yes. The URL parsing and XML compilation run entirely locally inside your browser cache. No URL arrays are uploaded to external databases, protecting confidential staging domains.

Should I include redirect or error pages in my sitemap?

No. Only include canonical URLs that return a 200 OK HTTP status code. Do not include URLs that redirect (301/302) or return error pages (404/500), as this wastes search engine crawl budget.

Why is the <lastmod> tag important?

The <lastmod> (last modification) tag tells search engines when a page was last updated. Spiders can read this to quickly re-crawl pages that have fresh updates without wasting time on unchanged pages.

How do I create a sitemap index file?

A sitemap index file uses the <sitemapindex> root tag and lists individual sitemap URLs using the <sitemap> and <loc> tags, pointing crawlers to your partitioned sitemap files.

Related tools

Deep Dives & Guides

Master this tool with our expert tutorials and best practices.