XML Sitemap Generator: Create a Sitemap.xml for Google and Bing

Make a valid XML sitemap from a plain list of links. Paste complete addresses or just paths, set the last-modified date and save sitemap.xml; oversized lists are divided into several files for you.

  • Standard sitemaps.org format
  • Splits past 50,000 links
  • Removes repeats

How to use the XML Sitemap Generator tool

  1. Add your linksOne page per line; both https://… addresses and short paths such as /contact are accepted.
  2. Domain and dateType the domain to prefix short paths with, and pick the modification date to record.
  3. Extra fields if neededInclude changefreq and priority only when a plugin or platform asks for them, since Google disregards them.
  4. Save and submitDownload the file, put it on your server and register it in Search Console and Bing Webmaster Tools.

Sitemap generator features

  • Valid XML every timeCharacters such as & and quotation marks inside links are encoded so search engines can parse the file.
  • Automatic clean-upRepeated links, #anchors and addresses belonging to other domains are dropped.
  • Built for big sitesBeyond 50,000 links you get multiple sitemap files plus an index file, bundled in a ZIP.
  • Short paths welcomeCopy paths straight from an analytics report or spreadsheet and the domain is prepended.
  • Stays localThe file is assembled in your browser; your list of pages isn’t sent anywhere.

What is an XML sitemap and why use one?

An XML sitemap is a machine-readable index of the pages you want search engines to know about. It matters most for brand-new sites with few backlinks, very large sites, and pages buried deep in your structure that menus don’t reach. Submitting one won’t force Google to index anything, but it shortens the time it takes crawlers to discover new and updated content.

Sitemap.xml example

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.example.com/pricing</loc>
    <lastmod>2026-11-20</lastmod>
  </url>
</urlset>

What to put in your sitemap

  • Do list the pages you’d like people to find through search: the home page, category and product pages, blog posts and important landing pages.
  • Don’t list addresses that redirect or return errors, noindexed pages, copies carrying tracking parameters, or account, login and basket pages.
  • Write each link exactly as your canonical tags do, matching protocol, www and trailing slashes.

Do lastmod, changefreq and priority matter?

Of the optional fields, Google only pays attention to lastmod, and only when it reflects a genuine content update, so don’t simply stamp today’s date on everything. changefreq and priority are ignored by Google, so they’re switched off by default here, although a few other search engines and CMS plugins still read them.

Sitemap size limits

Each sitemap file can hold at most 50,000 links and 50 MB before compression. Sites larger than that split their pages across several sitemaps and reference them from a sitemap index, and this tool builds that structure automatically.

How to submit a sitemap to Google

  1. Upload sitemap.xml to the top-level folder of your site.
  2. Reference it with a Sitemap: line in robots.txt, which the Robots.txt Generator can add.
  3. Open Indexing → Sitemaps in Google Search Console, paste the address and submit; do the same in Bing Webmaster Tools.

WordPress, Shopify, Wix and most other platforms create sitemaps on their own, so this generator is aimed at hand-coded sites, static site builds and stand-alone landing pages.

Frequently asked questions

How do I make an XML sitemap?
List your page addresses one per line, choose a modification date and press “Download sitemap.xml”.
What is the maximum number of URLs in one sitemap?
50,000 links or 50 MB uncompressed. Anything bigger is split into several files linked from a sitemap index.
Should I include changefreq and priority?
They’re optional and Google doesn’t use them. An honest lastmod value is the only extra field Google considers.
Where does the sitemap file go?
Normally at the top of your domain, like example.com/sitemap.xml, after which you submit that address in Search Console.
Can I enter paths rather than full URLs?
Yes. Fill in “Domain for paths” and entries such as /pricing become complete addresses.