Stax
Tools

XML Sitemap Generator

Create an XML sitemap with URLs, priorities, and change frequencies.

Path / URLPriorityChange freqLast mod
<?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-20</lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-06-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/contact</loc>
    <lastmod>2026-06-20</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
</urlset>

Upload to https://yourdomain.com/sitemap.xml and submit in Google Search Console.

How the Sitemap Generator works

The sitemap generator builds a valid XML sitemap following the sitemaps.org protocol. Add your URLs, set lastmod dates, changefreq values, and priority scores — then download the finished sitemap.xml ready for upload to your server root and submission to Google Search Console, Bing Webmaster Tools, and other search engines. No coding required.

XML sitemap format and schema

An XML sitemap follows a strict schema: a urlset root element with xmlns="http://www.sitemaps.org/schemas/sitemap/0.9", containing url elements each with a required loc tag (the page URL) and optional lastmod (ISO 8601 date), changefreq (always/hourly/daily/weekly/monthly/yearly/never), and priority (0.0–1.0). The generator validates all inputs against this schema before producing the output file.

Priority and changefreq guidelines

Priority signals the relative importance of pages within your site — it does not affect ranking versus other sites. Set your homepage to 1.0, main category pages to 0.8, and individual articles or products to 0.5–0.6. Changefreq is a hint, not a guarantee — Google crawls at its own schedule. Use daily for news or frequently updated pages, weekly for blog posts, monthly for evergreen content, and yearly for terms and privacy pages.

50,000 URL limit and sitemap index

Google's sitemap protocol limits each file to 50,000 URLs and a maximum file size of 50 MB uncompressed. Large sites split URLs across multiple sitemap files referenced by a sitemap index file (sitemapindex XML format). The generator handles this automatically — when your URL count exceeds 500 (a practical threshold for manual management), it splits into numbered sitemap files and generates the index file that references all of them.

Submitting to Google Search Console

After uploading sitemap.xml to your domain root, submit the URL (https://yourdomain.com/sitemap.xml) in Google Search Console under Indexing → Sitemaps. Google will periodically re-fetch the sitemap to discover new or updated URLs. You can also add the sitemap URL to your robots.txt file (Sitemap: https://yourdomain.com/sitemap.xml) so all crawlers that respect robots.txt find it automatically without manual submission.

Frequently asked questions

What is an XML sitemap?
An XML sitemap is a file that lists all the important URLs on your website, along with metadata like last modified date, change frequency, and priority. It helps search engines discover and crawl all your pages efficiently, especially pages that may not be well-linked internally. Upload your sitemap to Google Search Console and Bing Webmaster Tools to notify these crawlers of new or updated pages.
How do I submit a sitemap to Google?
Go to Google Search Console → Sitemaps → enter your sitemap URL (e.g. https://yourdomain.com/sitemap.xml) → Submit. Google will crawl and index the sitemap within a few days.
What should I set for priority?
Priority (0.0–1.0) indicates the relative importance of URLs within your site. Homepage: 1.0, main category pages: 0.8, blog posts: 0.6–0.7, utility pages: 0.4–0.5. Note: Google treats priority as a hint, not a directive.
What is changefreq?
changefreq is a hint to crawlers about how often the page content changes. Values: always, hourly, daily, weekly, monthly, yearly, never. Use daily for news articles and blog indexes; weekly for category pages; monthly for evergreen content; yearly for rarely updated pages like terms or about pages. Google treats changefreq as a hint and determines actual crawl frequency based on its own signals — so do not set everything to daily hoping for more crawls.
Do I need a sitemap if my site is small?
Sitemaps are most beneficial for large sites (500+ pages), sites with complex navigation, new sites with few external links, or sites with rich media content. Small sites with good internal linking usually get crawled fine without one.

Related tools