BSON to JSON
Convert a MongoDB BSON collection to canonical Extended JSON. Save the documents as a JSON array or as one JSON object per line.
- Free
- Works Offline
- No Uploads
How to Use BSON to JSON
- Open the HTML, review Security Check, then select Continue.
- Choose a local .bson collection file, or select Open Sample BSON.
- Choose JSON Layout, then select Convert to JSON.
- Select Download to save the JSON or JSON Lines output.
BSON to JSON Features
- Keep ObjectIds, 64-bit integers, dates, Decimal128 values, and binary values in Extended JSON wrappers.
- A UTF-8 JSON array (.json) or one Extended JSON document per line (.jsonl).
- Work offline in your browser.
Formats and Compatibility
| Input | One uncompressed MongoDB BSON (.bson) collection file. |
|---|---|
| Output | A UTF-8 JSON array (.json) or one Extended JSON document per line (.jsonl). |
| Browser | A modern browser with local file support. |
| Scope | One uncompressed BSON collection file. This converter buffers the completed download in browser memory. |
| Operating Systems |
Local Conversion Without Uploads
BSON to JSON runs locally in your browser without uploads. Download the tool for offline use.
Select Open Sample BSON to see the workflow with the included example.
Supported Formats
One uncompressed MongoDB BSON (.bson) collection file.
Use the Converted File
Keep ObjectIds, 64-bit integers, dates, Decimal128 values, and binary values in Extended JSON wrappers.
Frequently Asked Questions
Can I use BSON to JSON offline?
Yes. Download the tool ZIP, extract the files, and open the HTML. Processing stays in your browser.
Which BSON files can I open?
Use an uncompressed BSON collection file from a MongoDB directory-format dump. Extract compressed collection files first.
Will this change my BSON file?
No. The source file remains unchanged.
What can I expect from the result?
A UTF-8 JSON array (.json) or one Extended JSON document per line (.jsonl).
What Size and Format Limits Apply?
One uncompressed BSON collection file. This converter buffers the completed download in browser memory.
Does this tool work offline on Windows, macOS, Linux, and ChromeOS?
Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.
Which browsers can I use with this offline tool?
Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.