Click here to analyse any file

HomeFormats.BSONID

What is a .BSON file?

BSON is the binary JSON form used by the MongoDB database.

Did you know
  • BSON is how MongoDB stores documents on disk and over the wire.
  • Unlike JSON, the fields in a BSON document keep a defined order, and nested documents and arrays carry their own length prefixes for fast skipping.
  • BSON adds types JSON lacks, including a 64-bit Date, a Decimal128 number, raw binary data and MongoDB’s 12-byte ObjectId.
What Analyser reads
Identify and read developer and data-serialisation files: dependency lockfiles (npm/Yarn/pnpm/Cargo/Poetry/Bundler/Composer - locked-package count), binary serialisations (MessagePack, CBOR, BSON, raw Protobuf messages and descriptor sets), Python pickles with a security note, NumPy .npz and Java jar/war/ear archives, IDL schemas (FlatBuffers/Thrift/Cap n Proto/HCL), MATLAB MAT-files, Redis RDB dumps and columnar big-data containers (Apache Arrow/Feather, Parquet, ORC). The JSON supersets JSON5/JSONC/Hjson now open in a full viewer - see Notebooks & data above.
Depth of analysis
.BSON is an identification-grade format: Analyser recognises it from its bytes and decodes the header metadata it carries, rather than opening it in a full viewer. Formats that do get a full viewer are marked "Full" on the formats page.
Open a .BSON file
Drag a .BSON file onto the Analyser home page (or tap to pick one). It is identified entirely in your browser - nothing is uploaded, there is no account, and it works offline once installed.
Related formats
.LOCK · .PB · .MsgPack · .MPK · .CBOR · .PKL · .Pickle · .NPZ · .JAR · .WAR · .EAR · .FBS · .Thrift · .CapnProto · .HCL · .MAT · .RDB · .Arrow and more. See all supported file types.