Developer Tools

MongoDB Extended JSON to Plain JSON

Convert MongoDB shell or Compass extended JSON (ObjectId, ISODate, NumberInt, and similar) into plain JSON for formatting, sharing, and downstream tools.

BSONJSONMongoDB

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Format Mongo UI logs in generic JSON tools
  • Share exports without Mongo-specific wrappers

How to use

  1. Paste extended JSON from Mongo tools
  2. Review plain JSON on the right
  3. Copy or export the result

Example input and output

BSON

{"a": NumberInt(1)}

JSON

{"a": 1}

FAQ

Besides ObjectId and Date, what else is supported?

NumberInt, NumberLong, and similar typed wrappers are normalized to plain numbers.

Tools

Related tools

Continue with another translated tool for a nearby task.

JSON Formatter

JSON Formatter and Validator Online

Available

Format, minify, sort, and validate JSON in your browser. Parsing errors include location details, and your data never leaves the page.

JSON Formatter Developer

JSON Log Viewer

Collapsible JSON and NDJSON Log Viewer

Available

View JSON and NDJSON logs as a collapsible, syntax-colored tree. Expand or fold nodes to inspect deep structured logs locally in the browser.

JSON Logs Developer