Sitemap XML Generator

Generate a small XML sitemap from manually supplied URLs with optional shared metadata. It does not crawl a site, discover URLs, submit the file, or guarantee indexing.

Browser-localFreeNo upload required

Tool workspace

One HTTP or HTTPS URL per line. Duplicate URLs are removed.

Optional. Leave blank if every URL should omit lastmod.

Advanced / Raw output

What this tool is for

Generate a small XML sitemap from manually supplied URLs with optional shared metadata. It does not crawl a site, discover URLs, submit the file, or guarantee indexing.

How to use

  1. Paste one absolute HTTP or HTTPS URL per line.
  2. Optionally add a last-modified date, change frequency, or priority only when those values are truthful.
  3. Generate the XML, inspect duplicate removal and escaping, then validate it before publishing at the site root.

Example

Create a two-URL sitemap for a homepage and guide, omit unsupported guesses, and verify that both `<loc>` values use the canonical HTTPS host.

FAQ

Will this submit my sitemap?

No. Publish it yourself and submit the final URL in Search Console if appropriate.

Does a sitemap guarantee indexing?

No. It helps discovery; Google still decides whether a page is indexable and valuable.

Reproducible examples

Known inputs and expected results

Run these examples in the workspace above and compare the result with the documented output.

Two canonical URLs

Input
https://example.com/ https://example.com/about/
Options
No optional lastmod values.
Action
Generate XML.
Expected output
One urlset containing two url elements and two loc values.
Explanation
The generator escapes XML and preserves only valid entered URLs.

Shared lastmod option

Input
https://example.com/guide/
Options
Set the optional shared lastmod field to 2026-08-16.
Action
Generate XML.
Expected output
A url entry containing loc https://example.com/guide/ and lastmod 2026-08-16.
Explanation
The option is applied separately from the URL text; the date is a supplied claim and the tool does not inspect when the page changed.

Error or unsupported case

Mixed host or invalid URL

Input
https://example.com/ and javascript:alert(1)
Expected error or limit
Unsafe or unsupported URLs are rejected and the list is not submitted anywhere.
Safer alternative
Use canonical HTTPS URLs from one intended site and verify each returns the correct status.

When not to use this tool

  • Crawling a website or discovering URLs
  • Submitting Search Console or proving that listed URLs are indexable

Algorithm and assumptions

The tool emits a basic urlset from bounded user input, validates URL syntax and optional ISO dates, performs XML escaping, and does not make network requests.

Input and output

Input is a newline list of absolute URLs plus optional metadata. Output is a standards-shaped XML document.

Supported formats and behavior

  • HTTP and HTTPS URLs
  • Duplicate removal
  • Optional lastmod, changefreq, and priority fields

Limits

  • No crawler or Search Console submission
  • One shared optional metadata choice is applied by this simple version
  • Large sites should use a dedicated generator

Edge cases and common errors

  • XML-sensitive characters must be escaped
  • Non-canonical URL variants should not be included
  • Priority does not force ranking

Release testing

Release checks cover valid URLs, duplicates, invalid schemes, XML escaping, optional fields, empty input, copy, and clear.

Privacy boundary

The input and result stay in this browser session. ZZP Box does not upload or store the values entered in this tool.

Related reviewed tools

Choose the next tool by the operation you need, then review that page's stated input and limits.