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.
    mongorestore Restores data from a mongodump database dump into a mongod or mongos
    bsondump Converts BSON dump files into JSON.
Data Import / Export  
    mongoimport Imports content from an Extended JSON, CSV, or TSV export file.
    mongoexport 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  
    mongofiles 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:

Quick links to older documentation

Additional Resources


For instructions on how to file a JIRA ticket for the MongoDB server or one of the related projects, see


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.

Further Reading

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  →