🔒 All processing happens in your browser. No data is sent to any server.
FREE

XML Sitemap Generator

← All Tools
URLs (one per line)
sitemap.xml

What is XML Sitemap Generator?

XML Sitemap Generator creates a standards-compliant sitemap.xml file from a list of URLs, with configurable changefreq and priority values per URL. The output follows the Sitemap Protocol 0.9 schema recognized by Google, Bing, and other major search engines.

An XML sitemap tells search engine crawlers which pages exist on your site and hints at their relative importance and update frequency. While Google can discover pages by following links, a sitemap ensures that deep or newly added pages are indexed promptly — especially important for large sites, sites with thin internal linking, or newly launched pages that lack inbound links.

The sitemap protocol supports up to 50,000 URLs per file and 50MB uncompressed. For larger sites, a sitemap index file points to multiple individual sitemaps. This tool generates single sitemaps suitable for most small to medium sites.

After generating your sitemap, submit it to Google Search Console under Sitemaps and reference it in your robots.txt file with the line: Sitemap: https://example.com/sitemap.xml

How to Use

  1. Enter your site's base URL (e.g., https://example.com) in the Base URL field.
  2. Paste your page paths (one per line) into the URL list — e.g., /about, /blog/post-1.
  3. Set the default changefreq (how often pages change: daily, weekly, monthly) and priority (0.1 to 1.0).
  4. Optionally override changefreq and priority for individual high-importance URLs.
  5. Click Generate and download the resulting sitemap.xml to your project's root directory, then submit it to Search Console.

Examples

Base: https://example.com, Paths: /, /about, /contact

Result: Generates a 3-URL sitemap with today's lastmod date, changefreq: weekly, priority: 0.5

Home page priority 1.0, blog posts 0.6

Result: Higher priority signals which pages to crawl more frequently — Google treats this as a relative hint

changefreq: daily for blog index, monthly for static pages

Result: Informs the crawler scheduler how often to re-fetch each URL type

Frequently Asked Questions

Does a sitemap improve my Google ranking?

Not directly. A sitemap helps Google discover and index pages — it does not affect ranking signals like relevance, backlinks, or Core Web Vitals. It ensures your content is crawlable, not that it ranks higher.

What should I set for priority?

Priority is relative to other pages on your site. Typical values: homepage 1.0, main category pages 0.8, individual posts 0.5 to 0.6, utility pages 0.3. Google largely ignores priority but it documents your intent.

How often should I regenerate my sitemap?

Regenerate and re-submit whenever you add, remove, or significantly update pages. For dynamic sites, automate sitemap generation as part of your build or deployment pipeline.

Should I include noindex pages in the sitemap?

No. Only include pages you want indexed. Including noindex pages sends contradictory signals to crawlers and wastes crawl budget.

What is a sitemap index file?

A sitemap index lists the URLs of multiple individual sitemap files. Use it when your site has more than 50,000 URLs or when any single sitemap exceeds 50MB. Submit the index URL to Search Console.

Related Tools