Free XML Sitemap Generator

Crawl your website and download a clean sitemap.xml in about a minute - free, no sign-up.

Pages marked noindex, canonical duplicates, redirects and broken pages are left out, so search engines get a list they can trust.

Need it in another shape? Export a gzipped sitemap, a TXT or CSV list, or an HTML sitemap for visitors. Found broken pages along the way? The Broken Link Checker shows where they are linked from.

Enter your homepage. We follow the links on your pages, the same way a search engine does.

Crawl settings

Drop a file here or click to choose

A .txt or .csv list with one URL per line, or an existing sitemap.xml (or .xml.gz) to clean up and edit.

.txt.csv.xml.gz

Duplicates, tracking parameters and http/https copies of the same page are cleaned up automatically.

Sitemap format

How to create an XML sitemap

  1. Enter your homepage. Type your website address and press Generate Sitemap. You can also upload a URL list or an old sitemap, or paste URLs.
  2. Let it crawl. The generator follows the links on your pages like a search engine, and skips noindex, redirected, broken and duplicate pages.
  3. Review and edit. Check the Excluded pages list to see what was left out and why. Add, remove or tidy URLs in the editor.
  4. Download sitemap.xml. Save the XML file, or a .gz, TXT, CSV or HTML version. Very large sites get a ZIP with a sitemap index.
  5. Upload and submit. Upload the file to the root folder of your site, add a Sitemap line to robots.txt, and submit it in Google Search Console and Bing Webmaster Tools.

Before you submit, fix what the Excluded pages list shows. Pages that return errors should be repaired or removed first - the Broken Link Checker finds every link that points to them.

What is an XML sitemap?

An XML sitemap is a file that lists the pages of your website you want search engines to index.

It helps Google and Bing find new and deep pages sooner, especially on big sites and new sites with few links.

A sitemap does not guarantee indexing. It is a strong hint, and a clean one - only real, indexable pages at their final address - is trusted more.

This is what a small sitemap looks like:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2026-10-01</lastmod>
  </url>
  <url>
    <loc>https://example.com/shop/?color=red&amp;size=m</loc>
  </url>
</urlset>

Each page sits in a <url> block with its full address in <loc>. Characters like & must be written as &amp;, which the generator does for you. Open any sitemap in the XML File Viewer to check its structure.

Sitemap limits and rules

The sitemap protocol is short, and search engines apply it strictly.

RuleLimit
URLs per sitemap file50,000
File size50 MB uncompressed (a .gz copy is fine)
Sitemaps per sitemap index50,000
Images per page in an image sitemap1,000
EncodingUTF-8, with & < > " ' escaped
AddressesFull URLs on the same site, http or https as your pages use

A sitemap can list pages in its own folder and below. That is why it belongs in the root folder - from there it can list every page.

When a site needs more than one file, a sitemap index lists them, and you submit only the index. The generator does the split and the index automatically, and packs them into one ZIP.

lastmod, changefreq and priority

<lastmod> is the one optional tag worth adding.

Google uses it when it is consistently accurate, and Bing leans on it to decide what to crawl again. Use the date the main content changed, not the date a footer or sidebar changed.

<changefreq> and <priority> are ignored by Google. They do no harm, but they do nothing for rankings either, so they are off by default.

Choose where the date comes from in Last modified: your server’s Last-Modified header, or the dateModified / article:modified_time date that most blogs and shops put in the page.

Image sitemaps

An image sitemap adds the images of each page to its <url> block.

<url>
  <loc>https://example.com/red-sneakers/</loc>
  <image:image>
    <image:loc>https://cdn.example.com/red-sneakers.webp</image:loc>
  </image:image>
</url>

Only <image:loc> is still used - Google dropped the caption, title, license and geo tags in 2022. Images may live on another domain, such as a CDN.

Fast images rank better in Google Images too. Shrink them with Compress PNG or turn them into WebP with PNG to WebP.

How to submit your sitemap

Three steps tell every search engine where your sitemap is.

  • robots.txt. Add Sitemap: https://yoursite.com/sitemap.xml on its own line. It can go anywhere in the file, and you can list more than one sitemap.
  • Google Search Console. Open Indexing > Sitemaps, enter sitemap.xml and press Submit. The report then shows how many URLs Google read.
  • Bing Webmaster Tools. Open Sitemaps and submit the same address. Bing also powers DuckDuckGo and Yahoo results.

The old "ping" addresses no longer work - Google retired its sitemap ping in 2023 and Bing in 2022. A robots.txt line and a one-time submission are all you need; search engines re-read the file by themselves.

What gets cleaned up

http vs https and www - links to other versions of your domain are merged into the version your homepage uses.

Redirects - the final address is listed, never the one that redirects.

Canonical duplicates - when a page says another page is the original, only the original is listed.

Tracking parameters - utm_source, fbclid, gclid, session IDs and similar are removed.

noindex pages - pages that ask not to be indexed are left out, but their links are still followed.

Trailing slashes - kept exactly as your site uses them. If a page answers both ways, you get a warning.

Paths are case-sensitive on most servers, so /Page and /page stay separate URLs. Only the domain name is lowercased.

XML sitemap or HTML sitemap?

An XML sitemap is for search engines. An HTML sitemap is an ordinary page of links for people.

You do not need both, but an HTML sitemap helps visitors on big sites and gives deep pages one more internal link. Download one from the results, then open it in the HTML File Viewer before you upload it.

Frequently asked questions

Only pages that load successfully (HTTP 200) at their final address. Pages marked noindex, pages whose canonical tag points elsewhere, redirects, broken pages and paths blocked by robots.txt are left out. They are listed under Excluded pages so you can see why.

One sitemap file can hold up to 50,000 URLs and 50 MB uncompressed. Bigger lists are split into several files plus a sitemap index. The crawler finds up to 1,000 pages per run; uploaded or pasted lists can be any size.

No. Google ignores both, so they are off by default here. Bing may still read them. The tag that matters is lastmod, as long as it is accurate.

The date the main content of the page last changed. The generator can take it from the Last-Modified header your server sends, or from the dateModified date in the page itself. Setting every page to today does more harm than good.

Upload it to the root folder of your website so it opens at https://yoursite.com/sitemap.xml. Then add Sitemap: https://yoursite.com/sitemap.xml to your robots.txt and submit it in Google Search Console and Bing Webmaster Tools.

Only if Google Images traffic matters to you and your images are hard to find, for example loaded by JavaScript. Turn on Image sitemap and the images found on each page are added as image tags.

The crawler only finds pages that are linked from other pages. Pages reachable only through a search box, a form or JavaScript cannot be found this way. Add them in the editor, or raise the link depth in Crawl limits.

No. It opens at most six pages at a time, identifies itself as ConvertICO-SitemapGenerator, and stops at the page limit you choose. Nothing about your site is stored on our server.

Guides & Tutorials

All 14 guides
Comparison PNG vs JPG: Which Image Format Should You Actually Use? Read the guide Optimization How to Reduce Image File Size Without Losing Quality Read the guide Guide Complete ICO File Guide: Understanding, Opening & Converting Icon Files Read the guide