Sitemap Generator

Free sitemap generator tool. Create XML sitemap for your website easily. Add URLs, set priorities, and generate SEO-friendly sitemap.xml file online.

Config Sitemap Settings
Your website's base URL (required)
Presets Quick Presets
Pages Common Pages

Select common pages to add:

Add Add URL
Enter paths or full URLs, one per line

About Sitemap Generator

A professional sitemap generator tool that helps you create XML sitemaps for your website. XML sitemaps help search engines discover and crawl your website more efficiently, improving your SEO performance. Essential tool for webmasters and SEO professionals.

What is an XML Sitemap?

An XML sitemap is a file that lists all important pages of your website in a structured format that search engines can easily read and understand. It acts as a roadmap of your website, helping search engine crawlers discover and index your content more efficiently.

Key components of a sitemap:
• <loc>: The URL of the page
• <lastmod>: Date of last modification
• <changefreq>: How frequently the page changes
• <priority>: Relative importance (0.0 to 1.0)

XML sitemaps are especially important for:
• Large websites with many pages
• New websites with few external links
• Websites with dynamic content
• Websites with pages that aren't well-linked internally
• Media-rich sites (images, videos)

Why do I need a sitemap?

A sitemap provides several important benefits for your website:

**SEO Benefits:**
• Helps search engines discover all your pages faster
• Ensures important pages are indexed
• Improves crawl efficiency on large sites
• Helps new or updated content get indexed quickly

**Website Organization:**
• Provides structure overview of your site
• Identifies orphan pages (not linked from anywhere)
• Helps plan site architecture

**Analytics & Monitoring:**
• Track which pages are indexed via Search Console
• Identify crawl errors and indexing issues
• Monitor sitemap submission status

**When Sitemap is Critical:**
• New website with limited backlinks
• Site with complex structure or deep pages
• Large e-commerce sites with many products
• News sites with frequent content updates
• Sites with rich media content

Note: While sitemaps help, they don't guarantee indexing. Quality content and good site structure are still essential.

What should I include in my sitemap?

**Pages to INCLUDE:**
• All important content pages
• Product and category pages
• Blog posts and articles
• Landing pages
• Service pages
• About, Contact pages
• Canonical versions of pages

**Pages to EXCLUDE:**
• Admin pages and login pages
• Thank you/confirmation pages
• Search result pages
• Pages with noindex tag
• Duplicate or very similar pages
• Temporary or test pages
• Pages behind paywalls or login
• Low-quality or thin content pages
• 404 or redirect pages

