doc-manager

Introduction

sanity-plugin-document-manager adds a dedicated tool pane to Sanity Studio that lets you browse, search, filter, and bulk-delete documents across all your datasets.

Why?

Sanity Studio's built-in Structure tool is great for day-to-day editing, but it wasn't designed for operational tasks like finding orphaned documents, auditing content across datasets, or cleaning up drafts in bulk. This plugin fills that gap.

Key Capabilities

Quick Example

sanity.config.ts
import { defineConfig } from 'sanity'
import { documentManager } from 'sanity-plugin-document-manager'

export default defineConfig({
  plugins: [
    documentManager(),
  ],
})

That's it. The plugin registers a "Document Manager" tool in your Studio navbar — no API keys or external services needed.