Toolvist

XML Sitemap Generator

Generate an XML sitemap for search engines.

Download

Free XML Sitemap Generator

The XML Sitemap Generator turns a list of URLs into a standards-compliant XML sitemap for search engines. Paste one URL per line, optionally add a lastmod date, and copy the result.

The sitemap works alongside the Robots.txt Generator, and the pages it lists should each carry a canonical from the Canonical Tag Generator. For a multilingual site, the Hreflang Tag Generator covers the alternate-language annotations.

How to use the XML Sitemap

  1. 1 Enter your site's domain and the pages you want listed, or paste URL and last-modified pairs.
  2. 2 Choose whether to include priority and change-frequency values.
  3. 3 Add child sitemap references if you are building an index for a large site.
  4. 4 Copy the XML and upload it, then reference it from your robots file.

What to include and what to leave out

A useful rule is that the sitemap should describe the site you would draw on a whiteboard — the pages that represent the site's actual content. Everything generated by a query parameter, everything behind a filter, and every duplicate reached by a second path belongs outside it. That keeps the file an accurate map rather than an inventory of everything the server can produce.

Last-modified dates are worth including and worth getting right. A crawler uses them to decide whether a page needs re-fetching, and a date that updates every time the template changes rather than when the content does trains the crawler to ignore the field entirely. Accuracy here is what makes the field useful.

Common mistakes

  • Listing URLs that redirect, which wastes crawl budget and weakens the signal.
  • Using absolute paths with the wrong protocol or host, which makes the whole file suspect.
  • Forgetting to submit or reference the file, so nobody reads it.
  • Generating it once and never updating it, so new pages are never discovered.

Frequently asked questions

Does a sitemap improve rankings?

Not directly. It is a discovery aid, not a ranking factor. What it does is help a crawler find pages it might not otherwise reach — particularly new pages with no inbound links, or pages buried deep in a site's architecture. On a well-linked small site the benefit is marginal; on a large one with deep structure it can make a real difference to how quickly pages are found.

How many URLs can one file hold?

Fifty thousand, and no more than fifty megabytes uncompressed. Beyond either limit you need multiple sitemap files plus an index file that lists them. The index is itself a sitemap, referenced from the same place, and crawlers follow the references automatically — so a site with two hundred thousand pages typically ships one index and five sitemaps.

Should every page be listed?

Every page you want indexed, and nothing else. Listing a page that carries a noindex directive sends contradictory instructions, and listing a page that redirects wastes crawl capacity. Search result pages, filter combinations, and paginated archives beyond the first few are the usual candidates for exclusion.

Related SEO & Webmaster Tools

Browse all SEO & Webmaster Tools →

You might also need

Tools from other categories that people pair with the XML Sitemap:

Browse the full tool directory →