Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>BSON InspectorNew to Visual Studio Code? Get it now.
BSON Inspector

BSON Inspector

Dudi Lugasi

|
13 installs
| (0) | Free
Inspect BSON files by viewing their content as formatted JSON. Right-click any .bson file in Explorer.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

BSON Inspector

A Visual Studio Code extension that allows you to inspect BSON (Binary JSON) files by viewing their content as formatted JSON.

Features

  • Right-click on any .bson file in the VS Code explorer
  • Select "View as JSON" from the context menu
  • The BSON file will be deserialized and displayed as formatted JSON in a read-only tab
  • No need to save - the JSON view is read-only and doesn't create unsaved changes
  • Error handling for invalid or corrupted BSON files

Usage

  1. Install the extension
  2. Open a workspace containing BSON files
  3. In the Explorer panel, right-click on any file with the .bson extension
  4. Select "View as JSON" from the context menu
  5. A new tab will open with the BSON data displayed as formatted JSON

Installation

From Source

  1. Clone or download this extension
  2. Open the extension folder in VS Code
  3. Press F5 to run the extension in a new Extension Development Host window
  4. Test the extension with BSON files

Packaging

To package this extension for distribution:

npm install -g vsce
vsce package

Requirements

  • Visual Studio Code 1.60.0 or higher
  • Node.js for development

Known Issues

  • Only supports standard BSON format
  • Large BSON files may take time to process

Release Notes

1.1.2

  • Updated: Changed display name to "BSON Inspector" for uniqueness
  • Improved: Better extension description and branding

1.1.0

  • Improved: JSON output now opens in read-only tabs (no need to save)
  • Improved: Better tab naming with original filename
  • Enhanced user experience with virtual document provider

1.0.0

  • Initial release
  • Basic BSON to JSON conversion
  • Explorer context menu integration
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft