Docs Menu

Docs HomeMongoDB Database Tools

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.

Starting with MongoDB 4.4, 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.

For documentation on the MongoDB 4.2 or earlier versions of these tools, reference the MongoDB Server Documentation for that version of the tool:

Note

Quick links to older documentation

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

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

For instructions on how to file a JIRA ticket for the MongoDB server or one of the related projects, see https://github.com/mongodb/mongo/wiki/Submit-Bug-Reports.

Getting involved in the MongoDB community is a great way to build relationships with other talented and like minded engineers, increase awareness for the interesting work that you are doing, and sharpen your skills. To learn about the MongoDB community, see Get Involved with MongoDB.

The MongoDB Database Tools documentation is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.

For information on MongoDB licensing, see MongoDB Licensing.

MongoDB, Inc.
The company behind MongoDB.
MongoDB Manual
The MongoDB server documentation.
MongoDB Atlas
Database as a service.
MongoDB Ecosystem
The documentation available for the drivers, frameworks, and services for use with MongoDB.
mongodump →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.