Navigation

    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
        mongodumpCreates a binary export of the contents of a mongod database.
        mongorestoreRestores data from a mongodump database dump into a mongod or mongos
        bsondumpConverts bson dump files into json.
    Data Import / Export
        mongoimportImports content from an Extended JSON, CSV, or TSV export file.
        mongoexportProduces a json or csv export of data stored in a mongod instance.
    Diagnostic Tools
        mongostatProvides a quick overview of the status of a currently running mongod or mongos instance.
        mongotopProvides an overview of the time a mongod instance spends reading and writing data.
    GridFS Tools
        mongofilesSupports 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:

    Info With Circle IconCreated with Sketch.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.
    Give Feedback