1. Home
  2. Productivity tools
  3. XML Sitemap Generator

XML Sitemap Generator

For site owners who have a list of pages and need a sitemap file to submit to search engines.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use XML Sitemap Generator

  1. Fill in the form, or press a sample to see a worked example.
  2. Read the result and any warnings about problems it found.
  3. Copy the output or download it as a file.

Features

  • Follows the sitemaps.org protocol with escaped characters
  • One address per line, with optional lastmod, changefreq and priority after bars
  • Default values for lines that have none
  • Reports lines it skipped and the file size
  • Warns when a list passes 50,000 addresses

Supported formats

Input

  • Pasted address list

You get

  • XML sitemap

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the XML Sitemap Generator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • It formats the addresses you paste; it does not crawl your site or find pages you left out.
  • One file may hold up to 50,000 addresses and 50 MB; larger sites need a sitemap index.

Guide

Turning a list of addresses into a valid XML sitemap

A sitemap is a plain list of the pages you want search engines to know about. It does not make pages rank, but it helps crawlers find new or poorly linked pages and tells them when a page last changed. Many content management systems write one automatically. When yours does not, or when you build a static site by hand, you need a file that follows the format exactly. This generator takes a pasted list of addresses and prints that file.

The format

The sitemaps.org protocol describes an XML document whose root is urlset. Each page is a url element with a required loc, which must be a full address starting with http or https, and three optional children: lastmod, changefreq and priority. The tool writes the XML declaration, the namespace and one url block per page, in the order you pasted them, and it escapes characters that XML reserves, such as the ampersand in a query string.

Entering addresses

Put one address on each line. To give a page its own values, add them after bars in the order lastmod, changefreq, priority, for example https://shop.example/running-shoes | 2026-11-02 | weekly | 0.9. Below the list you can set a default lastmod, changefreq and priority, and those defaults fill only the lines that have no value of their own. The changefreq menu offers the standard words, from always to never, and you can leave it out.

Which fields help

Google has said it ignores changefreq and priority, and that it uses lastmod only when the dates prove accurate over time. For that reason a lean sitemap with correct addresses and honest dates is better than one stuffed with guesses. The tool keeps the extras optional and reminds you of this in a note under the result.

Problems it reports

Lines that are not full addresses, such as a relative path or plain text, are skipped, and the count of skipped lines appears in the result with a warning that names the first few. A list of more than 50,000 addresses gets an error, because the protocol allows 50,000 addresses and 50 MB per file; for a bigger site, split the list into several files yourself and list them in a sitemap index.

A worked example

The sample list has four lines. The first, https://shop.example/, has no extras. The second, the running shoes page, carries 2026-11-02, weekly and 0.9. The third, a blog post, has only the date 2026-10-12. The fourth, the contact page, has nothing. The tool prints a file with four url blocks, and the result shows 4 addresses, 0.5 KB and 0 lines skipped. Setting a default lastmod would add a date to the first and fourth blocks but would leave the other two untouched.

Limits

The tool formats what you paste. It never visits your site, so it cannot discover pages you forgot, check that an address returns a page or find duplicates that differ only slightly. It does not write sitemap indexes or image, video and news extensions. Check the final file in a browser and in Search Console after you submit it.

Checked against the current version of the XML Sitemap Generator on .

Frequently asked questions

Where do I put the finished sitemap.xml?

Upload it to the root of your site so it opens at your domain followed by sitemap.xml, add a Sitemap line to robots.txt and submit the address in Google Search Console. Search engines can then find it without waiting to discover your pages by links.

What should lastmod contain?

The date a page last changed in a meaningful way, not the date you generated the file. Search engines learn to ignore dates that always read today, so only enter a date when you know the content changed.

Do I need changefreq and priority?

Google says it ignores both. A correct loc and an accurate lastmod are the parts that help, so the extras are optional here.

Does the tool crawl my site?

No. It only formats the addresses you paste. Nothing is fetched, so it cannot find pages you forgot to list.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.