Sitemap Generator
Generate XML sitemaps for your website with priority, change frequency, and last modified settings.
URLs (1)
Generated sitemap.xml
<?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-03-30</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
</urlset>Related Tools
Robots.txtNEW
Generate robots.txt files with user-agent rules, allow/disallow paths, and sitemap references.
Meta TagsNEW
Generate SEO-optimized meta tags for your website. Title, description, Open Graph, and Twitter cards.
Slug GenNEW
Generate SEO-friendly URL slugs from any text. Clean, lowercase, hyphenated URLs.
OG PreviewNEW
Preview how your page will look when shared on Facebook, Twitter, LinkedIn, and Discord.
Frequently Asked Questions
What is an XML sitemap?
Do I need a sitemap for my website?
What is the maximum number of URLs in a sitemap?
What does changefreq mean in a sitemap?
What does priority mean in a sitemap?
Where should I place the sitemap file?
How to Use the Sitemap Generator
A properly formatted XML sitemap helps search engines discover and index your website pages efficiently. Our sitemap generator creates valid XML sitemaps that follow the Sitemaps Protocol specification, with configurable settings for each URL including last modification date, change frequency, and priority.
Step 1: Add your URLs. Enter your website URLs one per line in the input area. Include the full URL with protocol (https://). You can also paste an existing sitemap in XML format to edit it. The tool validates each URL for proper formatting.
Step 2: Configure per-URL settings. For each URL, optionally set the last modification date, change frequency (daily, weekly, monthly, etc.), and priority (0.0 to 1.0). These metadata values help search engines prioritize their crawling and understand how your content changes over time.
Step 3: Generate and download. The tool generates a valid XML sitemap that conforms to the Sitemaps Protocol specification. Preview the XML output, then download it as a sitemap.xml file ready to deploy to your website root directory.
Step 4: Deploy and submit. Upload the sitemap.xml to your website root directory and add a Sitemap directive to your robots.txt file. Submit the sitemap URL through Google Search Console and Bing Webmaster Tools for faster discovery and indexing.
Understanding the Sitemaps Protocol
The Sitemaps Protocol is a URL inclusion standard that describes how search engines discover pages on a website. It was jointly developed by Google, Yahoo, and Microsoft in 2006 and has become the universal standard for communicating website structure to search engines. The protocol defines an XML format with specific tags for URL location, last modification, change frequency, and priority.
Each URL entry in a sitemap can include four properties. The loc tag (required) specifies the absolute URL of the page. The lastmod tag indicates when the page was last modified in W3C datetime format. The changefreq tag suggests how often the page content changes. The priority tag indicates the relative importance of the URL within your site hierarchy.
For large websites, sitemap index files allow you to organize multiple sitemaps. A sitemap index lists individual sitemap files, each of which can contain up to 50,000 URLs. This hierarchical structure supports websites with millions of pages while keeping individual files manageable and fast to parse.
Sitemap Best Practices for SEO
Include only canonical URLs. Your sitemap should contain the canonical version of each URL. Do not include duplicate pages, paginated URLs that redirect to the first page, or URLs that return non-200 status codes. Every URL in the sitemap should be a page you want indexed.
Keep lastmod accurate. Only update the lastmod date when the page content actually changes significantly. Search engines track lastmod changes to decide when to re-crawl pages. Artificially updating dates wastes crawl budget and can lead search engines to distrust your lastmod values entirely.
Use consistent URLs. Ensure the URLs in your sitemap match the URLs in your internal links and canonical tags. Inconsistencies between these signals can confuse search engines and dilute your page authority across multiple URL versions.
Why Use Our Sitemap Generator?
Valid XML output. The generator produces properly formatted XML that validates against the Sitemaps Protocol XSD schema. XML formatting errors can prevent search engines from reading your sitemap, so correct syntax is essential.
Per-URL configuration. Set lastmod, changefreq, and priority individually for each URL. This granular control lets you communicate the relative importance and update frequency of different sections of your website.
Instant download. Download the generated sitemap.xml file directly. No account registration, email verification, or payment required. The tool runs entirely in your browser for complete privacy.