Zero-config, blazing-fast sitemap generator for modern workflows. Crawl local dev servers, static sites, and headless CMS outputs in seconds.
Pick your package manager or download a standalone binary for your system.
Designed to integrate seamlessly into local development, CI/CD pipelines, and headless architectures.
Point it at your dev server or dist folder. Automatically discovers routes, assets, and dynamic pages without manual listing.
Generate XML, JSON, CSV, or HTML sitemaps. Supports sitemaps index files for sites exceeding 50K URLs.
Headless execution, deterministic output, and exit-code validation make it perfect for GitHub Actions, GitLab CI, and Vercel builds.
Tap into the middleware pipeline to transform URLs, inject custom metadata, or apply business logic during generation.
Simple commands for common workflows. No boilerplate required.
Use a config file or environment variables to fine-tune behavior.
Define custom priorities, change frequencies, and last-modified strategies per route pattern.
Intercept URLs during crawling to append query params, strip session IDs, or apply A/B test rules.
Different configs for dev, staging, and production without touching your source code.
Auto-detect locale slugs and generate proper hreflang tags for multilingual deployments.
// sitemap.config.js
export default {
baseUrl: 'https://app.example.com',
output: 'public/sitemap.xml',
rules: {
'^/blog/': { priority: 0.8, frequency: 'weekly' },
'^/products/': { priority: 1.0, lastmod: 'auto' },
},
middleware: [async (url) => {
return url.replace(/\?.*&$/, ''); // strip params
}],
locales: ['en-US', 'es-ES', 'fr-FR'],
}