All Tools Full Site Audit

XML Sitemap Generator

Add your URLs and generate a valid XML sitemap with priority, change frequency, and last modified dates.

0 URLs Add URLs to generate

                
✓
AI crawlers use sitemaps for discovery
Both traditional search bots and AI crawlers (GPTBot, Google-Extended) read your sitemap.xml to discover pages. If a page isn't in your sitemap and has few internal links, AI engines are less likely to find and index it for use in their answers.
⚡
lastmod signals freshness to AI
AI engines prioritize fresh content when generating answers. An accurate lastmod date tells crawlers when your content was last updated — pages with recent lastmod dates are more likely to be cited in time-sensitive AI queries.
ℹ
Priority is a suggestion, not a command
Search engines treat priority as a relative hint within your own site — it doesn't affect your ranking vs other sites. Set your most important pages to 1.0 and less critical ones lower. Some engines ignore it entirely, but it doesn't hurt to include it.
✓
Keep sitemaps under 50,000 URLs
The sitemap protocol limits each file to 50,000 URLs and 50MB uncompressed. For larger sites, use a sitemap index file. This tool generates a single sitemap — for enterprise sites, consider automated generation via your CMS.
Sitemaps help bots find your pages. PatchMySEO checks if AI engines actually cite them. Try free audit →

What this XML sitemap generator does

Add your URLs and this free tool builds a valid XML sitemap — with lastmod, changefreq and priority — that you can submit to Google Search Console so your pages get discovered and crawled faster.

How to use your sitemap

Frequently asked questions

What is an XML sitemap?

An XML sitemap is a file listing your site's important URLs so search engines can discover and crawl them efficiently. This tool generates one you can submit to Google Search Console.

How do I submit a sitemap to Google?

Upload sitemap.xml to your site's root, then add its URL under Sitemaps in Google Search Console. Also reference it in your robots.txt.

Which URLs should go in a sitemap?

Only canonical, indexable pages — leave out redirects, noindex pages and duplicates, so you don't send mixed signals to search engines.

Is this sitemap generator free?

Yes, it's free, needs no sign-up, and runs in your browser.

Related free tools

Robots.txt generator · Redirect chain checker · Canonical URL checker · Hreflang tag generator · All free SEO tools

Related guide

A free alternative to Ahrefs for technical audits