Skip to content
TextArray
100% local

Sitemap XML generator

Turn a plain list of URLs into a valid sitemap.xml, ready to upload.

Input
Output

Sitemap XML generator

A sitemap.xml is the one file every search engine agrees on: a list of your pages in a tiny XML dialect, submitted once in Search Console and fetched forever after. Writing the XML by hand is error-prone in exactly the boring ways — a forgotten namespace, an unescaped ampersand, a stray relative path. Paste your URLs here, one per line, and a valid sitemap comes out: the urlset wrapper with the sitemaps.org namespace, one url block per address, and XML entities escaped where query strings need it.

The optional tags apply across the whole map. Last modified stamps every URL with an ISO date, change frequency adds the classic hint values, and priority sets the 0.0–1.0 weight. All three are off by default for a reason: Google publicly ignores changefreq and priority, and a lastmod that is not true is worse than none — the FAQ has the details. What actually matters is the URL list itself, complete and canonical.

The input handling protects the result. Only absolute http(s) URLs make it into the map; relative paths, ftp links and stray prose are skipped and counted in the tally, so a copy-paste accident cannot produce a subtly broken file. Duplicates are removed by default, and IDN URLs with accented characters pass through intact.

Typical sources for the URL list: a crawl export, your CMS's page listing, the URL extractor tool pointed at an existing page. Everything runs locally in your browser — your URL structure never leaves your device.

FAQ

Do changefreq and priority still matter?
Google has stated it ignores both; Bing largely does too. They are offered here for completeness and for the crawlers that still read them, but the safe default is to omit them — which is why the tool defaults to leaving them out.
Should I set lastmod?
Only if it is true. Search engines use lastmod to decide what to re-crawl, and stamping every URL with today's date teaches them your lastmod lies, after which it is ignored. Set it when the whole batch genuinely changed on that date; otherwise leave it empty.
Why were some of my lines skipped?
Sitemap entries must be absolute http(s) URLs. Relative paths (/about), other schemes (ftp://) and plain text are left out and counted in the tally, so you can spot and fix them instead of shipping an invalid file.
How big can a sitemap be?
The protocol caps one file at 50 000 URLs and 50 MB uncompressed. Beyond that, split the list into several sitemaps and reference them from a sitemap index file.
Is my URL list uploaded anywhere?
No. The sitemap is generated entirely in your browser and your URL structure never leaves your device.