Skip to content

XML Sitemap Generator

Paste one URL per line and get a valid sitemap.xml following the sitemaps.org protocol, with optional lastmod, changefreq and priority. Invalid or duplicate lines are flagged instead of silently breaking the file.

  • Valid sitemaps.org XML output
  • Optional lastmod, changefreq and priority
  • Flags relative URLs and duplicates instead of failing silently
  • Escapes special characters in URLs correctly
  • Runs fully client-side

Generator

Generated locally, nothing uploaded

sitemap.xml

How to generate an XML sitemap

  1. 01

    Paste your URLs

    One absolute URL per line, including https://.

  2. 02

    Set the optional fields

    Turn on lastmod, and pick a changefreq and priority if you want them included.

  3. 03

    Copy the sitemap.xml

    Copy the generated XML and upload it to your site's root, then reference it from robots.txt.

Why this generates from a pasted list instead of crawling your site#

A crawler-based sitemap generator has to fetch every page of a site from a server, which this tool — being entirely client-side with no backend — cannot do. The trade-off is a feature, not just a limitation: you decide exactly which URLs belong in the sitemap, rather than trusting a crawler to correctly discover them and skip the ones that should not be indexed. For a site with a known, stable URL list — most small-to-medium sites — pasting the list is faster than waiting on a crawl anyway.

What lastmod, changefreq and priority actually do#

lastmod tells a search engine when a page last changed, which can influence how often it gets re-crawled — but Google has stated it largely ignores changefreq and priority as ranking or crawl signals, treating them as hints at best. They're included here as optional because some tools and less dominant search engines still read them, but the field that actually matters is lastmod, and only when it reflects a real, accurate change date — a sitemap where every URL claims to have changed today, every day, trains crawlers to stop trusting the field.

Where the sitemap goes after this#

A generated sitemap.xml is typically uploaded to the site's root (https://example.com/sitemap.xml) and referenced with a Sitemap: line in robots.txt — the Robots.txt Generator on this site adds that line automatically. From there, submitting the sitemap URL directly in Google Search Console and Bing Webmaster Tools speeds up discovery beyond just waiting for the crawler to find the robots.txt reference on its own.

Frequently asked questions

Does this crawl my website to find pages?

No — this tool has no backend and cannot fetch pages from a server. You paste the list of URLs yourself, which also means you have full control over what goes in.

What happens if I paste a relative URL like "/about" instead of a full one?

It is flagged as invalid and left out of the generated sitemap, rather than silently producing a broken file. Every URL in a sitemap must be absolute, including the https:// scheme.

Do changefreq and priority actually affect my rankings?

Google has said it largely ignores both. lastmod is the field most likely to matter, and only when it reflects real change dates — the other two are included here for completeness since some tools still read them.

Is there a limit on how many URLs I can paste in?

This tool itself imposes no limit. The sitemaps.org protocol caps a single sitemap file at 50,000 URLs, though — a site with more pages than that needs a sitemap index file referencing multiple sitemaps, which is outside what a single pasted list here produces.

Where do I upload the generated sitemap.xml?

Typically to your site's root as /sitemap.xml, then referenced with a Sitemap: line in robots.txt and submitted directly in Google Search Console.