TOOL
Crawling, Sitemaps & Technical SEO

XML Sitemap Generator

Create valid XML sitemaps compliant with Google, Bing, and sitemaps.org standards. Add custom URLs, configure change frequencies, priorities, and export.

Free to use No registration Works on any device
Initializing tool engine...

Your TOOL Results

Your converted results will appear here

Run XML Sitemap Generator above to generate results instantly.

Tool Overview & Guide

About XML Sitemap Generator

XML Sitemap Generator: Free Online Google & Sitemaps.org Compliant Creator

Our free online XML Sitemap Generator enables webmasters, technical SEO engineers, and site owners to generate valid, search-engine-ready XML sitemaps compliant with Google, Bing, Yandex, and official sitemaps.org 0.9 protocol standards. Whether you need to build a clean sitemap from a list of URLs, configure granular <lastmod> timestamps and crawl priorities, or extract links directly from a live webpage, our tool builds, formats, and exports your production sitemap in seconds—100% client-side with zero data uploads.

What is an XML Sitemap?

An XML Sitemap (Extensible Markup Language sitemap) is a machine-readable document hosted on your web server that lists all canonical, indexable URLs belonging to your website. Established in 2005 through a joint consensus between Google, Yahoo!, and Microsoft, the sitemaps.org standard provides search engine spiders with an authoritative map of your content architecture.

Unlike human-facing HTML sitemaps, which serve as visual directories for website visitors, XML sitemaps communicate directly with search engine bots. In addition to raw URL locations, an XML sitemap provides critical metadata, including when the resource was last modified, how frequently it undergoes editorial revisions, and its relative importance compared to other internal pages.

Crawl Budget & Indexation Efficiency

Search engine web crawlers like Googlebot do not have infinite resources. For every website, search engines allocate a crawl budget—a finite limit determining how many individual requests Googlebot will make to your host within a given time frame before moving on to other domains.

XML sitemaps optimize crawl budget and resolve critical indexation bottlenecks across several common website configurations:

Rapid Discovery of New Content

Rather than waiting days or weeks for crawlers to stumble across new articles via natural internal link traversal, sitemaps alert search engines to newly published URLs immediately.

Orphaned & Deeply Nested Pages

Valuable landing pages located 4 or 5 clicks deep in your navigation tree—or pages lacking extensive backlinks—are guaranteed crawl discovery through direct inclusion in the sitemap.

Smart Incremental Re-Crawling

By inspecting accurate <lastmod> dates, crawlers can skip thousands of untouched static pages and focus bandwidth exclusively on newly updated resources.

Anatomy of the Sitemaps.org 0.9 Protocol

The standard XML sitemap format is governed by a strict XML schema. Every standard sitemap file must adhere to the following tag hierarchy:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/page-slug/</loc>
    <lastmod>2026-11-02T00:30:00+00:00</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>
            

