OnWorks favicon

bsondump - Online in the Cloud

Run bsondump in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command bsondump that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



bsondump - MongoDB BSON utility


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



--help Returns a basic help and usage text.

--verbose, -v
Increases the amount of internal reporting returned on the command line. Increase
the verbosity with the -v form by including the option multiple times, (e.g.

Returns the version of the bsondump utility.

Validates each BSON object before outputting it in JSON format. By default,
bsondump enables --objcheck by default. For objects with a high degree of
sub-document nesting, --objcheck can have a small impact on performance. You can
set --noobjcheck to disable object checking.

Changed in version 2.4: MongoDB enables --objcheck by default, to prevent any
client from inserting malformed or invalid BSON into a MongoDB database.

New in version 2.4.

Disables the default document validation that bsondump performs on all BSON

--filter '<JSON>'
Limits the documents that bsondump exports to only those documents that match the
JSON document specified as '<JSON>'. Be sure to include the document in single
quotes to avoid interaction with your system's shell environment.

--type <=json|=debug>
Changes the operation of bsondump from outputting "JSON" (the default) to a
debugging format.

The final argument to bsondump is a document containing BSON. This data is
typically generated by mongodump or by MongoDB in a rollback operation.


By default, bsondump outputs data to standard output. To create corresponding JSON files,
you will need to use the shell redirect. See the following command:

bsondump collection.bson > collection.json

Use the following command (at the system shell) to produce debugging output for a BSON

bsondump --type=debug collection.bson

Use bsondump online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 2
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    Download XMLTV
  • 3
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    Download strikr
  • 5
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 6
    With Hugin you can assemble a mosaic of
    photographs into a complete immersive
    panorama, stitch any series of
    overlapping pictures and much more..
    Audience: Sci...
    Download Hugin
  • 7
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • More »

Linux commands