Sitemap.xml Generator
Paste your list of page URLs and get a sitemap.xml you can submit to Google.
Set this so you can paste short paths like /about
One URL per line. You can add a last-modified date after it, e.g. https://example.com/ 2026-08-02 · lines starting with # are skipped
Paste your URLs above to build the fileUpload this to example.com/sitemap.xml, submit that URL in Google Search Console, and add a Sitemap line to your robots.txt.
About this tool
The sitemap.xml generator turns a plain list of URLs into a valid sitemap file, ready to submit to Google Search Console.
The simplest way to use it is one URL per line, optionally with a last-modified date after each. That is the one value in a sitemap Google has confirmed it actually uses — it has stated plainly that it ignores priority and changefreq (they are still offered, since some other engines read them).
The mistake that causes the most damage is an unescaped & in a URL with a query string. Left alone it makes the XML unparseable, and Search Console rejects the entire sitemap rather than that one URL. This tool always escapes it.
It also removes duplicate URLs and warns when you cross the protocol's 50,000-URL-per-file limit, at which point you need several files behind a sitemap index.
How to use
- 1Enter your site URL if you want to paste short paths like /about
- 2Paste your URLs, one per line, optionally with a last-modified date after each
- 3Set the default change frequency and priority if you want them
- 4Download the file, upload it, and submit the URL in Google Search Console
Frequently asked questions
- How many URLs can a sitemap hold?
- The protocol allows up to 50,000 URLs and 50 MB per file. Larger sites split across several files with a sitemap index pointing at each one.
- Do priority and changefreq affect ranking?
- No, and Google has said it ignores both entirely. The value that does matter is lastmod, which helps Google decide when to re-crawl a page.
- Why does the & in my URLs get converted?
- Because & is special in XML. Left as-is it makes the whole file unparseable, and Search Console rejects the entire sitemap rather than the one URL. This tool escapes it automatically.
- How often should I update the sitemap?
- Whenever you add or remove pages. If your site changes frequently, generating it automatically beats maintaining it by hand — this tool suits mostly-static sites and first-time setup.
- Do I need a sitemap for a small site?
- Not if every page is well linked internally, though it does no harm. It helps most with new pages and pages nothing else links to.