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.

Zero Server Upload (100% Private)100% Free & UnlimitedNo Signup Required
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-11-30</lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-11-30</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/blog</loc>
    <lastmod>2026-11-30</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/pricing</loc>
    <lastmod>2026-11-30</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://example.com/contact</loc>
    <lastmod>2026-11-30</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 Size Limits & Crawl Budget Hygiene

  • Only include canonical, indexable URLs: Never list 301/308 redirects, 404/410 pages, duplicate query parameter variants, or URLs marked with noindex. Mixing excluded or redirecting paths into your XML file wastes Googlebot crawl capacity.
  • 50,000 URL & 50 MB Rule: According to sitemaps.org and Google Search Central, a single sitemap file must stay under 50,000 URLs and 50 MB uncompressed. Larger sites split feeds across multiple files linked inside a master <sitemapindex>.
  • Accurate lastmod Dates: Set ISO 8601 dates (YYYY-MM-DD) only when a page undergoes meaningful editorial or structural updates. Google ignores <priority> and <changefreq> hints in modern indexing pipelines, relying primarily on honest <lastmod> signals.
  • Escape special characters & advertise in robots.txt: Encode ampersands (&) as &amp;, always specify full https:// URLs, and declare Sitemap: https://yourdomain.com/sitemap.xml in your robots.txt before submitting via Search Console.

3. Browser Privacy

🔒 100% Client-Side Generation

Your URLs and sitemap XML files are assembled directly in your browser memory. No domain inventories or staging routes 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.
Should noindex or redirected URLs be included in sitemap.xml?
No. Include only canonical, indexable URLs returning HTTP 200 status codes. Putting noindex pages, 301/308 redirects, 404 routes, or alternate parameterized URLs in your XML sitemap sends conflicting indexing signals and wastes crawl budget during site reviews.
Does Google still use changefreq tags in XML sitemaps?
Google ignores changefreq values and treats priority as an optional hint rather than a ranking signal. What search engines rely on is accurate URL discovery and truthful lastmod timestamps that change only when substantial page content, tools, or articles actually update.
What should I do when my site exceeds 50,000 URLs?
The official Sitemaps protocol caps a single sitemap file at 50,000 URLs and 50 MB uncompressed. Split large sites into multiple child sitemaps grouped by content section and list them inside a sitemap index XML file referencing each sub-sitemap URL.
What is the difference between an XML sitemap and an HTML sitemap?
An XML sitemap is machine-readable metadata placed at /sitemap.xml exclusively for search engine bots and AI crawlers. An HTML sitemap or hub directory page helps human visitors navigate categories while passing internal link equity through standard clickable anchor tags.
Can I generate sitemaps for static sites and localhost staging lists?
Yes. Paste any newline-separated URL list with your production domain base URL and generate standards-compliant UTF-8 XML right inside your browser without crawling delays or third-party server uploads.

Related Tools

Topical Collection

Explore all tools in SEO Metadata

View collection

Related Guides