XML Sitemap Generator
Crawl your site (up to 500 pages) or paste URLs to build a clean, valid sitemap.xml.
- Free
- No sign-up
What is an XML sitemap generator?
An XML sitemap generator creates the sitemap.xml file that lists the URLs you want search engines to crawl and index. This tool works in two modes. Crawl mode starts at your homepage and follows internal links on the same host, up to 500 URLs and a set depth, showing live progress as it goes. List mode takes URLs you paste and turns them into a valid sitemap in your browser.
The crawler behaves like a careful search engine bot. It respects your robots.txt, skips pages marked noindex, and leaves out URLs whose canonical tag points elsewhere. When the crawl finishes, a summary shows every skipped URL and why: noindex, a non-200 status, canonicalized to another URL, blocked by robots.txt, or not an HTML page. That list doubles as a quick technical audit.
You choose how lastmod is set: from each page's Last-Modified header, today's date, or not at all. Optional changefreq and priority fields are available but labeled, because Google ignores them. Exclude patterns let you drop paths such as /tag/ or /cart/. Large lists are split automatically into multiple files with a sitemap index once they pass the protocol limits.
How to create an XML sitemap
- 1
Choose crawl or list mode
Enter your homepage URL to crawl the site, or paste a list of URLs if you already know which pages to include, such as an export from your CMS.
- 2
Set your options
Pick a lastmod source, add exclude patterns for paths you do not want listed, and set the crawl depth. Leave changefreq and priority off unless another tool you use needs them.
- 3
Run and review the skipped URLs
Watch the crawl progress, then read the skipped list. A key page skipped for noindex or a wrong canonical is a bug to fix on your site, not just in the sitemap.
- 4
Download and upload
Download sitemap.xml, or the sitemap index and its files for very large sites, and upload them to your site root so the sitemap loads at a URL such as example.com/sitemap.xml.
- 5
Submit to search engines
Add a Sitemap: line with the full URL to robots.txt, and submit it in Google Search Console and Bing Webmaster Tools to track discovery and indexing.
When to use an XML sitemap generator
Sites without a built-in sitemap
Static sites, custom builds and older platforms often have no automatic sitemap. A crawl produces one in minutes.
New sites with few backlinks
Search engines discover pages mainly through links. A sitemap helps a young site with little external linking get its pages found sooner.
Auditing what is actually indexable
The skipped URL summary shows pages blocked by robots.txt, set to noindex or canonicalized away, which often reveals template mistakes.
Migrations and launches
Generate a sitemap of the new URL set so search engines find the new pages quickly after a redesign or domain move.
Checking a CMS-generated sitemap
Compare a crawl-based sitemap against the one your plugin produces to spot orphan pages, missing sections or URLs that should not be listed.
Sitemap rules from Google's documentation
A single sitemap file can contain up to 50,000 URLs and must be no larger than 50 MB uncompressed. Larger sites split URLs across several files and list them in a sitemap index, which this generator does automatically. Use absolute URLs, UTF-8 encoding and the exact protocol and host you want indexed.
Google ignores changefreq and priority. It does use lastmod, but only when the dates are consistently and verifiably accurate, meaning they change when the main content changes, not on every page load or minor template tweak. If your server sends a reliable Last-Modified header, use it; if not, leaving lastmod out is better than stamping every URL with today's date on every regeneration.
List only canonical, indexable URLs that return a 200 status. Including redirected, noindexed or duplicate URLs sends mixed signals and wastes crawling. A sitemap is a hint, not a command, so listing a page does not guarantee Google will crawl or index it.
Crawl mode finds pages through internal links, so pages with no internal links, known as orphan pages, will not appear. If you know such pages exist, add them in list mode and link to them from relevant pages on your site.
Frequently asked questions
Is the XML sitemap generator free?
Yes, the XML sitemap generator is free, with no account required. Crawl mode covers up to 500 URLs per run, and list mode handles large pasted lists, splitting them into a sitemap index when needed. Crawls are rate-limited for fair use so the service stays responsive for everyone.
What does the crawler fetch, and is anything stored?
The crawler fetches only public pages on the host you enter, plus its robots.txt, and stores nothing once your sitemap is generated. It stays on the same host and stops at 500 URLs or the depth limit. Private or internal addresses are blocked. List mode runs entirely in your browser.
Does Google use changefreq and priority?
No, Google ignores the changefreq and priority values in sitemaps. It decides crawl frequency from its own signals, such as how often a page actually changes and how important it appears. The generator offers both fields as optional for other tools that read them, but you can safely leave them out.
Should I include lastmod in my sitemap?
Include lastmod only if the dates are accurate. Google uses lastmod when it is consistently and verifiably correct, reflecting real content changes. Setting every URL to today's date each time the sitemap is rebuilt teaches Google to distrust the field. If you cannot provide reliable dates, choose the none option.
Why were some of my pages skipped?
Pages are skipped when they should not be indexed: a noindex tag, a non-200 status such as a 404 or redirect, a canonical pointing to another URL, a robots.txt block, or a non-HTML file such as a PDF. The summary lists each reason so you can decide whether the page or the sitemap needs fixing.
How big can a sitemap be?
A single sitemap file can hold up to 50,000 URLs and be no larger than 50 MB uncompressed. Beyond either limit, split the URLs into multiple sitemaps and reference them from a sitemap index file, then submit only the index. The generator handles this split automatically for large lists.
Related tools
More SEO tools →Meta Tag Generator
Write title, description, Open Graph and Twitter tags with a live SERP preview.
SEO · In-browser
SERP Preview Tool
Preview your Google result on desktop and mobile, measured in pixels — not characters.
SEO · In-browser
Hreflang Generator & Checker
Build valid hreflang tags, then audit a live URL for return links, canonicals and bad codes.
SEO
Anchor Text Ratio Analyzer
Upload a backlink CSV and see your anchor mix — branded, exact, partial, generic — by referring domain.
SEO · In-browser