@nuxtjs/sitemap

Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.
8,341,086 441
Install
npm install @nuxtjs/sitemap
Latest Version:9.1.0
Vue:3
License:MIT
Last Updated:Oct 27, 2026
Links: GitHub  ·  npm
Maintainer: nicopennec

Nuxt SEO @nuxtjs/sitemap

npm version npm downloads License Nuxt Skill repository on skilld.dev

Nuxt Sitemap is a module for generating best-practice XML sitemaps that are consumed by the robots crawling your site.

New to XML sitemaps or SEO? Check out the Controlling Web Crawlers guide to learn more about why you might need these.

Made possible by my Sponsor Program 💖
Follow me @harlan_zw 🐦 • Join Discord for help

Features

  • 🌴 Single /sitemap.xml or multiple /posts-sitemap.xml, /pages-sitemap.xml
  • 📊 Fetch your sitemap URLs from anywhere
  • 😌 Automatic lastmod, image discovery and best practice sitemaps
  • 🔄 SWR caching, route rules support
  • 🎨 Debug using the Nuxt DevTools integration or the XML Stylesheet
  • 🤝 Integrates smoothly with Nuxt I18n and Nuxt Content

Installation

💡 Using Nuxt 2? Use the nuxt-community/sitemap-module docs.

Install @nuxtjs/sitemap dependency to your project:

npx nuxt module add sitemap

[!TIP] Using an AI agent? Get the @nuxtjs/sitemap Skill on skilld.dev/gh/nuxt-modules/sitemap.

💡 Generated your sitemap? Check which URLs Google has indexed with the free Sitemap Validator, or monitor indexing continuously with Nuxt SEO Pro.

Documentation

📖 Read the full documentation for more information.

Demos

Sponsors

Sponsors

License

Licensed under the MIT license.

Related Packages

@nuxtjs/i18n

Internationalization for Nuxt

23,877,608 2,085
@nuxtjs/color-mode

Dark and light mode for Nuxt with auto detection

20,659,199 1,228
@nuxtjs/tailwindcss

Tailwind CSS module for Nuxt

16,852,917 1,868
@nuxtjs/mdc

Nuxt MDC module

7,786,445 400
@nuxtjs/robots

Tame the robots crawling and indexing your Nuxt site with ease.

7,231,454 529

Version History

Version Released Vue License
9.1.0 ^3.0 MIT
9.0.3 ^3.0 MIT
9.0.2 ^3.0 MIT
9.0.1 ^3.0 MIT
9.0.0 ^3.0 MIT
Pre-releases (5)
Version Released Vue License
6.0.0-beta.5 ^3.0 MIT
6.0.0-beta.4 ^3.0 MIT
6.0.0-beta.3 ^3.0 MIT
6.0.0-beta.2 ^3.0 MIT
6.0.0-beta.1 ^3.0 MIT