XML Sitemap Generator

Turn a list of URLs into a valid XML sitemap for search engines.

100% freeNo sign-upInstant results

How to use the XML Sitemap Generator

  1. 1Paste your page URLs, one per line.
  2. 2Set optional change frequency and priority.
  3. 3Download sitemap.xml and submit it in Google Search Console.

About the XML Sitemap Generator

An XML sitemap helps search engines discover the pages you consider important, especially on new sites, large sites or sites with weak internal linking.

Paste your URLs, one per line, and this tool validates them, removes duplicates and produces a sitemap that follows the sitemaps.org protocol.

When to use the XML Sitemap Generator

Publishing a small site's first sitemap

For a small site with a known set of pages, paste the complete URLs to generate an XML sitemap without crawling the website. Review the valid URL count and any rejected entries before downloading. Include only preferred pages that you want discovered, rather than every address available in your navigation or content system.

Cleaning an exported page inventory

A copied URL list may contain repeated addresses or malformed entries. Run it through the generator to remove duplicate parsed URLs and identify invalid inputs. Then review the remaining list yourself: passing URL validation means an address has an accepted format, not that its page exists, is indexable, or returns a successful response.

Updating URLs after a site migration

After moving a site, build a sitemap from the preferred destination URLs rather than old redirecting addresses. Check the scheme, host, and paths before generating the file. The tool can format the list into XML, but you still need to verify that each destination serves the intended content and agrees with its canonical URL.

Tips and best practices

  • Include absolute HTTP or HTTPS URLs for canonical, indexable pages. Leave out redirects, missing pages, and URLs blocked from indexing; the generator does not request pages to detect those conditions.
  • The lastmod toggle assigns today's date to every included URL. Disable it unless that date accurately represents meaningful changes to all listed pages; the tool does not inspect modification history.
  • Keep one preferred host and protocol in a normal sitemap. Automatic duplicate removal does not decide whether HTTP, HTTPS, www, or parameter variants represent the same content.
  • Check the generated file after correcting invalid entries. URL syntax validation and XML escaping help with formatting, but neither confirms that search engines will crawl or index the listed pages.

Frequently asked questions

Up to 50,000 URLs or 50 MB uncompressed. Larger sites should use a sitemap index file.

Google largely ignores them, but other engines may read them. An accurate lastmod value is the most useful optional field.

No. This tool runs entirely in your browser using JavaScript. Your input never leaves your device, which makes it safe for confidential content.

No. It generates XML from the URLs you supply and does not crawl links or discover additional pages. Start with a reliable page inventory, then verify that important canonical URLs are included. Navigation links alone may miss pages that are still intended for search discovery.

Entries must parse as absolute HTTP or HTTPS URLs. Relative paths, malformed addresses, and unsupported schemes are rejected. Check the invalid list for missing protocols or typing mistakes. Valid formatting does not prove that the destination exists, so confirm page availability separately before publishing the sitemap.

Related tools