Docs Menu

What is MongoDB Compass?

MongoDB Compass is a powerful GUI for querying, aggregating, and analyzing your MongoDB data in a visual environment.

Compass is free to use and source available, and can be run on macOS, Windows, and Linux.

Download Compass

View installation instructions

Homepage hero image
What You Can Do

Explore some of the tasks Compass can help you accomplish, such as importing and managing data from an easy-to-navigate interface.

1

Connect to a MongoDB deployment hosted on MongoDB Atlas, or a deployment hosted locally on your own machine.

To learn more, see Connect to MongoDB

2

Import data from CSV or JSON files into your MongoDB database.

To learn more, see Import and Export Data

MongoDB Compass import image
1

Paste documents into the JSON view, or manually insert documents using a field-by-field editor.

To learn more, see Insert Documents

2

Write ad-hoc queries or generate queries with the help of AI to filter your data. Explore trends and commonalities in your collections.

To learn more, see:

MongoDB Compass collection query image
1

Insert documents into your collections in two ways, JSON Mode and a Field-by-Field Editor.

To learn more, see Insert Documents

2

Write aggregation pipelines that allow documents in a collection or view to pass through multiple stages where they are processed into a set of aggregated results.

To learn more, see Aggregation Pipeline Builder

MongoDB Compass aggregation pipeline image
1

Connect to a MongoDB deployment hosted on MongoDB Atlas, or a deployment hosted locally on your own machine.

To learn more, see Connect to MongoDB

2

Use the embedded MongoDB Shell in Compass to control your data in an interactive JavaScript environment.

To learn more, see Embedded MongoDB Shell

MongoDB Compass embedded shell image
Related Products and Resources

Expand your knowledge of MongoDB by using Compass with other MongoDB products.

MongoDB Atlas icon

Use Compass to connect to your Atlas cluster

Read Atlas docs

MongoDB University icon

Learn MongoDB Basics with MongoDB University

Learn MongoDB Basics

MongoDB Server icon

Access more in-depth examples of querying data

Read Server docs