Back to Free Tools

FREE TOOLS

BSON Extended JSON Converter

Convert BSON documents and typed canonical Extended JSON with complete companions.

Conversion, Extended JSON document, Source BSON or UTF-8 Extended JSON file (optional for pasted JSON)

BSON, JSON

Browser only

Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  • Enter the displayed example values,or choose the local input files requested by the controls. Optional source files take precedence where labelled.
  • Choose Convert document and inspect the complete result and any reported limitations.
  • Use Download result and each companion download link to save complete outputs. Reset clears output and restores example controls.

Examples

Conversion: ejson-to-bson
Extended JSON document: {"name":"Ada","count":{"$numberLong":"9223372036854775807"},"price":{"$numberDecimal":"12.50"}}

Limitations

  • Convert one binary BSON document to canonical Extended JSON v2,or Extended JSON to BSON with a canonical JSON companion. Preserve explicit numeric,binary,ObjectId,Decimal128,date,timestamp,regex,code,symbol and min/max types. No code or regex executes. Untagged numbers use finite IEEE754 values and the smallest driver integer type;unsafe source integers refuse. Duplicate BSON keys,noncanonical array indices,legacy undefined/DBPointer/v1 tags,the reserved driver key _bsontype and dates outside JavaScript Date refuse. Typed wrappers cannot contain unrelated fields. Relaxed date strings use exact UTC ISO dates. Driver enumeration may reorder integer-like document keys;byte-identical roundtrip is not promised. One file up to2 MiB,or100,000 pasted characters,20,000 values/40 levels;complete outputs20 MiB. The file takes precedence. All processing stays in your browser.
  • Complete outputs only. Unsupported or oversized input is refused. Follow the displayed job-specific bounds and format policies.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool