Skip to main content

BSON Viewer

v1.0.0

Encode and decode BSON (MongoDB binary JSON) to and from JSON

Inspects MongoDB BSON (Binary JSON) documents — encode JSON to BSON hex bytes or decode hex bytes back to readable JSON, all client-side.

How to use
  • Toggle between Encode and Decode mode using the switcher above the panels.
  • Paste valid JSON on the left to encode into BSON hex bytes, or hex bytes on the right to decode back to JSON.
  • BSON requires a top-level document (object) — arrays and primitives cannot be encoded at the root level.
  • Use the Examples picker to load sample documents and see how different JSON structures map to BSON bytes.