XML Sitemap Generator for Next.js Apps
Next.js App Router has built-in sitemap support, but configuring it for dynamic routes, i18n, and proper priorities takes effort. This generator produces both raw XML sitemaps and ready-to-use sitemap.ts route handler code tailored to your Next.js project structure.
XML Sitemap Generator for Next.js Apps
How to Use This Tool
- Enter your base URL and list your routes (or paste your next.config.js for auto-detection).
- Configure priorities, change frequencies, and last-modified dates per route.
- Toggle i18n alternate links if your site supports multiple languages.
- Download the XML sitemap or copy the sitemap.ts code directly.
Features
- Generates both raw XML and Next.js sitemap.ts route handler code
- Dynamic route pattern support with parameter placeholders
- i18n hreflang alternate link generation
- Per-URL priority and changefreq configuration
- Validates output against the Sitemaps 0.9 protocol