FerretDB is an Apache-2.0 open-source MongoDB alternative. It translates the MongoDB 5.0+ wire protocol to PostgreSQL backed by a permissively licensed DocumentDB extension.
Use this playground to practise common MongoDB-style document operations, filters, projections, updates, indexes, and aggregation pipelines with the real mongosh client—without installing a database server.
This page sends your script to a hosted, network-isolated FerretDB 2.7.0 runtime. Every Run executes the whole editor contents against a fresh database, then discards its database state and files. It does not run the database in your browser and it never connects to your own database.
Available output: mongosh text, shell-formatted BSON, and opt-in relaxed or canonical Extended JSON. The schema panel shows a bounded catalogue captured after successful execution. Large output may be truncated, and package installation, remote network access, persistent storage, and external database connections are not supported.