Skip to main content
ToolsBay

XML Sitemap Generator

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

Runs entirely in your browser — nothing is uploaded

Change frequency
3 lines

Frequently asked questions

Why do URLs with an "&" break other sitemap generators?

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.

Do I need lastmod, changefreq and priority?

No. Google ignores changefreq and priority entirely, and only uses lastmod when it is consistently accurate. An honest lastmod helps; a fabricated one is worse than none. The URL list is the part that matters.

How many URLs can one sitemap hold?

The protocol allows 50,000 URLs and 50 MB uncompressed per file. Beyond that you split into several sitemaps and list them in a sitemap index file.

Where do I put the finished file?

At the root of your domain as /sitemap.xml, then reference it from robots.txt and submit it in Google Search Console and Bing Webmaster Tools.

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.

All seo tools