JSON Tools
JSON to BSON Converter
Transform standard JSON into MongoDB BSON Extended JSON format. Auto-detects ObjectId strings, ISO dates, and numbers to convert them to proper BSON types ($oid, $date, $numberInt, $numberLong, $numberDouble). Supports canonical and relaxed modes.
Updated 2025-06-12
JSON to BSON Converter
Convert standard JSON to MongoDB BSON Extended JSON format. Auto-detects ObjectIds, dates, and numbers.
Conversion Options
About JSON to BSON Converter
Convert standard JSON to MongoDB BSON Extended JSON format for importing data into MongoDB or working with MongoDB tools that expect BSON types.
Auto-Detection:
- ObjectId: 24-character hex strings in ID fields → $oid
- Dates: ISO 8601 date strings → $date
- Numbers: Integers → $numberInt/$numberLong, Floats → $numberDouble