Free XML Sitemap Generator

Create XML sitemaps for your website with custom priority levels, change frequencies, and image support. Help search engines discover and index your content efficiently.

100% Private & Secure: All sitemap generation happens in your browser. No data is sent to our servers.

Sitemap Configuration

Free tier: Manual entry up to 100 URLs. Upgrade for automatic crawling.

URL 1

1 valid URL

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2026-04-26</lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
  </url>
</urlset>

Quick Guide

Priority Values:

  • 1.0: Homepage, most important pages
  • 0.8: Main category pages
  • 0.6: Regular content pages
  • 0.4: Old or less important content

Change Frequency:

  • always: Documents that change with each access
  • hourly/daily: Frequently updated content
  • weekly/monthly: Regular updates
  • yearly/never: Archive or static pages

What is an XML Sitemap?

An XML sitemap is a file that lists all the important pages on your website, helping search engines like Google, Bing, and Yahoo discover and crawl your content more efficiently. It's essentially a roadmap of your website that tells search engines which pages you consider most important and how frequently they're updated.

Why Do You Need an XML Sitemap?

  • Faster Indexing: Help search engines discover new and updated pages quickly
  • Better Crawling: Ensure all important pages are found, especially if your site has poor internal linking
  • Priority Signals: Indicate which pages are most important using priority values
  • Update Frequency: Tell search engines how often content changes
  • Large Websites: Essential for sites with hundreds or thousands of pages
  • New Websites: Speed up initial indexing of brand new sites
  • Rich Media: Include images and videos for better media search visibility
  • International Sites: Support for hreflang annotations in multi-language sites

Where Should You Place Your Sitemap?

Recommended Location:

https://yoursite.com/sitemap.xml

Place your sitemap.xml file in the root directory of your website. This is the standard location where search engines expect to find it.

Submit to Search Engines:

  • Google: Submit via Google Search Console
  • Bing: Submit via Bing Webmaster Tools
  • Robots.txt: Reference your sitemap in robots.txt file

Understanding Sitemap Elements

<loc> - URL Location (Required)

<loc>https://example.com/page</loc>

The complete URL of the page. Must start with http:// or https:// and be properly escaped for XML.

<lastmod> - Last Modified (Optional)

<lastmod>2025-12-16</lastmod>

The date of last modification in W3C Datetime format (YYYY-MM-DD). Helps search engines determine if they need to re-crawl the page.

<changefreq> - Change Frequency (Optional)

<changefreq>weekly</changefreq>

How frequently the page is likely to change. Valid values: always, hourly, daily, weekly, monthly, yearly, never.

Important Note:

Google largely ignores this value. Use it as a general hint, not a directive. Focus on lastmod for better results.

<priority> - URL Priority (Optional)

<priority>0.8</priority>

The priority of this URL relative to other URLs on your site. Valid range: 0.0 to 1.0 (default: 0.5).

Common Misconception:

Priority is relative to YOUR site only, not all sites. Setting everything to 1.0 defeats the purpose. Use it to differentiate page importance within your own site.

Priority Levels Best Practices

1.0 - Highest Priority

TOP

Homepage, main landing pages, most important category pages. Use sparingly - typically less than 5% of your pages.

0.8 - High Priority

HIGH

Important category pages, popular blog posts, key product pages. About 10-15% of pages.

0.5 - Medium Priority (Default)

MEDIUM

Regular content pages, standard blog posts, general product pages. The majority of your content (60-70%).

0.3 - Low Priority

LOW

Archive pages, old blog posts, less important pages. About 10-15% of pages.

0.1 - Lowest Priority

LOWEST

Legal pages (terms, privacy), utility pages. Consider excluding these entirely if not needed for SEO.

Change Frequency Guidelines

