Skip to content
Rankora
Free · runs in your browser

XML Sitemap Generator

Paste your URLs, one per line: the tool outputs a valid, correctly escaped sitemap.xml and splits it with an index if you go over the limits.

Privacy and cost

This tool runs in your browser. What you type or paste is not sent to our servers and it costs nothing to use.

How it works

  1. Paste absolute URLs, one per line, optionally followed by lastmod, changefreq, priority or hreflang alternates after a ";".
  2. Set defaults if needed (lastmod only if the date is real) and, when the list is split, the address where the sitemaps will be hosted.
  3. Download the file(s), upload them to your site and declare the sitemap in robots.txt and Google Search Console.

Example

Three lines (a home page, a page with "lastmod=2026-03-01" and a French page with its fr, en and x-default alternates) produce a sitemap.xml with 3 URLs and 623 bytes, with the xhtml namespace added automatically for the alternates.

What the result means

A sitemap file is limited to 50,000 URLs and 50 MB uncompressed. The tool cuts the list before those limits and creates an index that references every file. Google does not use priority or changefreq; lastmod only helps when it reflects real content changes.

Common problems this tool helps with

  • URLs with an unescaped "&", which make the XML invalid.
  • A sitemap listing redirected, noindexed or blocked URLs instead of canonical pages.
  • A lastmod bumped on every deploy without real changes, which Google ends up ignoring.
  • A sitemap over 50,000 URLs or 50 MB that search engines will not read in full.

Frequently asked questions

Does a small site need a sitemap?

Not strictly, if your pages are well linked together, but a sitemap helps crawlers discover new or isolated pages. It guarantees neither crawling nor indexing.

How do I add hreflang alternates?

Add "code=URL" fields on the URL's line, for example "fr=https://example.com/fr/ ; en=https://example.com/en/". Each URL must list all its alternates, itself included.

Are my URLs sent to a server?

No. The file is generated in your browser and nothing is sent to our servers.