**Best Practices:**
• Include only canonical URLs
• Use absolute URLs (full URLs with https://)
• Keep sitemap under 50,000 URLs
• Keep file size under 50MB (uncompressed)
• For larger sites, use multiple sitemaps with a sitemap index
• Update sitemap regularly (especially for dynamic content)
• Include only pages you want indexed

What are Priority and Change Frequency?

**Priority (0.0 to 1.0):**
Indicates the relative importance of a URL compared to other URLs on your site.

• 1.0 - Highest priority (homepage, most important pages)
• 0.8 - High priority (main category pages, key content)
• 0.5 - Medium priority (standard content pages)
• 0.3 - Low priority (old blog posts, archive pages)
• 0.0 - Lowest priority (rarely used)

**Important Notes:**
• This is RELATIVE to your own site, not the entire web
• Don't set everything to 1.0 - it loses meaning
• Search engines may ignore this if they find better signals
• Use it to guide crawlers to most important content

**Change Frequency:**
How often the page content changes:

• Always - Changes every access (very rare)
• Hourly - News sites, live scores
• Daily - News blogs, active forums
• Weekly - Regularly updated blogs
• Monthly - Company news, less frequent updates
• Yearly - Static pages, legal documents
• Never - Archived content

**Important Notes:**
• This is advisory - search engines may ignore it
• Be realistic - don't claim daily if you update monthly
• Search engines prefer their own crawl schedule
• More important: actual last modified date

**Recommendation:**
In 2024, many SEO experts recommend:
• Always include lastmod (last modified date)
• Consider excluding changefreq (search engines often ignore it)
• Use priority sparingly and strategically

How do I submit my sitemap to search engines?

**Google Search Console:**
1. Go to search.google.com/search-console
2. Select your property (website)
3. Navigate to Sitemaps in the left menu
4. Enter your sitemap URL: https://yoursite.com/sitemap.xml
5. Click Submit
6. Monitor status and any errors

**Bing Webmaster Tools:**
1. Go to www.bing.com/webmasters
2. Add and verify your site
3. Navigate to Sitemaps
4. Submit sitemap URL
5. Monitor crawl stats

**Other Methods:**

**robots.txt File:**
Add this line to your robots.txt:
Sitemap: https://yoursite.com/sitemap.xml

**Ping Method:**
Google (automatic discovery):
http://www.google.com/ping?sitemap=https://yoursite.com/sitemap.xml

Bing:
http://www.bing.com/ping?sitemap=https://yoursite.com/sitemap.xml

**Other Search Engines:**
• Yandex Webmaster Tools
• Baidu Webmaster Tools
• Naver Webmaster Tools

**Best Practices:**
• Submit to all relevant search engines
• Update and resubmit when making major changes
• Monitor for errors regularly
• Keep sitemap URL in robots.txt
• Use sitemap index for multiple sitemaps

How often should I update my sitemap?

**Update Frequency Depends on Your Site:**

**Daily or Real-time Updates:**
• News websites
• High-frequency blogs
• E-commerce with frequent product changes
• Job listing sites
• Real estate sites

**Weekly Updates:**
• Regularly updated blogs
• Small to medium e-commerce
• Corporate sites with weekly news
• Event websites

**Monthly Updates:**
• Less active blogs
• Small business websites
• Portfolio sites
• Corporate sites with occasional updates

**As Needed:**
• Static websites
• When adding new pages
• After major content updates
• After site restructuring

**Automatic Updates:**
Best approach is to automate sitemap generation:
• WordPress: Use SEO plugins (Yoast, Rank Math)
• Custom sites: Script to regenerate on content changes
• CMS: Built-in sitemap features
• Static sites: Build-time generation

**Resubmission:**
• You don't need to resubmit every time
• Search engines recrawl sitemaps regularly
• Resubmit after major changes or errors
• Use ping URLs for immediate notification

**Monitoring:**
• Check Search Console weekly for errors
• Review coverage reports monthly
• Verify all important pages are indexed
• Fix any sitemap warnings promptly

What are sitemap errors and how to fix them?

**Common Sitemap Errors:**

**1. URLs Returning Error Codes**
Error: Submitted URL returns 404, 500, etc.
Fix:
• Remove dead URLs from sitemap
• Fix broken pages or set up redirects
• Verify all URLs before adding to sitemap

**2. Submitted URL Blocked by robots.txt**
Error: URL in sitemap but blocked in robots.txt
Fix:
• Remove blocked URLs from sitemap
• Or update robots.txt to allow the URL
• Ensure consistency between files

**3. Submitted URL Has Noindex Tag**
Error: Page has noindex meta tag but in sitemap
Fix:
• Remove noindex pages from sitemap
• Or remove noindex tag if page should be indexed

**4. Submitted URL Redirects**
Error: URL in sitemap redirects to another page
Fix:
• Use final destination URL in sitemap
• Remove or fix redirect chains
• Include only canonical URLs

**5. File Size Too Large**
Error: Sitemap exceeds 50MB or 50,000 URLs
Fix:
• Split into multiple sitemaps
• Create sitemap index file
• Remove less important URLs

**6. Invalid XML Format**
Error: XML syntax errors, encoding issues
Fix:
• Validate XML using tools
• Ensure UTF-8 encoding
• Check for special characters (escape &, <, >)
• Use CDATA for descriptions if needed

**7. URLs Not Using Canonical Version**
Error: Multiple versions (www/non-www, http/https)
Fix:
• Include only canonical URLs
• Use consistent URL format
• Match URLs to actual site structure

**Prevention:**
• Regular validation of sitemap
• Monitor Search Console errors
• Test URLs before adding
• Use automated sitemap generation
• Keep sitemap updated with site changes

What is a Sitemap Index file?

A Sitemap Index file is a sitemap that points to other sitemaps. It's useful when you have:

**When to Use:**
• More than 50,000 URLs
• File size exceeding 50MB
• Multiple content types (pages, images, videos, news)
• Large e-commerce sites
• Multi-language websites

**Structure:**
```xml
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://example.com/sitemap-pages.xml</loc>
<lastmod>2024-01-15</lastmod>
</sitemap>
<sitemap>
<loc>https://example.com/sitemap-products.xml</loc>
<lastmod>2024-01-15</lastmod>
</sitemap>
<sitemap>
<loc>https://example.com/sitemap-blog.xml</loc>
<lastmod>2024-01-14</lastmod>
</sitemap>
</sitemapindex>
```

**Benefits:**
• Organize sitemaps by content type
• Easier to manage and update
• Better performance with large sites
• Separate frequently vs. rarely updated content
• Track errors more easily

**Example Organization:**
• sitemap-index.xml (main file)
• sitemap-pages.xml (static pages)
• sitemap-products.xml (product pages)
• sitemap-blog.xml (blog posts)
• sitemap-images.xml (images)
• sitemap-videos.xml (videos)

**Submission:**
• Submit only the index file to search engines
• Search engines will discover child sitemaps
• Update index when adding new child sitemaps

**Limits:**
• Sitemap index can list up to 50,000 sitemaps
• Each child sitemap follows normal limits
• Total site can have unlimited URLs across all sitemaps

Key Features

  • Easy-to-use interface for creating XML sitemaps
  • Add URLs individually or in bulk
  • Set custom priority, change frequency, and last modified date
  • Quick presets for common website types
  • Common pages selection for quick setup
  • Real-time sitemap preview
  • XML validation
  • Statistics display (total URLs, file size)
  • Copy to clipboard with one click
  • Download as sitemap.xml
  • Installation instructions included
  • Best practices guide
  • Support for both relative and absolute URLs
  • Duplicate URL detection
  • URL editing and management
  • Remove individual or all URLs
  • Auto-set last modified date to today
  • Configurable sitemap settings
  • SEO-optimized output format
  • 100% free, no registration required
  • Works completely in browser
  • Mobile-friendly responsive design
  • Compliant with sitemap.org protocol