doc-manager
Open-source Sanity Studio Plugin

Tame your content
at scale

Browse, search, filter, and bulk-manage documents across every dataset in your Sanity project — from a single tool pane.

Interactive Preview

Try the filters below — this is exactly how it works inside Sanity Studio.

📋 Document Manager

Manage documents across datasets

12total
12filtered
9published
3drafts
6types
12 documents
Title / Name / ID
Type
Created
Updated
Getting Started with Sanity
blog-001
blog
2025-03-28
Advanced GROQ Queries
drafts.blog-002
blog
2025-03-27
Homepage
page-home
page
2025-03-25
Studio Lite (Draft)
drafts.product-002
product
2025-03-25
Hardik Desai
author-001
author
2025-03-22
About Us (Draft)
drafts.page-about
page
2025-03-18
Building Plugins for Sanity
blog-003
blog
2025-03-15
Studio Pro
product-001
product
2025-03-10
12 docs
Page 1 of 2

Everything you need to manage content

One tool pane. All your documents. Full control.

Multi-Dataset

Switch between datasets instantly. All your content environments in one pane.

Full-Text Search

Find documents by title, name, ID, or type with instant filtering as you type.

Smart Filters

Filter by document type with live counts. Toggle draft documents on or off.

Bulk Operations

Select multiple documents and delete them atomically in a single transaction.

Paginated Table

Browse thousands of documents with configurable pagination. 50, 100, or more per page.

Safe Deletes

Confirmation dialogs before every delete. Atomic transactions ensure data integrity.

Installation

Up and running in 30 seconds

Install the package, add it to your Sanity config, and you have a fully functional document manager. No API keys, no configuration required.

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

export default defineConfig({
  // ... your project config
  plugins: [
    documentManager(),   // zero-config
  ],
})
Configuration
import { documentManager } from 'sanity-plugin-document-manager'

documentManager({
  title: 'Content Manager',
  pageSize: 100,
  excludeTypes: ['sanity.imageAsset', 'sanity.fileAsset'],
  defaultDataset: 'production',
})

Customizable

Make it yours

Every aspect is configurable. Change the page size, exclude internal document types, set a default dataset, or swap the icon.

  • Custom tool title and icon
  • Configurable page size (50, 100, 200...)
  • Exclude internal document types
  • Pre-select a default dataset
  • Custom API version for queries

Ready to take control?

Install the plugin and start managing your Sanity content the way it should be — fast, searchable, and in bulk.