FrequencyBest ForExample Pages
alwaysReal-time dataLive feeds, stock tickers, weather
hourlyVery frequent updatesNews sites, social feeds
dailyRegular updatesBlogs, product listings
weeklyPeriodic updatesCompany news, feature pages
monthlyOccasional updatesArchive pages, documentation
yearlyRare updatesHistorical content, references
neverStatic contentArchived articles, PDFs

Image Sitemaps

Image sitemaps help search engines discover images on your website, which is especially important if your images are loaded via JavaScript or aren't easily discoverable through crawling.

Image Sitemap Example:

<url> <loc>https://example.com/product-page</loc> <image:image> <image:loc>https://example.com/images/product.jpg</image:loc> <image:title>Product Name</image:title> <image:caption>Product description and details</image:caption> </image:image> </url>

Benefits of Image Sitemaps:

  • • Increase visibility in Google Image Search
  • • Help discover images that might be missed during regular crawling
  • • Provide context with titles and captions
  • • Essential for e-commerce sites with product images
  • • Support multiple images per URL (up to 1,000)

Sitemap Index Files

A sitemap index file is a way to submit multiple sitemaps at once. This is useful when:

  • • Your sitemap exceeds 50MB (uncompressed)
  • • You have more than 50,000 URLs
  • • You want to organize sitemaps by category or content type
  • • You have multiple sitemap types (URLs, images, videos, news)

Sitemap Index Example:

<?xml version="1.0" encoding="UTF-8"?> <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap> <loc>https://example.com/sitemap-products.xml</loc> <lastmod>2025-12-16</lastmod> </sitemap> <sitemap> <loc>https://example.com/sitemap-blog.xml</loc> <lastmod>2025-12-15</lastmod> </sitemap> </sitemapindex>

Common Mistakes to Avoid

  • ❌ Including Blocked URLs: Don't include URLs that are blocked by robots.txt or have noindex tags.
  • ❌ Listing Redirects: Only include the final destination URL, not redirected URLs.
  • ❌ Including Non-Canonical URLs: Only include canonical URLs, not duplicates or alternate versions.
  • ❌ Setting Everything to Priority 1.0: This defeats the purpose. Differentiate page importance.
  • ❌ Outdated lastmod Dates: Keep dates accurate. Incorrect dates can confuse search engines.
  • ❌ Exceeding Limits: Keep sitemaps under 50MB and 50,000 URLs. Use sitemap index if needed.
  • ❌ Including Errors: URLs returning 404, 500, or other error codes shouldn't be in sitemaps.
  • ❌ Wrong Protocol: Ensure http vs https matches your actual site protocol.
  • ❌ Not Updating: Update your sitemap when adding, removing, or significantly changing pages.

How to Submit Your Sitemap

1. Google Search Console

  1. 1. Verify your website in Google Search Console
  2. 2. Go to "Sitemaps" in the left sidebar
  3. 3. Enter your sitemap URL (e.g., sitemap.xml)
  4. 4. Click "Submit"
  5. 5. Monitor for errors in the "Coverage" report
Open Google Search Console →

2. Bing Webmaster Tools

  1. 1. Sign up for Bing Webmaster Tools
  2. 2. Verify your website
  3. 3. Navigate to "Sitemaps"
  4. 4. Submit your sitemap URL
  5. 5. Check regularly for crawl issues
Open Bing Webmaster Tools →

3. robots.txt Reference

Add a sitemap reference to your robots.txt file:

Sitemap: https://yoursite.com/sitemap.xml

This helps search engines automatically discover your sitemap.

4. Ping Search Engines (Optional)

Notify search engines of sitemap updates via HTTP request:

https://www.google.com/ping?sitemap=https://yoursite.com/sitemap.xml

Not necessary if submitted via Search Console, but can speed up discovery of updates.

