XML Sitemap Generator

Turn a list of page URLs into a valid XML sitemap file.

This tool runs entirely in your browser. Your files are never uploaded to a server.

What this generator does

Turns a plain list of page URLs into a valid XML sitemap: one `<url>` entry per non-empty line, each with `<loc>`, a shared `<changefreq>` and a shared `<priority>` you choose once for the whole file.

How to use it

Paste one absolute page URL per line into the text area, pick a change frequency (such as weekly or monthly) and a priority from 0.0 to 1.0, then copy the generated `<urlset>` XML. Blank lines are skipped automatically.

Worked example

Pasting three lines — https://example.com/, https://example.com/about and https://example.com/blog — with changefreq set to weekly and priority set to 0.8 produces three `<url>` blocks, each sharing that same changefreq and priority but with its own `<loc>`.

XML escaping and formatting

Ampersands, angle brackets and double quotes inside a pasted URL are automatically XML-escaped (for example `&` becomes `&amp;`) so the output stays valid XML even if a URL contains a query string with special characters.

What it doesn't do

The tool does not validate that entries are well-formed absolute URLs, remove duplicate lines, crawl your site to discover pages, add per-page `lastmod` dates, or split output into a sitemap index once you're near the protocol's 50,000-URL limit.

Limitations

Every URL in the file shares the same changefreq and priority — there's no per-line override, so pages with genuinely different update patterns need a second sitemap or manual editing after copying. Google has also said it largely ignores the priority value.

Privacy

Generation happens entirely in your browser from the text you paste; no URL list is uploaded, crawled or stored, and nothing is submitted to a search engine on your behalf.

Frequently Asked Questions

How many URLs can a sitemap contain?
Up to 50,000 URLs or 50MB uncompressed per sitemap file — split larger sites into a sitemap index.
Does priority affect ranking?
No, Google says it largely ignores the priority value now — it's mainly a hint for other crawlers and internal prioritization.
Where do I submit the sitemap?
Upload it to your site's root and submit the URL in Google Search Console or Bing Webmaster Tools.