This is an upcoming (i.e. in progress) version of the manual.


The mongofiles utility makes it possible to manipulate files stored in your MongoDB instance in GridFS objects from the command line. It is particularly useful as it provides an interface between objects stored in your file system and GridFS.

mongofiles documentation migrated to MongoDB Database Tools

Starting in MongoDB 4.4, the documentation for mongofiles has migrated to:

For documentation on previous versions of mongofiles, use the version selector in the top-left corner of this web page to select the desired version.

Quick Links to older documentation