XML Sitemap Generator — Free SEO Tool

Generate valid XML sitemaps from a list of URLs. Set custom frequency, priority, and last modified dates. Free online sitemap builder.

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
</urlset>

XML Sitemap Generator — Create Sitemaps for SEO

Generate valid XML sitemaps from your list of URLs with customizable change frequency, priority, and last modified dates. Submit your sitemap to Google Search Console and Bing Webmaster Tools to help search engines discover and index your content faster.

The generator creates sitemaps following the Sitemaps.org XML schema (version 0.9). Each URL entry includes the loc (URL), lastmod (last modification date), changefreq (how often the page changes), and priority (relative importance from 0.0 to 1.0). The output is valid XML ready for upload to your site root.

Website owners create sitemaps when launching a new site to accelerate initial indexing. SEO specialists generate sitemaps for large sites where internal linking alone may not ensure complete crawl coverage. Developers automate sitemap generation as part of their build process. Content teams update sitemaps after publishing new content.

Set realistic priorities — not every page deserves priority 1.0. Your homepage and key landing pages should have the highest priority. Blog posts and product pages can be 0.8. Archive and tag pages should be 0.3-0.5. Keep sitemaps under 50,000 URLs and 50MB uncompressed per the protocol specification.

For dynamic sites, CMS plugins (Yoast, Next.js sitemap packages) automatically generate and update sitemaps. This manual generator is ideal for static sites or when you need a one-time sitemap for a specific section. For controlling which pages crawlers can access, combine with our robots.txt Generator.

How the XML Sitemap Generator Works

  1. Add URLs one by one or paste multiple URLs in bulk
  2. Set change frequency, priority, and last modified date per URL
  3. Preview the generated XML sitemap in real time
  4. Copy to clipboard or download as sitemap.xml and upload to your site root

XML Sitemap Best Practices

An XML sitemap helps search engines discover and index your pages faster. Include only canonical URLs you want indexed — skip noindex pages, redirects, and error pages. Set realistic change frequencies and priorities. Submit your sitemap to Google Search Console and Bing Webmaster Tools. Keep sitemaps under 50,000 URLs and 50 MB uncompressed. For larger sites, use a sitemap index file referencing multiple sitemaps.

When to Use the Sitemap Generator

Use this generator when launching a new website, adding significant new content sections, or when you notice pages are not being indexed by Google. A sitemap is especially important for large sites, new sites without many external links, sites with deep page hierarchies, and pages updated frequently. Submit the generated sitemap to Google Search Console.

Common Use Cases

Expert Tips

  • Only include canonical URLs you want indexed — skip noindex pages, redirects, and error pages
  • Set realistic priority values: homepage 1.0, key landing pages 0.8, blog posts 0.6, archive pages 0.3
  • Reference your sitemap in robots.txt with 'Sitemap: https://example.com/sitemap.xml' for automatic discovery

Frequently Asked Questions

How often should I update my sitemap?
Update your sitemap whenever you add, remove, or significantly modify pages. For dynamic sites with frequent content updates, regenerate the sitemap daily or weekly. For static sites, update it whenever the content changes. Google crawls sitemaps regularly once submitted.
Does having a sitemap guarantee indexing?
No. A sitemap is a suggestion to search engines, not a guarantee. Google will still evaluate each URL for quality and crawl budget. Pages blocked by robots.txt, pages with noindex tags, and low-quality pages may not be indexed even if listed in the sitemap.
What is the maximum size of a sitemap?
A single sitemap can contain up to 50,000 URLs and must be no larger than 50MB uncompressed. For larger sites, create a sitemap index file that references multiple sitemap files. You can also gzip compress sitemaps to reduce file size.
Should I include all pages in my sitemap?
Only include canonical URLs you want indexed. Exclude noindex pages, redirects (301/302), error pages (404/500), duplicate content, paginated pages beyond page 1, and utility pages like login or search results. Quality over quantity helps search engines focus on your important content.

Related Tools

MangoolsSponsored

Mangools
SE RankingSponsored

SE Ranking