XML sitemaps help search engines discover and prioritize the pages on your website. By listing your important URLs with metadata like change frequency and priority, you give Googlebot clear guidance on what to crawl and how often. This sitemap generator creates standard sitemap.xml files ready to submit to Google Search Console.
Generated sitemap.xml
How to Use the Sitemap XML Generator
An XML sitemap is one of the first things you should set up on any new website. It tells Google which pages exist and helps ensure all your important content gets indexed. This sitemap generator creates a standards-compliant sitemap.xml file that you can upload directly to your website root and submit to Google Search Console in minutes.
Step 1: Add Your URLs
Click Add URL to add pages one at a time, or click Import URLs to paste a bulk list of URLs separated by newlines. For most sites, you'll want to include: the homepage, all main category/section pages, important product or service pages, blog posts and articles, and key landing pages. Exclude admin pages, duplicate content, and pages with noindex directives.
Step 2: Set Priority and Change Frequency
For each URL, set the Priority (1.0 = highest, 0.1 = lowest). Use 1.0 for your homepage, 0.8 for main section pages, 0.6 for individual posts/products, and 0.4 for secondary pages. The Change Frequency hints to Google how often to recrawl (daily for news, weekly for blog posts, monthly for static pages, yearly for evergreen content). The Last Modified date helps Google understand when content was updated.
Step 3: Download and Upload Your Sitemap
Click Download to save as sitemap.xml and upload it to your website's root directory so it's accessible at https://yourdomain.com/sitemap.xml. Also add a reference in your robots.txt: Sitemap: https://yourdomain.com/sitemap.xml.
Step 4: Submit to Google Search Console
Log into Google Search Console, go to Sitemaps in the left sidebar, enter your sitemap URL, and click Submit. Google will process the sitemap and start crawling your listed URLs. You can check the Sitemaps report to see how many URLs were submitted vs. indexed, and identify any coverage errors.
FAQ
Is this sitemap XML generator free?
Yes, this sitemap XML generator is completely free with no usage limits. Add unlimited URLs, export the sitemap.xml file, and use it in any project. No account or payment required. Everything runs in your browser.
What is an XML sitemap and why do I need one?
An XML sitemap is a file that lists all the important URLs on your website, helping search engines discover and crawl your pages more efficiently. It's especially important for large sites, new sites with few backlinks, or sites with pages that aren't well-linked internally. Google recommends submitting your sitemap via Google Search Console.
What do priority and change frequency mean in a sitemap?
Priority (0.0 to 1.0) indicates the relative importance of a URL compared to other URLs on your site — use 1.0 for your homepage, 0.8 for main category pages, and 0.6 for individual posts. Change frequency is a hint to crawlers about how often the page changes (daily, weekly, monthly). Both are advisory signals, not commands — Google uses its own crawling frequency based on actual content changes.
How large can my sitemap be?
The XML Sitemap protocol allows up to 50,000 URLs and 50MB per sitemap file. For larger sites, use a sitemap index file that points to multiple individual sitemaps. This generator supports up to 50,000 URLs — for sites above that limit, split into multiple sitemaps and create a sitemap index.
Should I include every page in my sitemap?
No — include only canonical, indexable pages. Exclude: duplicate pages (include only the canonical), paginated pages beyond page 1 or 2, tag/category pages with thin content, login/checkout/cart pages, pages with noindex robots directives, and URL parameters or filtered variations. A clean sitemap of high-value pages is better than a bloated one.
How do I submit my sitemap to Google?
After generating and uploading your sitemap.xml to your website root (https://example.com/sitemap.xml), go to Google Search Console > Sitemaps and submit your sitemap URL. Also add a reference in your robots.txt: Sitemap: https://example.com/sitemap.xml. Google will then crawl and process the sitemap periodically.
What is the lastmod field in a sitemap?
The lastmod (last modified) field tells search engines when a page was last meaningfully updated. Use an accurate date — incorrect or inflated lastmod dates can reduce Google's trust in your sitemap data. Update lastmod when you make significant content changes, not for minor edits like fixing typos.