Skip to main content
ToolsBay

Runs in your browser — nothing is uploaded · verify

XML Sitemap Generator — free, and it runs in your browser

Turn a list of URLs into a valid sitemap.xml for Google and Bing.

  • Paste a crawl, a CMS export or your routes file; one URL per line is all it needs.
  • One change frequency, priority and last-modified date can be applied to every entry, or left out.
  • Special characters in URLs are escaped, which is the usual reason a sitemap is rejected.
Change frequency
3 lines
  • 70 tools

    Free, with no account and no watermark

  • 0 bytes

    Of your files or text uploaded — this tool runs in the tab

  • No queue

    The work happens in this tab, not in a line behind other users

Three steps, nothing to install

XML Sitemap Generator in three steps

  1. URLS123456Paste it in — it never leaves the tab

    Paste your URLs

    One per line — straight out of a crawl, a CMS export or your routes file.

  2. URLSSITEMAP.XMLConverted on your own device

    Set the metadata

    Apply a last-modified date, a change frequency and a priority across the whole list.

  3. Copy SITEMAP.XML

    Download the sitemap

    Save it as sitemap.xml, upload it to your root, and reference it from robots.txt.

Why use XML Sitemap Generator

  • Valid against the schema

    The namespace, element order and escaping all follow the sitemaps.org protocol, which is what Search Console checks before it will accept the file.

  • Handles real-world sizes

    Large documents are processed in one pass without pagination or a cut-off, so you are not left wondering which half of the input arrived.

  • Free, with nothing to sign up for

    No account, no watermark, no daily cap and no trial that expires. Every tool on this site behaves the same way.

Frequently asked questions

Because a bare & is not valid XML — it has to be written as &. A single unescaped ampersand in a query string makes the whole document unparseable and Search Console rejects it. This tool escapes them for you.

What a sitemap is for

An XML sitemap lists the pages on a site you want indexed. It does not make pages rank, and it is not a substitute for pages being linked to — it is a hint that helps a crawler find things it might otherwise miss, particularly on large sites, new sites with few inbound links, and pages buried deep in the structure.

What actually matters in a sitemap

Less than most guides suggest. Google has stated publicly that it ignores changefreq and priority. lastmod is used, but only from sites that report it accurately — setting every page's lastmod to today on every deploy teaches Google to distrust the field entirely.

The things that do matter: every URL should be absolute, canonical, return a 200, and be indexable. Listing a URL that redirects, 404s, or carries a noindex tag sends a contradictory signal.

After you generate it

Save the output as sitemap.xml at your domain root, add a Sitemap: line to your robots.txt, and submit it in Search Console. To check the meta tags on the pages you are listing, use the meta tag generator.

  • Robots.txt Generator

    Write crawler allow/disallow rules without syntax mistakes.

  • Meta Tag Generator

    Build title, description, Open Graph and Twitter tags for a page.

  • URL Parser

    Break a URL into its protocol, host, path and query parameters.

  • XML Beautifier

    Format, minify and check XML without mangling CDATA or attributes.

Related guides

More tools

70 tools, none of which want your file

Everything this tool does happens in the page you are looking at. No account, no upload, no watermark.