<urlset> (Mandatory): The root enclosing element encapsulating the entire document. It references the current schema namespace http://www.sitemaps.org/schemas/sitemap/0.9.
<url> (Mandatory): The parent container tag for each individual URL entry.
<loc> (Mandatory): The absolute, fully qualified canonical URL of the page. It must begin with the appropriate protocol (e.g. https://) and must be properly XML-escaped (e.g. ampersands as &amp;).
<lastmod> (Optional, Highly Recommended): The date and optional timestamp of last modification, formatted according to W3C Datetime / ISO 8601 (e.g. YYYY-MM-DD or YYYY-MM-DDThh:mm:ss+00:00).
<changefreq> (Optional): Advisory guidance on how frequently the content typically changes. Valid values: always, hourly, daily, weekly, monthly, yearly, and never.
<priority> (Optional): The relative priority of this URL compared to other URLs on your site, ranging from 0.0 to 1.0 (default is 0.5).

The Truth About Lastmod, Changefreq & Priority

Over the past decade, Google’s search engineering team—most notably Gary Illyes and John Mueller—has clarified how modern search crawlers actually utilize optional sitemap attributes:

  • <lastmod> is the Most Critical Tag: Googlebot heavily relies on <lastmod> to decide whether an existing cached URL needs to be re-fetched. However, Google verifies timestamp honesty; if a site continuously updates <lastmod> dates without modifying the underlying page content, Googlebot begins disregarding the tag entirely.
  • <priority> Does Not Influence External Rankings: Setting your priority to 1.0 will not boost your page above competitors on Google search. Priority is strictly internal, helping crawlers understand which pages on your domain you consider most critical relative to others. Furthermore, Google has indicated that Googlebot largely ignores <priority> today, inferring priority from internal link topology instead.
  • <changefreq> is Largely Advisory: Labeling a static landing page as hourly will not cause Googlebot to crawl it every 60 minutes. Google dynamically determines crawl frequency based on historical publication cadences and perceived user demand.

50,000 URL Limits & Sitemap Indexes

The sitemaps.org protocol establishes two hard ceilings for any single XML sitemap file:

50,000 URLs
Maximum URLs Per File

A single sitemap must not exceed fifty thousand individual <url> blocks.

50 MB
Maximum Uncompressed File Size

The uncompressed XML file size must not exceed 50 megabytes (or 52,428,800 bytes).

Websites containing more than 50,000 URLs—or large publishers managing separate content categories—must organize their files using a Sitemap Index File (<sitemapindex>). A sitemap index functions as a master catalog pointing to subordinate sitemaps:

<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <loc>https://example.com/sitemap-posts.xml</loc>
    <lastmod>2026-11-01T12:00:00+00:00</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://example.com/sitemap-products.xml</loc>
    <lastmod>2026-11-02T08:00:00+00:00</lastmod>
  </sitemap>
</sitemapindex>
        

Image, Video, News & Hreflang Sitemaps

In addition to standard HTML documents, search engines support extended XML namespaces to catalog rich media and internationalization data:

Image Sitemaps

Uses the xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" namespace to list high-resolution image URLs, captions, titles, and licensing info directly within each page’s <url> entry, boosting Google Images discovery.

Hreflang Sitemaps

Uses xmlns:xhtml="http://www.w3.org/1999/xhtml" to map multilingual page variants via <xhtml:link rel="alternate" hreflang="es" href="..." />, eliminating the need for bloated in-page HTML header tags.

Video Sitemaps

Provides thumbnail URLs, video runtimes, family-friendly flags, and direct player URLs to qualify media for Google Video search carousels.

Google News Sitemaps

Exclusively contains articles published within the last 48 hours for rapid ingestion into Google News and Discover feeds.

Top 7 Critical XML Sitemap Mistakes

1

Including Non-200 HTTP URLs

Sitemaps must contain only clean, 200 OK canonical responses. Submitting 404 (Not Found), 301 (Redirects), or 500 (Server Error) URLs wastes crawl budget and sends conflicting signals.

2

Including Noindex or Blocked URLs

Never list pages containing a <meta name="robots" content="noindex"> directive or URLs disallowed in robots.txt. This creates direct contradiction in search console audits.

3

Failing to Escape Special Characters

XML requires strict entity escaping. An unescaped ampersand (&) in a URL query string causes entire sitemap validation parsers to crash. Always escape as &amp;.

4

Mixing HTTP and HTTPS Protocols

Ensure every URL matches your current security certificate. Listing non-secure http:// links when your site redirects to https:// creates unnecessary redirect chains.

5

Omitting the Sitemap Declaration from robots.txt

Always declare your sitemap location at the bottom of your robots.txt file: Sitemap: https://example.com/sitemap.xml to guarantee discovery by all web crawlers.

6

Submitting Canonicalized Duplicate URLs

If URL A has a rel="canonical" tag pointing to URL B, only URL B should be listed in your sitemap. Including non-canonical duplicates leads to indexation errors in Google Search Console.

7

Stale or Spoofed Lastmod Dates

Do not configure automated scripts to stamp today’s date on all pages on every build. Google monitors actual document modifications; fake dates degrade algorithmic trust.

How to Generate & Configure Your Sitemap

1

Input URLs

Paste your list of URLs or crawl links from a live domain. Add individual URLs row-by-row with custom parameters.

2

Configure Metadata

Set default change frequencies (e.g. daily/weekly), priority weights (0.1 to 1.0), and ISO lastmod dates.

3

Validate & Preview

Verify protocol compliance, eliminate duplicate links, and preview clean syntax-highlighted XML markup.

4

Download & Upload

Download sitemap.xml with one click and upload it directly to your website’s root public directory.

Submitting to Google & Bing Webmaster Tools

After uploading your sitemap.xml file to your root web folder (e.g. https://example.com/sitemap.xml), register it across major search engines:

Google Search Console (GSC)

  1. Log in to Google Search Console and select your verified domain property.
  2. Click Indexing > Sitemaps in the left navigation sidebar.
  3. Under “Add a new sitemap”, enter sitemap.xml and click Submit.
  4. Monitor the status column to confirm “Success” and inspect discovered URL counts.

Bing Webmaster Tools

  1. Navigate to Bing Webmaster Tools and choose your site.
  2. Click Sitemaps in the left dashboard menu.
  3. Click the Submit sitemap button and paste your full URL: https://example.com/sitemap.xml.
  4. Bing will begin crawling discovered URLs across Bing, Yahoo!, and DuckDuckGo indexes.

XML Sitemaps vs. RSS Feeds vs. HTML Sitemaps

Format Target Audience Primary SEO Role Recommended Update Cadence
XML Sitemap Search Engine Bots (Googlebot, Bingbot) Comprehensive catalog of all indexable URLs Updated automatically upon content changes
RSS / Atom 2.0 Feed Search Crawlers & Feed Readers Ultra-fast ingestion of newly published content Real-time / immediate upon publication
HTML Sitemap Human Website Visitors Visual website navigation & internal link equity distribution Updated periodically when major sections change

Best Practice: Google officially recommends maintaining both an XML sitemap for complete domain coverage and an RSS/Atom feed for instantaneous notification of new posts.

100% In-Browser Privacy & Data Security

Your proprietary website URLs, staging server links, and unreleased landing pages are completely secure. All XML generation, formatting, date stamping, and file compilation happen entirely inside your browser’s JavaScript memory. No URLs or sitemap contents are ever transmitted to or stored on our servers.

Frequently Asked Questions (FAQ)

Where should I upload my XML sitemap on my website?

Upload your sitemap file to the root directory of your web host (e.g. public_html/sitemap.xml) so that it is publicly accessible at https://yourdomain.com/sitemap.xml. Hosting your sitemap at the root allows it to validly reference all subdirectories on your domain.

How many URLs can a single XML sitemap file hold?

According to official sitemaps.org standards, a single XML sitemap can hold up to 50,000 URLs and must not exceed 50 MB in uncompressed file size. If your site has more than 50,000 URLs, you must split them into multiple sitemaps and reference them inside a master Sitemap Index file.

Does having an XML sitemap guarantee that my pages will be indexed?

No. An XML sitemap guarantees discovery by search engine crawlers, but indexation decisions are determined by content quality, originality, authority, and adherence to Google’s Helpful Content Guidelines.

Should I include noindexed or redirected pages in my sitemap?

No. Sitemaps should strictly contain 200 OK canonical pages that you actively want indexed. Including 404 pages, 301 redirects, or pages with noindex tags wastes crawl budget and generates error warnings in Google Search Console.

How do I tell search engines where my sitemap is located?

Add a single line to the bottom of your robots.txt file: Sitemap: https://yourdomain.com/sitemap.xml. Additionally, submit the sitemap directly inside Google Search Console and Bing Webmaster Tools.

Ready to Generate Your Sitemaps.org XML File?

Build clean, valid XML sitemaps with custom lastmod dates, priorities, and change frequencies. Export and download your ready-to-upload sitemap.xml in seconds.

Pro Tip: Bookmark this page (Ctrl+D / Cmd+D) for quick one-click access whenever you need fast, accurate calculations on the go!

Why Choose Our XML Sitemap Generator?

Fast & Easy

Convert your data and files in just a few seconds.

High Quality

Get the highest quality, accurate outputs every single time.

Works Everywhere

Use on any device, phone, tablet or desktop without installs.

No Registration

No account needed. Zero signups, credits or hidden subscriptions.

Completely Free

All features are 100% free forever with no watermarks or fees.

Ready to Get Started?

Explore 200+ Free Online Tools

From image conversion to calculators, we've got everything you need in one place.

Browse All Tools

Leave a Reply

Your email address will not be published. Required fields are marked *