How to Use the XML Sitemap Generator: Steps and a Worked Example

By 1 min read

Generate a simple XML sitemap from up to 500 absolute HTTP or HTTPS URLs. This guide shows what to enter, a worked example with real numbers, and the limits to keep in mind. The XML Sitemap Generator tool is free, needs no account and runs in your browser.

What you need

  • URLs, one per line
  • Last modified date (optional), such as 8 November 2026

Step by step

  1. Open the XML Sitemap Generator tool.
  2. Fill in URLs, one per line.
  3. Fill in Last modified date (optional).
  4. Read the result, which updates as soon as the inputs change.

Worked example

With these inputs:

  • Last modified date (optional): 8 November 2026

the tool returns:

<?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-11-08</lastmod></url>
  <url><loc>https://example.com/about/</loc><lastmod>2026-11-08</lastmod></url>
</urlset>

How it works

Serializes user-provided absolute URLs into an XML sitemap. Enter the URLs and last modified date and the result appears straight away. Everything runs in your browser, so nothing you type is uploaded.

Things to keep in mind

Only include canonical, indexable pages. This basic generator does not discover URLs or set priority/frequency.

If this is not quite what you need, try JSON to XML Converter, XML Escape Tool or XML Formatter.

More from the blog