Sitemap Generator
Create a clean sitemap.xml with canonical URLs, last modified dates, priority, and change frequency.
sitemap.xml (4 URLs)
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.example.com/</loc>
<lastmod>2026-06-06</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://www.example.com/solutions/</loc>
<lastmod>2026-06-06</lastmod>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
</url>
<url>
<loc>https://www.example.com/pricing/</loc>
<lastmod>2026-06-06</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://www.example.com/blog/</loc>
<lastmod>2026-06-06</lastmod>
<changefreq>daily</changefreq>
<priority>0.7</priority>
</url>
</urlset>Production Notes
Keep only canonical public URLs, avoid private paths, keep dates current, and submit the final sitemap URL in your search console.
The Ultimate Guide to XML Sitemaps
An XML Sitemap is one of the most fundamental technical SEO components of any website. Without a proper sitemap, search engines like Google and Bing rely entirely on link crawling to discover your pages. If a page has no internal links pointing to it, it becomes an "orphan page" and will never be indexed.
XML Sitemap Best Practices
- Keep it Clean: Never include URLs that return a 404 error, 301 redirect, or have a
noindextag. Your sitemap should only contain 200 OK, canonical URLs. - Size Limits: A single sitemap file can contain a maximum of 50,000 URLs and must be under 50MB uncompressed. If you exceed this, you must use a Sitemap Index file.
- Use the LastMod Tag: The
<lastmod>tag is the most important attribute. It tells Google exactly when the content changed, prompting them to recrawl the page and index your fresh content faster.
How to Implement Your Sitemap
Once you use our free Sitemap Generator to create your XML file:
- Download the generated
sitemap.xmlfile. - Upload it to the root directory of your website server (so it is accessible at
yourdomain.com/sitemap.xml). - Add a reference to it in your
robots.txtfile:Sitemap: https://yourdomain.com/sitemap.xml. - Submit the URL directly in Google Search Console and Bing Webmaster Tools.
How to Use the Sitemap Generator
Step-by-step guide
Enter Your Base URL
Type your website domain (e.g., https://www.example.com) as the base URL for all sitemap entries.
Add Your Pages
Click "URL" to add page paths. Set the change frequency, priority, and last modified date for each page.
Review the XML Output
The XML sitemap is generated in real-time on the right. Review the structure and ensure all URLs are correct.
Download or Copy
Download the sitemap.xml file or copy the output. Upload it to your site root and submit in Google Search Console.
Frequently Asked Questions
About the XML Sitemap Generator
An XML sitemap is a file that lists a website's essential pages, making sure Google and other search engines can find and crawl them all. It acts as a roadmap of your website that leads crawlers to all your important pages.
Yes. While Google can often discover pages through internal linking, a sitemap guarantees that search engines know about all your pages, their relative importance, and when they were last updated. It is crucial for new websites, large websites, or sites with isolated pages.
Once you generate and upload your sitemap.xml to your website's root directory (e.g., example.com/sitemap.xml), log into Google Search Console. Go to Indexing > Sitemaps, enter your sitemap URL, and click Submit.
The priority tag (0.0 to 1.0) tells search engines how important a page is relative to other pages on your site. For example, your homepage is usually 1.0, category pages 0.8, and blog posts 0.6. Note: Google currently states they largely ignore the priority tag, but other search engines may use it.
No. You should only include "Canonical" public pages that you want to rank in search results. Exclude utility pages (like Login, Cart, or Checkout), pages with noindex tags, duplicate content, and dynamically generated search result pages.
Your sitemap should ideally be updated dynamically whenever a new page is published or deleted. If you maintain a static site, you should manually regenerate and resubmit your sitemap whenever significant structural changes occur.
More Free SEO Tools
Schema Markup Generator
Create JSON-LD structured data for products, articles, FAQs, and more.
Open ToolMeta Tags Preview
Preview SEO titles, descriptions, Open Graph, and Twitter cards.
Open ToolRobots.txt Generator
Generate robots.txt rules with sitemap and crawl-delay settings.
Open ToolSEO Slug Generator
Convert titles into clean, keyword-friendly URL slugs.
Open ToolTyping Speed Test
Practice typing with WPM, accuracy, consistency, mistakes, and leaderboard stats.
Open ToolHTML to Markdown Editor
Instantly parse raw HTML tags into clean, readable GitHub Flavored Markdown.
Open ToolWord Counter
Count words, characters, readability, speaking time, and keyword density.
Open ToolPassword Generator
Generate strong passwords, passphrases, PINs, and API keys with strength analysis.
Open ToolRelated Workflows
Guides, tools, and template pages to continue the workflow
