100% Free Technical SEO Diagnostic Tool

Free Online XML Sitemap Generator

Generate standard XML sitemaps for Google and Bing. Paste your website URLs to create valid, formatted XML sitemaps with priority and lastmod.

Sitemap XML Output

Accelerating Discovery with Standard XML Sitemaps

Search engines crawl billions of pages daily by following hyperlinks across the web. However, for new websites, recently published articles, or deep product catalogs, relying solely on crawler discovery can cause significant indexing delays. An XML Sitemap acts as an official inventory of your highest-value canonical pages, directly notifying Googlebot and Bingbot of their existence and modification history.

Adhering to the Sitemaps.org Protocol

Our Free XML Sitemap Generator creates valid XML compliant with the Sitemaps.org 0.9 schema. It enforces standard encoding, ensures clean absolute HTTPS URLs, and provides accurate lastmod date formatting. Clean sitemaps eliminate crawl dead-ends and prevent search console parsing errors.

Best Practices for Sitemap Health

To maximize search performance, never include URLs that return 301 redirects, 404 errors, or noindex robots directives. Clean, 100% indexable sitemaps build crawler trust, ensuring that search bots spend their assigned crawl budget on your most valuable revenue-generating pages.

Splitting a Large List into a Sitemap Index

When your URL list grows past a few thousand entries, a single flat file becomes hard to maintain. A better workflow is to generate one sitemap per site section — for example sitemap-pages.xml, sitemap-products.xml and sitemap-blog.xml — and then reference them all from a sitemap index file. Each child sitemap still gets its own lastmod, so when you regenerate only the blog file after publishing new posts, search engines can immediately see which section changed instead of reprocessing your entire inventory.

Keeping lastmod Honest

The lastmod value is a trust signal, and search engines compare it against what they observe when crawling. Only set it to the date a page's content genuinely changed in a meaningful way. If every URL in the file carries today's date after a trivial footer edit, crawlers quickly learn to ignore your lastmod values altogether — and you lose the faster recrawling that accurate dates would have earned you.

Deduplicate Before You Generate

Pasted lists often contain the same page twice in disguise: once with a trailing slash and once without, or with different letter casing. Each variant looks like a separate URL to a generator, but search engines treat them as duplicates competing for the same slot. Sort and clean your list first, keep only the exact canonical form of every URL, and generate once from the clean list.

📋 How to Use This Tool

Step 1: Paste a list of canonical URLs (one per line) or enter your website domain.
Step 2: Configure default Change Frequency (daily, weekly, monthly) and Priority (0.1 to 1.0).
Step 3: Choose Last Modified Date formatting (current date or custom).
Step 4: Click 'Generate XML Sitemap'.
Step 5: Validate the output and download your sitemap.xml file ready for upload.
Step 6: If your list approaches the per-file URL limit, split it into section-based child sitemaps (pages, products, posts) and generate a sitemap index file that references each one.
Step 7: After submitting in Search Console, open the Sitemaps report and the Pages report to confirm your URLs move from Discovered to Indexed over the following days.

💡 Practical Examples

Example Output: Standard sitemap XML with <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> containing formatted <loc>, <lastmod>, <changefreq>, and <priority> nodes.
Example 2: A store with 62,000 product and content URLs pastes them in three batches grouped by section, generating sitemap-products.xml (38,000 URLs), sitemap-blog.xml (17,500 URLs) and sitemap-pages.xml (6,500 URLs). Each file gets its own lastmod, and a sitemap index lists all three, so the whole set stays under the 50,000-URL per-file limit.

✨ Key Features

Instant client-side XML generation;
Automatic URL normalization and protocol enforcement;
Configurable changefreq and priority values;
W3C date formatting (YYYY-MM-DD);
One-click download of valid sitemap.xml;
Section-based splitting guidance for sitemap index workflows;
Duplicate-variant detection tips for pasted URL lists.

⚠️ Limitations & Edge Cases

A single XML sitemap file is limited to 50,000 URLs and 50 megabytes uncompressed per sitemap protocol rules. For larger sites, a sitemap index structure should be used. The generator formats the URLs you supply but does not crawl your website, so it cannot discover pages for you or confirm that each pasted URL actually returns a 200 status — spot-check important URLs before submitting.

🚫 Common Technical Mistakes to Avoid

Including non-canonical or redirected (301) URLs;
Adding URLs blocked by robots.txt;
Including noindex or 404 pages;
Using relative paths instead of absolute HTTPS URLs;
Setting every lastmod to today's date after trivial site-wide edits;
Pasting duplicate URLs that differ only by trailing slash or casing;
Regenerating the whole sitemap but forgetting to resubmit the index file.

Frequently Asked Questions (17)

What is an XML sitemap?
An XML sitemap is a structured file listing all canonical, indexable URLs on a website, helping search engine bots discover and crawl pages efficiently.
Where should the sitemap be placed?
Typically at the root of your domain, such as https://yourdomain.com/sitemap.xml.
How do I submit my sitemap to Google?
Log in to Google Search Console, navigate to Indexing > Sitemaps, enter your sitemap URL (e.g. sitemap.xml), and click Submit.
Should I include noindex pages in my sitemap?
No. Sitemaps should strictly contain 200 OK, canonical, indexable URLs that you want search engines to display in search results.
Does submitting a sitemap guarantee indexing?
No. Sitemaps assist discovery and crawling, but indexing depends on content quality, originality, and internal authority.
What is the priority tag in an XML sitemap?
Priority indicates relative importance among your own pages on a scale of 0.0 to 1.0. Note that Google primarily uses lastmod rather than priority.
What format should the lastmod date use?
It should use W3C Datetime format, typically YYYY-MM-DD or full ISO 8601 timestamps.
Can I have multiple sitemaps?
Yes. Websites with thousands of pages use a Sitemap Index file (sitemap.xml) that references child sitemaps (e.g. sitemap-tools.xml, sitemap-blog.xml).
What is the URL limit per sitemap?
Each individual sitemap file can contain up to 50,000 URLs and must not exceed 50MB uncompressed.
Should I include image or video data?
You can extend sitemaps with Google image and video extensions if your content relies heavily on multimedia indexing.
Why are redirected URLs bad in a sitemap?
Redirects waste Googlebot crawl budget. Only the final 200 OK destination URL should appear in the sitemap.
How often should a sitemap be updated?
It should update dynamically or automatically whenever new content is published, updated, or removed.
Can I test my sitemap before submitting?
Yes. You can use our XML Sitemap Validator to check for XML syntax errors and broken links.
Does this tool work on mobile devices?
Yes. The interface is completely responsive and generates downloadable XML directly in your mobile browser.
Is there any cost or limit on generation?
No. SEO Free provides free, unrestricted technical SEO utilities for webmasters worldwide.
How many child sitemaps can one sitemap index file list?
A single sitemap index can reference up to 50,000 child sitemaps, and each child can hold another 50,000 URLs. In practice, sites organize children by section — products, posts, pages — long before limits matter.
Does the changefreq value still matter to Google?
Mostly no. Google has said it largely ignores changefreq and relies on lastmod plus its own crawl observations instead. Fill it in for other engines if you like, but never expect it to control crawl timing.