WebComforts
Free Web Tools

XML Sitemap Generator

Generate a clean, SEO-friendly sitemap.xml file in seconds. No signup. No limits. 100% free.

Include https:// — we'll start crawling from this URL
Crawl Options
Maximum URLs included in your sitemap
Uses the crawl date as last modified
How often pages are likely to change
Auto: 1.0 homepage · 0.8 top-level · 0.6 deeper
One pattern per line. Any URL containing the pattern will be skipped.
4.8
28 reviews

What Is an XML Sitemap?

An XML sitemap is a structured file that lists all the important URLs on your website so search engines can easily find, crawl, and index them. Think of it as a roadmap you hand to Google — instead of waiting for Google to discover pages by following links, your sitemap tells it exactly which pages exist and when they were last updated.

A basic sitemap entry looks like this:

<url>
  <loc>https://example.com/blog/my-article</loc>
  <lastmod>2025-05-01</lastmod>
  <changefreq>weekly</changefreq>
  <priority>0.8</priority>
</url>

Why Do You Need an XML Sitemap?

Search engines discover pages primarily by following links. But pages with few inbound links — new content, deep product pages, or freshly restructured sites — may never be found unless you have a sitemap. Google officially recommends submitting a sitemap if any of the following apply:

  • Your site is new and has few external links pointing to it
  • Your site has a large number of pages (100+)
  • You publish fresh content frequently (blog, news, e-commerce)
  • Your pages are not well connected internally
  • You recently restructured URLs or migrated your site

What Should a Good Sitemap Include?

A well-optimized sitemap includes only pages you want Google to index. Our generator automatically handles the most important rules, but here's a checklist of what belongs in — and out of — your sitemap:

Include All public, canonical pages — homepage, blog posts, product pages, landing pages
Exclude Noindex pages, admin areas (/wp-admin/), cart/checkout, tag archives, URL parameters (?s=), and duplicate content
Optional <changefreq> and <priority> — treated as hints by Google, not strict rules

How to Submit Your Sitemap to Google

  1. Upload sitemap.xml — After downloading your sitemap, upload it to the root of your website so it's accessible at https://yoursite.com/sitemap.xml.
  2. Add it to robots.txt — Open your robots.txt file (in your site root) and add this line:
    Sitemap: https://yoursite.com/sitemap.xml
  3. Submit via Google Search Console — Go to Google Search Console, select your property, navigate to Indexing → Sitemaps, and enter your sitemap URL.
  4. Re-submit after major updates — Whenever you publish a significant amount of new content or restructure your URLs, re-generate and re-submit your sitemap.

Frequently Asked Questions

Does Google require a sitemap?

No — Google can crawl your site without one by following links. But having a sitemap significantly speeds up discovery, especially for new or large sites. It's considered a basic SEO best practice.

What's the difference between changefreq and priority?

changefreq hints at how often a page changes (daily, weekly, monthly). priority indicates the relative importance of a page within your site (1.0 = most important). Google treats both as suggestions, not guarantees. Many SEO experts skip them entirely and focus on <loc> and <lastmod>.

How many pages can a sitemap contain?

A single XML sitemap file supports up to 50,000 URLs and must be under 50MB uncompressed. Our tool supports up to 1,000 URLs per generation. For larger sites, multiple sitemap files can be linked via a sitemap index file.

Why are some pages missing from my sitemap?

The generator skips pages marked with noindex meta tags, assets (images, CSS, JS), and URLs blocked by your robots.txt. You can also use the Exclude URL patterns field to manually skip sections like /wp-admin/, /cart/, or any pattern you don't want indexed.