Best Practices for XML Sitemaps

  • ✅ Keep It Updated: Regenerate your sitemap when adding, removing, or significantly changing pages
  • ✅ Use Compression: Compress large sitemaps with gzip to reduce file size (sitemap.xml.gz)
  • ✅ Include Only Important Pages: Don't include every page - focus on indexable, valuable content
  • ✅ Use Absolute URLs: Always use complete URLs with protocol (https://example.com/page)
  • ✅ Match Your Site: Ensure URLs in sitemap match exactly what's on your site
  • ✅ Organize by Type: For large sites, create separate sitemaps for different content types
  • ✅ Monitor in Search Console: Regularly check for errors and coverage issues
  • ✅ Update lastmod Accurately: Only change lastmod when content actually changes
  • ✅ Exclude Parameterized URLs: Avoid including URLs with tracking parameters
  • ✅ Test Before Submitting: Validate your sitemap XML syntax before uploading

Testing and Validating Your Sitemap

XML Syntax Validators

Ensure your sitemap has valid XML syntax before submitting. Invalid XML will be rejected.

  • • Use online XML validators to check for syntax errors
  • • Verify all URLs are properly escaped (& instead of &)
  • • Check that all XML tags are properly closed

Google Search Console Testing

After submitting, check Google Search Console for:

  • • Parsing errors (invalid XML, incorrect tags)
  • • HTTP errors (404s, 500s for listed URLs)
  • • Coverage issues (blocked by robots.txt, noindex tags)
  • • Indexing status of submitted URLs

Manual Testing

Test your sitemap manually:

  • • Visit https://yoursite.com/sitemap.xml in a browser
  • • Verify it displays as XML (not 404 error)
  • • Check that URLs are accessible and not redirecting
  • • Confirm file size is under 50MB uncompressed
  • • Ensure URL count doesn't exceed 50,000

Frequently Asked Questions

Q: Is an XML sitemap required for SEO?

A: Not strictly required, but highly recommended. Small sites with good internal linking might not need one, but it's a best practice for all sites. It helps ensure all your pages are discovered and can speed up indexing significantly.

Q: Does a sitemap guarantee my pages will be indexed?

A: No. A sitemap is a suggestion to search engines, not a guarantee. Search engines may choose not to index pages due to quality issues, duplicate content, or crawl budget limitations. Use Google Search Console to monitor indexing status.

Q: How often should I update my sitemap?

A: Update whenever you add, remove, or significantly change pages. For blogs, consider regenerating after publishing new posts. For static sites, updates may be infrequent. Automated CMS platforms often update sitemaps automatically.

Q: Should I include noindex pages in my sitemap?

A: No! This sends conflicting signals to search engines. If a page has a noindex tag, it shouldn't be in your sitemap. Google may flag this as an error in Search Console.

Q: Can I have multiple sitemaps?

A: Yes! You can have multiple sitemaps organized by content type or section. Use a sitemap index file to reference all your sitemaps. This is recommended for large sites or sites with diverse content types (products, blog posts, images, etc.).

Q: What's the difference between HTML and XML sitemaps?

A: HTML sitemaps are user-facing pages listing your site's content for human visitors. XML sitemaps are specifically for search engines and follow a strict format. You should have both - HTML for users, XML for search engines.

Q: Do I need separate sitemaps for each language/region?

A: Not necessarily. You can include all language versions in one sitemap with hreflang annotations, or create separate sitemaps for each language and reference them in a sitemap index. Both approaches work.

Advanced: Dynamic Sitemap Generation

Premium Features for Large Sites

For websites with hundreds or thousands of pages, manual sitemap management becomes impractical. ZipConvert Premium offers:

  • Automatic Crawling: Enter your website URL and automatically discover all pages
  • Unlimited URLs: Generate sitemaps for sites with any number of pages
  • Scheduled Generation: Automatically regenerate sitemaps on a schedule
  • Smart Prioritization: AI-powered priority assignment based on page importance
  • Change Detection: Automatically update lastmod dates based on actual content changes
  • Multi-format Support: Generate image, video, and news sitemaps automatically
Upgrade to Premium