BrowserTools logoBrowserTools.in
EverydayImagesIndiaDeveloperAudioVideoPDFRecordingFavorites
Ad space
BrowserTools logoBrowserTools.in

Free tools for everyday tasks

Categories

Everyday ToolsImage ToolboxIndia Utility HubDeveloper ToolboxAudio ToolboxVideo ToolboxPDF ToolboxRecording Studio

Resources

Guides & TutorialsAboutContactSitemap

Legal

Privacy PolicyTerms of ServiceDisclaimer
© 2026 BrowserTools.in. All rights reserved.
HomeDeveloper ToolboxWeb & URLsSitemap XML Generator

Sitemap XML Generator

Generate a valid sitemap.xml file from a list of your site's URLs, with a configurable change frequency.

Sitemap generation occurs entirely inside your browser. URL lists are never transmitted to external servers.

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-10-27</lastmod>
    <changefreq>weekly</changefreq>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-10-27</lastmod>
    <changefreq>weekly</changefreq>
  </url>
  <url>
    <loc>https://example.com/contact</loc>
    <lastmod>2026-10-27</lastmod>
    <changefreq>weekly</changefreq>
  </url>
</urlset>
Ad space

What is Sitemap XML Generator?

Sitemap XML Generator builds schema-compliant sitemap.xml files adhering to the sitemaps.org 0.9 standard. It converts a list of website URLs into properly indented <url> entries, automatically escapes XML ampersands (&amp;), attaches today's ISO 8601 publication date (<lastmod>), and applies your selected change frequency (<changefreq>). Output can be copied or downloaded directly as sitemap.xml.

How to use Sitemap XML Generator

  1. 1Paste your list of canonical website URLs into the editor, one URL per line.
  2. 2Select a default change frequency from the dropdown (e.g. weekly or monthly).
  3. 3Copy the XML output or click Download to save sitemap.xml.

Key features

sitemaps.org 0.9 Compliance

Emits standard XML declarations and urlset namespace headers recognized by Google, Bing, and major search engines.

Automatic XML Character Escaping

Escapes reserved characters like ampersands (&) into &amp; inside <loc> tags to prevent parsing errors.

Configurable Change Frequencies

Supports always, hourly, daily, weekly, monthly, yearly, and never frequency tags.

Instant XML Download

Exports valid application/xml sitemap files ready to upload to your web server root.

Examples & use cases

Three-Page Website Sitemap

Generating valid XML sitemap entries with weekly frequency

Input:
https://example.com/
https://example.com/about
https://example.com/contact
Result:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>TODAY</lastmod>
    <changefreq>weekly</changefreq>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>TODAY</lastmod>
    <changefreq>weekly</changefreq>
  </url>
  <url>
    <loc>https://example.com/contact</loc>
    <lastmod>TODAY</lastmod>
    <changefreq>weekly</changefreq>
  </url>
</urlset>

Query String URL Escaping

Automatically escapes ampersands in query parameters

Input:
https://example.com/search?cat=shoes&sort=price
Result:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/search?cat=shoes&amp;sort=price</loc>
    <lastmod>TODAY</lastmod>
    <changefreq>weekly</changefreq>
  </url>
</urlset>

Frequently asked questions

A single standard sitemap.xml file can contain up to 50,000 URLs and must not exceed 50MB uncompressed. Sites with more URLs should split them into multiple sitemaps and use a sitemap index file.
Place sitemap.xml at your website's root directory (e.g. https://example.com/sitemap.xml), reference it in your robots.txt file, and submit its URL in Google Search Console and Bing Webmaster Tools.
Most modern search engines, including Google, primarily rely on the <loc> URL and <lastmod> timestamp, using their own crawling signals rather than strict <changefreq> hints.

Related tools

Developer
robots.txt Generator

Build a robots.txt file with allow/disallow rules and sitemap directives.

Developer
Meta Tag Generator

Generate SEO, Open Graph and Twitter Card meta tags together.

Developer
URL Slug Generator

Convert text into a clean, lowercase, URL-friendly slug.

Developer
URL Cleaner & Canonicalizer

Normalize a URL and strip tracking parameters (utm_*, fbclid, etc.).

Developer
UTM URL Builder

Build a campaign tracking URL with UTM parameters for analytics.