Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>JSONB SQL FormatterNew to Visual Studio Code? Get it now.
JSONB SQL Formatter

JSONB SQL Formatter

Rinaldo Nikilson

|
140 installs
| (0) | Free
A simple Jsonb SQL statements formatter.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Jsonb SQL Formatter

Convert JSON to SQL format and vice versa in VS Code.

Features

  • Parse JSON in the active editor and format it as SQL statements.
  • Replace the content of the active document with the formatted SQL.
  • Change the language mode of the editor to SQL for syntax highlighting.
  • Parse SQL in the active editor and format it as JSON.

Installation

  1. Open Visual Studio Code.
  2. Go to the Extensions view by clicking on the square icon in the sidebar or pressing Ctrl+Shift+X.
  3. Search for "Jsonb SQL Formatter".
  4. Click Install to install the extension.
  5. Reload Visual Studio Code to activate the extension.

Usage

JSON to SQL

  1. Open a JSON document in Visual Studio Code.
  2. Right-click inside the JSON document to open the context menu.
  3. Select "Format JSON to SQL and Change Language Mode" from the menu.
  4. The JSON content will be formatted as SQL and replaced in the document.
  5. The language mode of the editor will be changed to SQL for syntax highlighting.

Alternatively, you can use the command palette (Ctrl+Shift+P) and search for "JSON to SQL Formatter" or "SQL to JSON Formatter" to run the respective command.

Requirements

  • Visual Studio Code version 1.52.0 or higher.

Extension Settings

This extension does not provide any customizable settings.

Known Issues

None.

Release Notes

1.0.0

Initial release of JSON to SQL and SQL to JSON Formatter.

Contributing

Contributions are welcome! Fork the repository, make your changes, and submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft