XML Sitemap Generator

Generate valid XML sitemaps instantly. Add URLs manually or import from CSV, set priority, change frequency, and last modified dates. Free online sitemap builder with sitemap index support for large sites.

Url Input Header

Global Defaults

Sitemap Output Header

Stats Title

Total Urls
0
Valid Urls
0
Invalid Urls
0
Estimated Size
0 B

Output Title

No Urls

How to Create an XML Sitemap

  1. 1

    Enter your URLs

    Paste your website URLs into the input area, one per line. You can also import URLs from a CSV file with columns for url, priority, changefreq, and lastmod.
  2. 2

    Set global defaults

    Choose a default priority and change frequency that applies to all URLs. You can override these per URL by expanding individual URL settings.
  3. 3

    Customize individual URLs

    Click the edit button on any URL to set a specific priority, change frequency, or last modified date. This is useful for marking your homepage as high priority or blog posts as daily updates.
  4. 4

    Download or copy the sitemap

    Review the generated XML in the preview panel. Download the file as sitemap.xml and upload it to your website root directory. Then reference it in your robots.txt file.

Common Use Cases

1

New Website Launch

When launching a new site, a sitemap helps search engines discover all your pages quickly instead of waiting for natural crawling. Generate a complete sitemap before going live and submit it to search consoles on day one.
2

Large E-Commerce Sites

Online stores with thousands of product pages benefit from sitemaps with accurate lastmod dates and priority values. The sitemap index feature automatically splits your URLs into protocol-compliant chunks.
3

Content Migrations

When moving content to a new domain or restructuring URLs, a fresh sitemap ensures search engines index the new URL structure quickly and drop outdated pages from their index.
4

Static Site Generators

If your static site generator does not produce a sitemap automatically, use this tool to create one from your list of published pages and include it in your deployment pipeline.

About This Tool

An XML sitemap is a file that lists all the important URLs on your website so search engines like Google, Bing, and Yandex can discover and crawl them efficiently. The sitemap protocol, defined at sitemaps.org, supports metadata for each URL including the last modification date, change frequency, and relative priority. While search engines can find pages through links, a sitemap ensures that new, orphaned, or deep pages are not missed during crawling. This is especially important for large sites with thousands of pages, sites with complex navigation, or newly launched domains with few inbound links.

This generator creates fully valid XML sitemaps that comply with the sitemap protocol specification. You can paste URLs directly, import them from a CSV file, or add them one at a time. Each URL can have individual priority (0.0 to 1.0), change frequency (always through never), and last modified date settings. If your site has more than 50,000 URLs, the tool automatically switches to sitemap index mode, splitting your URLs across multiple sitemap files with a master index file that references each one. For related SEO tools, try our Robots.txt Generator to control crawler access or the Meta Tag Generator to optimize your page metadata.

How It Compares

Most free sitemap generators online either limit you to 500 URLs, require crawling your live site (which misses pages behind JavaScript), or add watermarks to the output. Tools like XML-Sitemaps.com cap free usage at 500 URLs and charge for larger sites. Screaming Frog generates sitemaps by crawling but requires a desktop install and a paid license for sites over 500 URLs. FindUtils XML Sitemap Generator has no URL limit, works entirely in your browser without crawling anything, and supports the full sitemap protocol including sitemap index files for enterprise-scale sites with hundreds of thousands of URLs.

Sitemap Best Practices

1
Submit your sitemap to Google Search Console and Bing Webmaster Tools for faster indexing.
2
Keep each sitemap under 50,000 URLs and 50MB uncompressed as required by the sitemap protocol.
3
Set accurate change frequency values so search engines know how often to re-crawl each page.
4
Use priority values to indicate relative importance within your site, not absolute importance.
5
Update the lastmod date only when page content actually changes, not on every build.

Frequently Asked Questions

1

What is the maximum number of URLs in a sitemap?

The sitemap protocol allows up to 50,000 URLs per sitemap file, with a maximum uncompressed file size of 50MB. For larger sites, use a sitemap index file that references multiple individual sitemaps.
2

Where should I place my sitemap file?

Place sitemap.xml in your website's root directory (e.g., https://example.com/sitemap.xml). Reference it in your robots.txt file with a Sitemap directive and submit it to Google Search Console.
3

How often should I update my sitemap?

Update your sitemap whenever you add, remove, or significantly change pages. For dynamic sites, regenerate it daily or weekly. The lastmod date should reflect when the page content actually changed.
4

Does a sitemap guarantee my pages will be indexed?

No. A sitemap is a suggestion to search engines, not a guarantee. Search engines use sitemaps as one signal among many when deciding which pages to crawl and index. However, having a sitemap significantly improves discovery of new and updated pages.
5

What priority value should I use?

Priority is relative within your own site, not absolute. Use 1.0 for your homepage, 0.8 for key landing pages, 0.6 for regular content, and 0.4 or lower for less important pages like legal notices or archives.

Rate This Tool

0/1000

Get Weekly Tools

Suggest a Tool