XML Sitemap Generator

Turn a list of URLs into a valid XML sitemap, including the hreflang alternates a multilingual site needs and most generators leave out.

Processed on your device — no upload

termiva sitemap --out sitemap.xml
0 chars
Change frequency

changefreq and priority are ignored by Google and have been for years. They are emitted only if you ask, because a file full of fields nothing reads is a file nobody maintains.

Paste a list of URLs above.

nothing uploaded

How to use it

  1. Paste your URLs, one per line.
  2. Set the second language prefix if you have one.
  3. Save the file to your site root.

How it works

A sitemap is a list of the URLs you want crawled, in a schema Google and Bing both read. It does not make pages rank. What it does is make them findable — a page nothing links to is a page a crawler reaches by luck, and a sitemap is the way to stop relying on luck.

The alternates are the part other generators leave out. Without them Google reads your English and Arabic pages as competing documents rather than one document in two languages, and picks a winner. Give each URL a xhtml:link for every language it exists in — including itself — and it reads them as a set.

They have to be absolute. A relative href parses, validates against the schema, and is discarded in silence. This site published 936 of them; Search Console reported a number and no hint as to which part was wrong. Pairing here builds the full cluster, self-reference included, because a partial one is worse than none.

changefreq and priority are omitted unless you ask. Google has ignored both for years. A file full of fields nothing reads is a file nobody maintains. What is left is the shape the schema actually requires: a urlset root carrying the namespace, and one loc per page inside it.

A worked example

Pairing works off the path. Give it the prefix your second language sits under — /ar/ here — and every URL that has a counterpart in the list gets the pair declared on both. A URL with no counterpart gets no alternates at all, which is correct: a cluster of one is not a cluster.

Duplicates are removed and reported. The same URL twice is not an error in the schema and is always a mistake in practice, usually a merge of two exports.

Fifty thousand URLs is the ceiling, or 50MB uncompressed, whichever arrives first. Past that you need several sitemaps and a sitemap index listing them — which is a different file, and the tool says so rather than writing something Google will reject.

Once it is uploaded, add its address to your robots.txt and submit it in Search Console. Both, not either — the robots.txt line is what other crawlers read.

Questions

Does a sitemap improve ranking?

No. It affects discovery, not position. Its value is highest on a large site, a new site, or pages that little links to.

Where do I put it?

Anywhere on the same host, though the root is the convention. Reference it from robots.txt and submit it in Search Console.

What is lastmod for?

It tells a crawler when the page last meaningfully changed. Google uses it when it is honest and ignores it entirely on sites that stamp every URL with today’s date.

Should I include pages with a noindex tag?

No. A sitemap is a list of pages you want indexed; including one you have asked to be excluded sends two opposite instructions.

What about pages blocked in robots.txt?

Leave them out for the same reason. Google reports the conflict in Search Console as a coverage error.

Do I need the alternates if I only have one language?

No — turn the pairing off and you get a plain sitemap with no namespace declared.

Is XML Sitemap Generator free to use online?

Yes — free, with no account, no daily limit and no watermark. It runs online in your browser, and because the work happens on your own device it keeps working offline once the page has loaded.

Reading