Sitemap.xml Generator - Online Sitemap Builder

Generate a sitemap.xml online: enter your site URL and page paths, and the tool normalizes URLs, removes duplicates and outputs standard urlset XML with lastmod, changefreq and priority.

One path per line; /path or full URLs are supported. Empty lines and lines starting with # are ignored.

Result

The sitemap is assembled locally in your browser; URLs and paths are never uploaded.

About This Tool

The Sitemap Generator converts a list of page paths into a standard sitemap.xml. Enter your site URL and paths, and the tool adds the protocol, builds absolute URLs, removes duplicates and escapes special characters.

Set lastmod, changefreq and priority once, then copy the XML or download sitemap.xml and place it at your site root for search engines.

Key Features

Batch generation

Paste any number of paths; empty lines and comments are ignored.

URL normalization

Adds protocols and handles relative paths so the same page is not submitted twice.

Configurable metadata

Apply lastmod, changefreq and priority uniformly.

Safe XML escaping

Escapes &, <, > and quotes so the output validates.

When to Use It

Launching a new site

List sections and posts, then submit the generated sitemap.

Bulk indexing

Turn an operations spreadsheet of URLs into a valid sitemap.

How to Use It

  1. 1Enter the site URL such as https://www.example.com.
  2. 2Paste page paths or full URLs, one per line.
  3. 3Set the date, frequency and priority, then generate and download.

Frequently Asked Questions

How many URLs can one sitemap hold?

The protocol recommends at most 50,000 URLs and 50MB per file; split larger sets and use a sitemap index.

How are relative paths handled?

They are joined with the site URL, so /about and about both become absolute URLs.

Are the URLs uploaded?

No. Everything is generated locally in your browser.

Other Tools

CodeSwordsman

100+ technical tools with browser-local processing — your data never leaves your device. Official Microsoft Store desktop apps: free, ad-free, offline.

Completely Free

© 2026 CodeSwordsman All Rights Reserved

Service Terms | Privacy Policy | Help | Version Updates | About Us

This website uses cookies to ensure you get the best experience on our website. Privacy Policy.