BSON Viewer

Inspect BSON/Extended JSON

Source Input
Processed Output

What is the BSON Viewer?

MongoDB's BSON has types plain JSON lacks: ObjectId, Date, Binary, Decimal128. Extended JSON ($oid, $date) preserves them in text form but is hard to read. Paste either format and this viewer converts both directions, decoding every special type and flagging fields that would lose fidelity in a round-trip.

Frequently Asked Questions (FAQ)

Q: Why does my date look different after converting?

Extended JSON stores dates in milliseconds or ISO strings; the viewer normalizes to ISO 8601 UTC for readability.

How to Use the BSON Viewer

  1. 1Paste your input into the editor above — or start from the preloaded example.
  2. 2Adjust any options, then click Run to process instantly in your browser.
  3. 3Review the output panel, then copy, download, or save it as a reusable snippet.

Related database tools