About MongoDB Playground

A free online MongoDB playground: paste documents, run mongosh-style commands, see query plans, try Atlas Search and Vector Search, then share or export. Built for people and for AI agents.

It runs on a MongoDB Atlas M10 cluster

Every run executes on a dedicated MongoDB Atlas M10 cluster, reached privately from the application (no public network path). Your documents are loaded into a throwaway database, your statements run against it in order, and the database is dropped when the run ends. Share links and anonymous usage counts live in separate databases on the same cluster, each with its own database user.

What is stored

Limits

8 collections and 256 documents each, 32 MB payload, 10 s per statement, 3 indexes plus 1 Atlas Search and 1 Vector Search index per collection, no cap on the number of results.

What is blocked

Server-side JavaScript ($where, $function), $out and $merge, admin stages, and references to other databases.

How it is built

Open source

Code, Terraform and docs: https://github.com/desteves/mongodb-playground/tree/main. Issues and pull requests are welcome, from people and from agents.

Use your own cluster

Want your data to stick around? Create a free Atlas cluster, then run the playground against it.

Terms of use

Don't paste secrets or personal data: shared links are public and runs are logged on the cluster for operations. This project is independent; MongoDB and Atlas are trademarks of MongoDB, Inc.