Skip to content

Sitemap generator

The Sitemap Generator allows for the automatic creation of sitemaps in both XML and TXT formats, crucial for SEO and site indexing.

Key Features

  • Output Formats: Generates sitemaps in XML (--sitemap-xml-file) and TXT (--sitemap-txt-file) formats.
  • Base Priority: Set a base priority for URLs in the XML sitemap (--sitemap-base-priority, default 0.5).
  • Priority Increase: Adjust priority based on URL structure, with a higher priority for URLs with fewer slashes (--sitemap-priority-increase, default 0.1).
  • URL Sorting: URLs are sorted by the number of slashes (ascending) and alphabetically to enhance sitemap organization.

How It Works

The Sitemap Generator only includes internal URLs with an HTML content type and a 200 status code. The priority of each URL in the XML sitemap is calculated based on its structure, allowing more significant pages to have a higher priority.

This feature simplifies the process of generating accurate and well-structured sitemaps, improving your websiteโ€™s visibility and crawlability by search engines.

๐Ÿ’กWhat would you improve?


If you have ideas how to improve Sitemap Generator, donโ€™t be afraid to send a feature request (to desktop application, or to command-line interface) with a suggestion for improvement. We are happy to consider and implement it if it will benefit more users.