Skip to content

Sitemap.xml Generator

Generate a sitemap.xml from absolute URLs with optional lastmod, changefreq and priority, skipping invalid lines and warning past 50,000 URLs.

Sitemap.xml Generator

4 valid URLs

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

Updated . Provided as is. Check the output before you rely on it in production.

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.

Questions and answers

What does the sitemap generator do?
A sitemap.xml lists a site's URLs in the format search engines read to find and recrawl pages. This generator turns a pasted list of absolute http and https URLs into one, with optional lastmod, changefreq and priority, skips malformed lines and warns when the list passes the 50,000-URL limit.
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.
For AI agents: how to call this tool

Machine-readable contract, endpoints and examples. Humans can ignore this section.

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.