Skip to content

BSON to JSON Converter

Convert MongoDB extended JSON (BSON) format back to standard JSON.

Input

json
loading editor…

Paste your MongoDB extended JSON here...
or drop a file anywhere in this pane

Output

json

Converted JSON will appear here...
press to convert to json

What Is BSON to JSON Converter?

This tool converts MongoDB extended JSON (BSON representation) back to standard JSON. It unwraps $numberInt, $numberDouble, $numberLong, $date, $oid, and other BSON type wrappers, restoring plain JSON values.

How to Use

  1. Paste your MongoDB extended JSON into the input field.
  2. Click "Convert to JSON" to transform it back to standard JSON.
  3. Copy the clean JSON for use in other tools or applications.

Frequently Asked Questions

What BSON types are supported?

The converter handles $numberInt, $numberDouble, $numberLong, $date, $oid, $binary, $timestamp, $regex, $undefined, $null, $minKey, $maxKey, and $symbol.

Will I lose precision with large numbers?

The converter preserves numeric values as numbers. Extremely large integers from $numberLong may use string representation to avoid precision loss in JSON.

Related Tools