Skip to content

Sitemap.xml Generator

0 valid URLs
Add at least one absolute http(s) URL to generate a sitemap.

What This Tool Does

Sitemap.xml Generator is built for deterministic developer and agent workflows.

Generate a valid sitemap.xml from a list of URLs with lastmod, changefreq, and priority.

Use How to Use for execution steps and FAQ for constraints, policies, and edge cases.

Last updated:

This tool is provided as-is for convenience. Output should be verified before use in any production or critical context.

Agent Invocation

Best Path For Builders

Browser workflow

Runs instantly in the browser with private local processing and copy/export-ready output.

Browser Workflow

This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.

/sitemap-generator/

For automation planning, fetch the canonical contract at /api/tool/sitemap-generator.json.

How to Use Sitemap.xml Generator

  1. 1

    Paste your URLs

    Add one absolute URL per line, or load the sample. Invalid and relative lines are skipped automatically.

  2. 2

    Set the defaults

    Choose a changefreq, priority, and lastmod option to apply to every URL, or omit any tag you do not need.

  3. 3

    Review the XML

    Check the generated, pretty-printed sitemap.xml and the count of valid versus skipped URLs.

  4. 4

    Copy or download

    Copy the XML to your clipboard or download it as sitemap.xml and place it at your site root.

Frequently Asked Questions

What does the sitemap generator do?
It turns a list of URLs into a valid sitemap.xml, with optional lastmod, changefreq, and priority tags, ready to submit to search engines.
How many URLs can one sitemap contain?
A single sitemap is capped at 50,000 URLs. If you exceed that, the tool warns you to split the list and reference each file from a sitemap index.
What do changefreq and priority mean?
changefreq hints how often a page changes (daily, weekly, and so on); priority from 0.0 to 1.0 suggests relative importance. Both are optional hints to crawlers.
Which URLs are accepted?
Only absolute http and https URLs are included. Relative paths, other schemes, and malformed lines are skipped and counted separately.
Is my URL list kept private?
Yes. The sitemap is assembled in your browser from the text you paste, so your list of URLs is never uploaded.