Calcorithmevery number has an answer
πŸ”
All tools β†’
← SEO & Content

Sitemap Generator

Generate an XML sitemap to help search engines discover your pages.

Base URL
Change frequency
Default priority
URL paths (one per line)
6 URLs Β· 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-06-25</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-06-25</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/contact</loc>
    <lastmod>2026-06-25</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/blog</loc>
    <lastmod>2026-06-25</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/blog/post-1</loc>
    <lastmod>2026-06-25</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/blog/post-2</loc>
    <lastmod>2026-06-25</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

What is an XML sitemap?

An XML sitemap is a file that lists all the important URLs on a website, helping search engines discover and prioritise content for crawling. Submitted to Google Search Console and Bing Webmaster Tools, sitemaps are particularly valuable for large websites, new sites with few inbound links, sites with deep URL structures, or pages with rich media content that benefits from additional metadata.

XML sitemap structure

<?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>https://example.com/</loc> ← required: the URL <lastmod>2025-03-15</lastmod> ← optional: last modified date <changefreq>weekly</changefreq> ← optional: how often it changes <priority>1.0</priority> ← optional: 0.0–1.0 (default 0.5) </url> </urlset>

Priority and changefreq: do they matter?

Google has stated publicly that it largely ignores the changefreq and priority fields in sitemaps, preferring to determine crawl frequency based on its own signals (PageRank, link velocity, content freshness). Despite this, setting sensible values is still good practice: priority 1.0 for your homepage, 0.8 for core pages, 0.5 for regular content, and 0.3 for archive or tag pages. Use changefreq as documentation for your team rather than an instruction to Google.

Sitemap best practices

Only include canonical URLs
Never include pages with noindex, redirects, or duplicate content. Only indexable, canonical URLs belong in a sitemap.
Keep under 50,000 URLs / 50MB
Each sitemap file is limited to 50,000 URLs and 50MB uncompressed. Use a sitemap index file to reference multiple sitemaps for larger sites.
Use absolute URLs
Always use full URLs starting with https:// β€” relative paths are invalid in sitemaps.
Submit to Search Console
Add your sitemap URL in Google Search Console (Settings β†’ Sitemaps) and Bing Webmaster Tools for direct discovery.
Reference in robots.txt
Add Sitemap: https://example.com/sitemap.xml to your robots.txt to help all crawlers find it automatically.
Update dynamically
For CMS-driven sites, use a plugin or build process to regenerate the sitemap automatically when content is added or removed.

Frequently asked questions

What is an XML sitemap?

An XML sitemap is a file listing the URLs of your site, optionally with metadata like last-modified date and priority. It helps search engines discover and crawl your pages.

Do I need a sitemap for SEO?

It is strongly recommended, especially for new or large sites. A sitemap helps Google and Bing find pages that internal links alone might not surface quickly.

Where do I submit my sitemap?

Submit it in Google Search Console and Bing Webmaster Tools, and reference it in your robots.txt with a Sitemap: line.

How often should I update my sitemap?

Whenever you add or remove pages. Many frameworks regenerate the sitemap automatically on each build so it always reflects your current pages.

Related SEO & Content tools

Keyword Density
Analyze keyword frequency in text
Meta Tag Generator
Generate HTML meta tags for SEO
Robots.txt Generator
Generate a robots.txt file
Prompt Generator
Generate AI prompts for any task
Token Calculator
Estimate AI token count and cost
Prompt Enhancer
Improve and optimize your AI prompts
Schema Markup Generator
Generate JSON-LD structured data for Google rich results
SEO Title Generator
Generate SEO-optimized page titles for higher CTR