An advanced, premium asset management dashboard for Sanity Studio. Stop guessing which assets are bloating your project—take full control of your media library with smart analysis, bulk cleanup tools, and deep usage tracking.

Easily navigate through your media library. Filter by file types and sizes to find what you need instantly.
Keep your dataset lean. Automatically find assets not referenced by any document and bulk delete them safely.
Identify performance bottlenecks. Sort assets by weight to quickly find unoptimized images slowing down your site.
Never delete a critical asset by mistake. Click any asset to see exactly which documents are referencing it.
Follow these simple steps to add the smart asset manager plugin to your Sanity Studio.
Install the plugin using your preferred package manager.
npm install sanity-plugin-smart-asset-manager
# or
yarn add sanity-plugin-smart-asset-manager
# or
pnpm add sanity-plugin-smart-asset-managerRegister the plugin in your sanity.config.ts (or .js):
import { defineConfig } from 'sanity'
import { smartAssetManager } from 'sanity-plugin-smart-asset-manager'
export default defineConfig({
// ...other config
plugins: [
smartAssetManager(),
],
})Everything you need to know about the smart asset manager plugin.
The smart asset manager plugin works seamlessly with Sanity Studio v3, v4, v5, and v6.
Yes! The plugin automatically checks for existing filenames during upload and warns you if a duplicate is detected.
Yes. The plugin features an unused asset detector that lets you multi-select and bulk delete unreferenced files with a single click.
The sanity-plugin-smart-asset-manager is open source under the MIT license. You can freely use, modify, and distribute it in your projects.
The smart asset manager plugin is free, open source, and production-ready. Install it today to take control of your assets.
Available for freelance website development and custom plugins (React, Next.js, Sanity, Strapi). Check out my portfolio and let's build something amazing together.