Free XML Sitemap Generator: Create a Sitemap for Google in Minutes
November 25, 2026 ยท 8 min read
You have published 50 pages on your website, submitted the domain to Google Search Console, and waited. Weeks later, only 12 pages are indexed. The others sit in a gray limbo labeled "Discovered โ currently not indexed." The fix is often embarrassingly simple: you need a sitemap. An XML sitemap is a file that tells search engines exactly which pages exist on your site, how important each one is, and when it was last updated. Without it, Googlebot has to discover your pages by crawling links โ and if your internal linking has gaps, entire sections of your site can remain invisible.
What an XML Sitemap Actually Does
An XML sitemap is a structured file โ usually hosted at /sitemap.xml โ that lists every URL you want search engines to know about. It is not a ranking factor in itself; Google has been clear about that. But it is a discovery factor. If Googlebot cannot find a page through links, the sitemap is the safety net that ensures it gets crawled.
Think of it this way: your internal links are the main roads on a map. The sitemap is the complete index of every street, alley, and cul-de-sac. Google does not need both, but having both means nothing gets missed.
Priority, Changefreq, and Lastmod Explained
Every URL in a sitemap can include three optional attributes. Here is what each one actually means and how search engines use them:
- priority (0.0 to 1.0): Tells search engines how important this page is relative to other pages on your site. Your homepage might be 1.0, product pages 0.8, blog posts 0.6, and legal pages 0.3. Google has stated it largely ignores this field, but Bing and other engines may still use it as a crawl hint. Setting everything to 1.0 is the same as setting nothing โ the signal only works when there is differentiation.
- changefreq: How often the page content changes โ always, hourly, daily, weekly, monthly, yearly, or never. This is a hint, not a directive. Google may still crawl a "yearly" page daily if it detects frequent changes. Set it honestly: your blog index is probably "daily," your about page is "monthly," and your privacy policy is "yearly."
- lastmod: The date the page was last meaningfully updated, in ISO 8601 format (2026-11-25). This is the most useful signal of the three. When Google sees a recent lastmod date, it is more likely to re-crawl the page quickly. But do not fake it โ setting every page's lastmod to today's date every time you deploy trains Google to ignore the signal entirely.
Which Pages to Include (and Which to Exclude)
A common mistake is dumping every URL into the sitemap, including utility pages, paginated archives, and parameter variations. That dilutes the signal. Here is a practical rule:
- Include: Pages you want to rank in search โ homepage, product pages, blog posts, service pages, landing pages, category pages.
- Exclude: Pages blocked by robots.txt or noindex tags, login/admin pages, search result pages, 404 handlers, duplicate content, and URL parameters like ?sort=price.
If a URL returns anything other than a 200 status code, it should not be in the sitemap. Submitting 404s or redirects signals poor site maintenance and can slow down Googlebot's crawl of your important pages.
How to Create a Sitemap in 3 Steps
Step 1: Open the Sitemap Generator on ToolCraftKit. No account needed.
Step 2: Add your URLs one by one or paste them in bulk (one per line). For each URL, set the priority, change frequency, and last modified date. If you are unsure, the defaults work for most sites.
Step 3: Click generate. Download the file as sitemap.xml and upload it to the root of your website. Then submit the URL in Google Search Console under Sitemaps.
Dynamic vs. Static Sitemaps
A static sitemap is a file you generate once and upload manually. It works for small sites with pages that rarely change. But if you publish blog posts regularly, add products, or update content frequently, a static sitemap goes stale quickly.
A dynamic sitemap is generated automatically by your CMS or framework โ WordPress plugins like Yoast do this, and frameworks like Next.js have built-in sitemap.ts support. The sitemap rebuilds on every deploy or on every request, ensuring it always reflects the current state of your site.
For sites between static and dynamic โ 20 to 200 pages with occasional updates โ generating a sitemap with a tool and re-uploading it monthly is a reasonable middle ground.
Submitting Your Sitemap to Search Engines
Google Search Console is the primary destination. Navigate to Sitemaps in the left sidebar, enter the full URL of your sitemap (e.g., https://yoursite.com/sitemap.xml), and click Submit. Google will report the number of URLs discovered, how many are indexed, and any errors it encountered.
Bing Webmaster Tools has a similar workflow. You can also add your sitemap URL to your robots.txt file with a Sitemap: https://yoursite.com/sitemap.xml directive, which lets any compliant crawler discover it automatically.
Pair It With Other SEO Tools
A sitemap works best alongside other SEO fundamentals. Use the Robots.txt Generator to control which paths search engines can crawl, the Meta Tag Generator to craft title and description tags, and the JSON-LD Generator for structured data markup. For AI-powered SEO tools and strategies, visit AIGradeLab's Best AI Tools for SEO.
Generate Your Sitemap Now โ Free โ