XML Sitemap Generator:
Build and Validate in Minutes

Your URLs

Paste one URL per line

Export a URL list from your CMS, a crawler such as Screaming Frog, or a CSV column, then paste it here. Everything runs in your browser, no URL is sent to us.

URLs0
Skipped0
File size0 KB
Paste your URLs and press Generate sitemap.

Free XML Sitemap Generator

Google can't rank pages it can't find. An XML sitemap is the map you hand Google so it crawls everything that matters and ignores what doesn't. Our XML Sitemap Generator crawls your site (or accepts a CSV), builds a fully valid sitemap with priority, lastmod, image, and hreflang tags, and lets you ping Google and Bing directly: all from one screen.

What Is an XML Sitemap Generator?

An XML sitemap is a file (usually located at /sitemap.xml) that lists every URL on your site you want search engines to crawl, along with metadata about each: when it was last updated (lastmod), how often it changes (changefreq), and its relative priority. Search engines use the sitemap as a discovery shortcut: instead of relying purely on internal links to find your pages, they get a clean list.

Sitemaps become essential for sites with deep page structures, sites that publish frequently, ecommerce stores with thousands of product pages, multilingual sites (where hreflang declarations matter), or any site recovering from an indexing problem. Our generator crawls live, validates against Google's sitemap rules, supports image and hreflang extensions, splits over the 50,000-URL limit automatically, and pings the search engines for you.

How to Use the XML Sitemap Generator

Step 1: Enter your site URL

Or upload a CSV with one URL per row. CSV input is faster for large sites where you already know the URLs.

Step 2: Configure crawl

Set depth and max pages. Free tier crawls 500 pages; provide an email to unlock 5,000.

Step 3: Set defaults

Pick a default change frequency. Use auto-priority by depth (homepage = 1.0, top-level = 0.8, deeper = 0.6).

Step 4: Add exclusions

Block URL patterns you don't want indexed (faceted nav, tag pages, UTM-tagged duplicates).

Step 5: Generate, validate, ping

Download sitemap.xml, upload it to /sitemap.xml on your server, then click Ping Google and Ping Bing: search engines start crawling within hours.

Why Use This Sitemap Generator?

  • Get pages indexed faster: a clean sitemap reduces time-to-index for new pages from weeks to days.
  • Surface pages buried by deep navigation: pages four or more clicks from the homepage often go uncrawled without a sitemap.
  • Support hreflang and image discovery: extensions help Google rank the right language version and find product images.
  • Auto-split for sites over 50,000 URLs: large sites need a sitemap index; the tool handles it automatically.
  • Free and validated against Google's rules: no broken syntax, no rejected submissions.

Who Should Use This Tool?

  • New site launches: submit your sitemap to Google on day one to accelerate first indexing.
  • eCommerce sites: keep thousands of product pages discoverable as inventory changes.
  • News and blog publishers: frequent lastmod updates signal freshness for time-sensitive ranking.
  • Multilingual sites: use the hreflang extension to serve the right language to the right country.
  • Sites recovering from indexing issues: a clean re-submitted sitemap is the first step in re-indexing dropped pages.

How the Crawl Works

The crawler respects robots.txt, follows internal links breadth-first, and de-duplicates by canonical URL. Lastmod is pulled from the page's HTTP Last-Modified header where available, falling back to the latest content change detected by the crawler. Priority defaults to depth-based weighting (homepage 1.0, top-level sections 0.8, deeper pages stepped down by 0.1 per level). Hreflang values are auto-detected from existing <link rel="alternate" hreflang="..."> tags or HTTP headers. Generated sitemaps are validated against the sitemaps.org schema and Google's sitemap requirements before download.

Pro Tips & Common Mistakes

  • Don't include URLs you don't want indexed. Listing a noindex page in your sitemap sends conflicting signals to Google.
  • Update lastmod when content actually changes. Faking freshness via lastmod is detected and ignored.
  • Submit through Google Search Console. Pinging works; submission inside GSC also gives you indexing reports per URL.
  • Keep size under 50MB / 50,000 URLs. Larger sites need a sitemap index referencing multiple sub-sitemaps.
  • Declare in robots.txt. A "Sitemap: https://yoursite.com/sitemap.xml" line ensures every crawler finds it.

Frequently Asked Questions

For sites under ~50 pages with strong internal linking, Google can usually crawl everything without a sitemap. For everything else: eCommerce, blogs, multilingual sites, deep navigation: a sitemap accelerates indexing.

Only pages you want indexed. Don't include noindex pages, redirect chains, faceted-nav URLs, or thin tag pages.

Sitemap.xml is a single file listing your URLs. Sitemap_index.xml is a parent file referencing multiple sub-sitemaps: needed when you exceed 50,000 URLs or 50MB.

No. Pinging notifies Google to recrawl. Whether each page is indexed depends on its quality, uniqueness, and relevance: sitemaps are necessary but not sufficient.

Whenever significant content changes: new pages added, old pages removed, structural changes. For very active sites, automate sitemap generation via your CMS or a daily cron.

Lastmod tells Google when a page was last meaningfully changed. Google uses it as a hint for recrawl prioritization. Faked lastmod (where the page hasn't actually changed) is detected and ignored.

We are Online!