Skip to content

MongoDB Compass

Browse MongoDB records, filter a collection and export matching documents from a desktop app.

Visit MongoDB Compass

What does a MongoDB record look like in Compass?

Compass shows records called documents. One order can include a list of items and their quantities inside the same document. A collection groups documents for one job, such as storing orders.

Compass is free to use on macOS, Windows and Linux. Ask separately who operates the MongoDB database and what it costs.

How do you keep the connection read-only?

Ask for a database account that has read permission for the intended test database. The read-only display option hides editing controls. Database permissions still govern what the connected account can do.

Verify the database name before opening its collection. Prefer JSON when you need to keep a document’s nested structure. Compass also supports CSV, which is handy for a list of fields. A collection export is for moving or examining records. Plan database recovery separately.

How would you find one order and check its contents?

Use a test collection of made-up orders and check that a filter for confirmed orders gives the result you expect.

  1. Confirm the connection
    Check the test database name and its read-only login before selecting Orders.
  2. Filter and compare
    Find a confirmed order and check whether the items list contains the entries you expect.
  3. Inspect the export
    If you export matching documents, open the file and check that it contains only the intended records.