🗺️ XML Sitemap Generator

Generate a valid XML sitemap for any website instantly. Set changefreq, priority, and lastmod for all URLs. Download or copy ready-to-use sitemap.xml. Free.

URLs (one per line)

What Is an XML Sitemap?

An XML sitemap is a structured file that lists all the important URLs on your website, along with optional metadata about each URL: when it was last updated, how frequently it changes, and its relative importance. Search engines like Google and Bing use sitemaps to discover and prioritize content for crawling — particularly valuable for large sites, new sites with few external backlinks, or sites with content that isn't easily discovered through normal link crawling.

When XML Sitemaps Improve SEO

Sitemaps have the most SEO impact in four scenarios: new websites with minimal external backlinks where Google's crawler hasn't yet discovered all pages through link-following; large sites with thousands of pages where you want to guide crawl prioritization; sites with frequently updated content (news, blogs, e-commerce inventory) where the lastmod date signals freshness; and sites with orphan pages — content not linked from other internal pages that Google would otherwise miss entirely.

How to Use the XML Sitemap Generator

Enter your base URL (your domain, e.g., https://example.com), then add each URL path — one per line. You can use full URLs or just paths (the base URL will be prepended automatically). Set your default changefreq (how often pages typically change), priority (0.1-1.0, with 1.0 being highest), and lastmod date. Click Generate to produce a standards-compliant sitemap.xml, then download the file and upload it to your server's root directory. Submit the URL (https://yourdomain.com/sitemap.xml) via Google Search Console and Bing Webmaster Tools.

Priority and Changefreq Best Practices

Priority is relative — it only signals to Google which pages you consider more important than others on your site. Setting every page to 1.0 gives Google no differentiation signal. Use 1.0 for your homepage, 0.9 for primary category/service pages, 0.8 for individual articles and tools, 0.6 for archive and tag pages, and 0.4 for utility pages (contact, about). Changefreq tells Google how often to recrawl — "weekly" for active blogs and tools pages, "monthly" for stable service pages, "yearly" for rarely-changed policy pages.

Sitemap Index Files for Large Sites

Google limits each sitemap file to 50,000 URLs and 50MB uncompressed. Sites exceeding these limits need a sitemap index file — a sitemap that points to multiple individual sitemap files. Organize by content type: sitemap-blog.xml, sitemap-tools.xml, sitemap-categories.xml. This organization also helps Google understand your site's content architecture. Once your sitemap is live, validate it using the Sitemap Validator tool to catch any format errors before submission.

Other Free SEO Tools