
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeYes! There are a few ways to clone a Sanity project with the same content but a different project ID. Here's what you can do:
The most common method is to use the Sanity CLI's export and import commands:
sanity dataset export productionThis creates a production.tar.gz file containing all your documents and assets.
sanity initsanity dataset import production.tar.gz productionThis approach gives you complete control and works across all plan types. You can also export to a specific filename or location if needed.
The Cross Dataset Duplicator plugin lets you migrate documents and assets between projects directly from within Sanity Studio. This is especially helpful if you want to selectively copy content rather than everything at once. Install it with:
npm i @sanity/cross-dataset-duplicatorIf you're on an Enterprise plan, you have access to Cloud Clone, which duplicates datasets directly in the cloud without needing to download and re-upload data locally. This is faster and more efficient for large datasets.
The export/import method is the most straightforward approach and works great for most use cases where you need a complete clone with a new project ID.
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store