Command Palette

Search for a command to run...

XM

XML Sitemap Generator

Turn a list of URLs into a valid XML sitemap with lastmod, changefreq, and priority - ready to submit to Google Search Console. 100% client-side.

sitemap.xml5 URLs · 905 B
<?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-09-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-09-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/blog</loc>
    <lastmod>2026-09-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/blog/getting-started</loc>
    <lastmod>2026-09-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/contact</loc>
    <lastmod>2026-09-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>
Category:seo
Mode:Offline
Version:1.0.0
Access:Free

What is the XML Sitemap Generator?

XML Sitemap Generator interface on Toolz.dev - Turn a list of URLs into a valid XML sitemap with lastmod, changefreq, and priority - ready to submit to Google Search Console. 100% client-side.

The XML Sitemap Generator turns a plain list of page URLs into a valid sitemap.xml file that follows the sitemaps.org 0.9 protocol - the same format Google, Bing, and every other major search engine reads. Paste one URL per line, choose the change frequency, priority, and last-modified date you want applied, and the tool produces a ready-to-upload <urlset> with a properly escaped <loc> for every page. A sitemap is how you hand a crawler a clean map of your site instead of hoping it discovers every page by following links.

Beyond just wrapping URLs in tags, the generator does the validation work that a hand-written sitemap often gets wrong. It rejects anything that is not an absolute http or https URL, XML-escapes ampersands and other reserved characters that would otherwise break the file, removes duplicate URLs, and can sort the list alphabetically. It also counts your entries and the file size against the protocol's 50,000-URL and 50 MB limits, warning you when it is time to split into multiple sitemaps behind a sitemap index.

Everything runs in your browser. Your URLs - which can reveal your entire site structure - are never uploaded to a server, and the tool works offline once loaded. That makes it safe to use on staging sites, internal tools, or client projects under NDA. When you are done, copy the XML or download it as sitemap.xml, drop it in your site root, and submit the URL in Google Search Console.

A sitemap is a hint, not an instruction. Listing a URL does not cause it to be indexed, and omitting one does not prevent it, which is why a sitemap is most useful for large sites, new sites and pages that are poorly linked internally. Two protocol limits apply: 50,000 URLs and 50MB uncompressed per file, and beyond either you need several sitemaps and an index referencing them.

Here is a quick way to check what this XML sitemap generator tool does with a messy list. Paste three lines: https://example.com/, https://Example.com and example.com/about. The output holds one URL, https://example.com/, and the report lists two skipped lines: the second one is a duplicate once the host is lowercased and the trailing slash added, and the third has no scheme, so it is not an absolute URL. Many XML sitemap generator tools copy lines through as typed, which is how duplicates and broken <loc> values end up in a live file.

How to use the XML Sitemap Generator?

1

Paste your URLs

Enter one absolute URL per line (starting with http:// or https://). Blank lines and lines beginning with # are ignored, so you can annotate the list.

2

Set the defaults

Choose a change frequency (daily, weekly, monthly…) and a priority from 0.0 to 1.0. Toggle the last-modified date on to stamp every URL with today or a date you pick.

3

Clean up the list

Enable de-duplication to drop repeated URLs and, if you like, sort alphabetically. The tool reports any lines it skipped and why.

4

Copy or download sitemap.xml

Copy the generated XML or download it as sitemap.xml, upload it to your site root, and submit the sitemap URL in Google Search Console or Bing Webmaster Tools.

Key Features

Valid Sitemaps.org 0.9 Output

Produces a standards-compliant <urlset> with the correct namespace that Google, Bing, and other engines accept without complaint

lastmod, changefreq & priority

Apply a last-modified date, a crawl frequency, and a 0.0–1.0 priority to every URL, with each optional tag omitted cleanly when you leave it blank

URL Validation & XML Escaping

Rejects non-absolute and non-http(s) URLs and escapes ampersands, angle brackets, and quotes so a stray character never breaks your sitemap

De-duplication & Sorting

Removes repeated URLs and can sort the list alphabetically, with a report of exactly which lines were skipped and why

Frequently Asked Questions

An XML sitemap is a file that lists the important URLs on your site so search engines can find and crawl them efficiently. It follows the sitemaps.org protocol, wrapping each URL in a <url> element with an optional last-modified date, change frequency, and priority. Submitting one helps search engines discover pages that are not well linked internally.

Comments

0 comments

0/2000 characters

No comments yet. Be the first to share your thoughts!

xml sitemap generatorsitemap generatorsitemap.xmlseo sitemapgenerate sitemapsitemap xmlgoogle sitemapsitemap protocolurlset generatorxml sitemap generator toolxml sitemap generator tools