Part of SEO Metadata

SEO & WebXML

XML Sitemap Generator

Create clean, Google-compliant XML sitemaps for your website. Add URLs individually or paste in bulk with priority, frequency, and lastmod controls.

TA
Tanbir Ahamed
Published August 2026

Interactive Tool Workspace

<?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-10-15</lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-10-15</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/blog</loc>
    <lastmod>2026-10-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/pricing</loc>
    <lastmod>2026-10-15</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://example.com/contact</loc>
    <lastmod>2026-10-15</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.5</priority>
  </url>
</urlset>

How to Use

  1. 1Enter your base domain or add pages in the Visual Builder.
  2. 2Or switch to Bulk Paste mode to import dozens of URLs at once.
  3. 3Customize change frequency, priority, and lastmod dates.
  4. 4Preview the validated XML structure in real-time.
  5. 5Click Download Sitemap to get your Google-ready sitemap.xml file.

Features

  • ✓Generates standard sitemaps.org compliant XML sitemaps
  • ✓Visual Table Editor & Bulk URL Paste mode
  • ✓Customizable priority (0.0 - 1.0) and change frequency tags
  • ✓Automatic XML character escaping for safe crawling
  • ✓Base domain auto-prefix helper
  • ✓Live XML syntax formatted preview
  • ✓One-click Copy & direct file download (sitemap.xml)
Comprehensive Guide & Reference

Complete Guide to XML Sitemaps for Technical SEO

How to generate, structure, and submit compliant XML sitemaps to optimize crawl efficiency and indexation.

1. Anatomy of a Standard XML Sitemap

The XML sitemap protocol follows the official schema defined by sitemaps.org, recognized by Google, Bing, Yahoo, and Yandex. Each URL entry contains the canonical address (<loc>) and optional metadata hints including date modified (<lastmod>), change frequency (<changefreq>), and relative importance (<priority>).

2. Sitemap Best Practices

  • Only include canonical, indexable URLs: Never include 301 redirects, 404 error pages, or URLs with noindex tags.
  • Use absolute URLs: Always write full URLs including protocol (e.g. https://example.com/page), never relative paths.
  • Escape special characters: Characters like ampersands (&) must be encoded as &amp; in XML.
  • Reference in robots.txt: Add Sitemap: https://yourdomain.com/sitemap.xml at the bottom of your robots.txt file.

3. Browser Privacy

🔒 100% Client-Side Generation

Your URLs and sitemap files are generated directly in your browser. No URLs or website architectures are ever uploaded or stored on any server.

Real example

Worked example: a three-page sitemap

Input
URLs: https://www.freetoolwise.com/ plus 2 more pages · Lastmod: 2026-10-07 · Change frequency: weekly
Output
→<?xml version="1.0" encoding="UTF-8"?> ↵ <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> ↵ <url><loc>https://www.freetoolwise.com/</loc><lastmod>2026-10-07</lastmod><changefreq>weekly</changefreq><priority>1.0</priority></url> ↵ … one <url> block per remaining page ↵ </urlset>

Google treats changefreq and priority as weak hints and leans on accurate lastmod dates — a wrong lastmod is worse than omitting it.

Privacy & data handling

This tool runs entirely in your browser. What you enter is processed on your own device using JavaScript and WebAssembly — it is not uploaded to our servers, and there is no account, no signup and no per-use limit. Read our privacy policy.

Frequently Asked Questions

What is an XML Sitemap and why do search engines need it?
An XML sitemap is a structured file that lists every essential page on your website. It acts as a roadmap for Google, Bing, and other crawlers to discover, prioritize, and index your content faster, especially for new sites or large architectures with deep nesting.
What are the maximum limits for an XML Sitemap file?
According to sitemaps.org protocol, a single sitemap file can contain up to 50,000 URLs and must not exceed 50 MB uncompressed. If your website has more than 50,000 URLs, you must split them into multiple sitemap files and combine them using a Sitemap Index file.
Does the priority tag guarantee higher rankings in Google?
No. The priority tag (0.0 to 1.0) is a relative hint indicating which pages on your own website you consider most important relative to other URLs on your domain. It does not boost your rankings against competitor domains in SERPs.
How often should the lastmod tag be updated?
The lastmod date should only be updated when significant content changes are made to the page. Googlebot uses lastmod to determine if it needs to recrawl and re-index the page. Updating lastmod without real changes can cause search engines to ignore the tag.
How do I submit my generated sitemap to Google?
Download the sitemap.xml file, upload it to the root of your web server (or /sitemap.xml), and submit the URL in Google Search Console under Indexing > Sitemaps. Also add the Sitemap: https://yourdomain.com/sitemap.xml directive to your robots.txt file.

Related Tools

Topical Collection

Explore all tools in SEO Metadata

View collection

Related Guides