XML Sitemap Generator

Turn a list of URLs into a valid sitemap.xml, split and indexed if large.

A Clean sitemap.xml From The URLs You Choose

Paste the list of pages you want search engines to index — or paste a page’s HTML and let the tool collect its links — and get a standards-compliant sitemap.xml. Duplicates are removed, fragments and tracking parameters can be stripped, and every URL is XML-escaped, fixing the single most common reason a sitemap fails to parse: a bare ampersand.

URLs on other hosts are left out, because a sitemap may only list its own site. Past the protocol’s limit of 50,000 URLs the list is split into several files with a sitemap index, delivered as a ZIP. Set an accurate lastmod — the one field Google says it uses — and leave changefreq and priority out unless you need them.

Key features

  • From a URL list or from HTML links.
  • Deduplication and XML escaping.
  • Single-host enforcement and mixed-scheme warnings.
  • Automatic splitting with a sitemap index over 50,000 URLs.
  • lastmod, changefreq and priority options.
100% client-side — no data leaves your machine

This tool runs entirely inside your browser using native Web APIs. Your files and text are never uploaded to a server, never logged and never shared with third parties.

How to use: XML Sitemap Generator

  1. Paste URLs or HTML
    One absolute URL per line, or a page’s source.
  2. Choose the fields
    Today’s date or a custom lastmod; changefreq and priority are optional.
  3. Check the warnings
    Rejected lines and other hosts are listed.
  4. Download and submit
    Upload to your site root and submit in Search Console.

Technical specifications

Processing locationEntirely in your browser — no server round trip
Data uploadedNone. Files and text never leave your device
PriceFree — no account, no trial, no usage cap
CategoryDeveloper
Works offlineYes, once the page has loaded
Browser supportChrome 90+, Edge 90+, Firefox 90+, Safari 15+
Interface languagesEnglish, 中文, हिन्दी, Español, العربية

Frequently asked questions

Which URLs should be in my sitemap?

Only canonical, indexable pages that return 200: the exact URLs in each page’s canonical tag, on one scheme and host. Leave out redirects, pages blocked from indexing, duplicates and parameter variants.

Does Google use changefreq and priority?

No. Google has said it ignores both and uses lastmod only when it is consistently accurate. Other search engines may read them, which is why they remain optional.

How many URLs can one sitemap hold?

50,000 URLs or 50 MB uncompressed, whichever comes first. Larger sites use several sitemaps listed in a sitemap index file.

Where do I put the sitemap?

Usually at https://yoursite.com/sitemap.xml. Reference it in robots.txt with a Sitemap: line and submit it in Google Search Console and Bing Webmaster Tools.

Why does my sitemap fail with an XML error?

Usually an unescaped & in a URL, or a byte-order mark or whitespace before the XML declaration. This generator escapes every special character and writes the declaration first.

Related tools

Back to all tools