Docs Menu
Docs Home

The MongoDB Database Tools Documentation

The MongoDB Database Tools are a collection of command-line utilities for working with a MongoDB deployment. The Database Tools include the following binaries:

Binary Import / Export

    mongodump

Creates a binary export of the contents of a mongod database.

Restores data from a mongodump database dump into a mongod or mongos.

    bsondump

Converts BSON dump files into JSON.

Data Import / Export

Imports content from an Extended JSON, CSV, or TSV export file.

Produces a JSON or CSV export of data stored in a mongod instance.

Diagnostic Tools

    mongostat

Provides a quick overview of the status of a currently running mongod or mongos instance.

    mongotop

Provides an overview of the time a mongod instance spends reading and writing data.

GridFS Tools

Supports manipulating files stored in your MongoDB instance in GridFS objects.

You can use the MongoDB Database Tools to migrate from a self-hosted deployment to MongoDB Atlas. MongoDB Atlas is the fully managed service for MongoDB deployments in the cloud. To learn more, see Seed with mongorestore.

To learn all the ways you can migrate to MongoDB Atlas, see Migrate or Import Data.

Important

It is recommended you always use the latest release version of the MongoDB Database Tools. To check your current version of the MongoDB Database Tools, run the following command on your terminal:

mongodump --version

To download the latest version, go to the MongoDB Download Center.

The MongoDB Database Tools are now released separately from the MongoDB Server and use their own versioning, with an initial version of 100.0.0. Previously, these tools were released alongside the MongoDB Server and used matching versioning.

MongoDB Database Tools version 100.13.0 supports the following versions of the MongoDB server:

  • MongoDB 8.0

  • MongoDB 7.0

  • MongoDB 6.0

  • MongoDB 5.0

  • MongoDB 4.4

  • MongoDB 4.2

While the tools may work on earlier versions of MongoDB server, any such compatibility is not guaranteed.

The MongoDB Database Tools version 100.13.0 are supported on the following platforms:

x86_64
ARM64
PPC64LE
s390x

Amazon Linux 2023

Amazon 2

Amazon 2013.03+

Debian 12

Debian 11

Debian 10

Debian 9

RHEL / CentOS 9

RHEL / CentOS 8

RHEL / CentOS 7

RHEL / CentOS 6

SUSE 15

SUSE 12

Ubuntu 24.04

Ubuntu 22.04

Ubuntu 20.04

Ubuntu 18.04

Ubuntu 16.04

Windows 11 and later

Windows Server 2016 and later

macOS 11 and later

macOS 10.12 - 10.15

The MongoDB Database Tools can be downloaded from the MongoDB Download Center.

Please see the installation guide for your platform for specific installation instructions.

Back

Third-Party Licenses

On this page