The bsondump converts BSON files into human-readable formats, including JSON. For example, bsondump is useful for reading the output files generated by mongodump.


bsondump is a diagnostic tool for inspecting BSON files, not a tool for data ingestion or other application use.

bsondump documentation migrated to MongoDB Database Tools

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

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

Quick Links to older documentation

←   mongorestore mongoimport  →