Skip to content
a simple sandbox to test and share MongoDB queries
HTML Go CSS JavaScript Shell
Branch: master
Clone or download

Go Report Card codecov

Mongo Playground

Mongo playground: a simple sandbox to test and share MongoDB queries. Try it online :


Size limitations

This playground has several limitations:

  • a database can't contain more than 10 collections
  • a collection can't contain more than 100 documents


Currently, the playground can run only find() and aggregate() queries

shell regex

Currently, shell regex doesn't work in query.

so instead of

  "k": /pattern/


  "k": {
    "$regex": "pattern"


This playground is heavily inspired from The Go Playground

Editors are created with ace, and the documentation is styled using github-markdown-css

You can’t perform that action at this time.