Format, validate, minify and convert JSON right inside your editor — no copy-pasting into a website, nothing sent to any server.
Private & offline: every operation runs locally in the extension host. Your JSON never leaves your machine.
Features
All commands work on the current selection if you have one, otherwise on the whole file.
| Command | What it does |
|---|---|
| Format JSON | Pretty-print with 2-space indent (in place). Ctrl/Cmd+Shift+J |
| Minify JSON | Strip whitespace to a single line (in place). |
| Validate JSON | Parse and report valid / the exact error line. |
| Convert JSON to TypeScript | Generate interface definitions in a new editor tab. |
| Convert JSON to YAML | Open the YAML equivalent in a new tab. |
| Convert JSON to CSV | Flatten a JSON array to CSV in a new tab. |
| Convert CSV to JSON | Parse CSV into a JSON array in a new tab. |
| Open in Jsonic.io (more tools) | Optional — open the current JSON in the full jsonic.io web suite (JSONPath, schema generator, diff, 20+ converters). Data travels in the URL hash only. |
Usage
- Right-click inside any
.json/.jsoncfile → pick a Jsonic command. - Command Palette (
Ctrl/Cmd+Shift+P) → search Jsonic. - Keyboard:
Ctrl+Shift+J/Cmd+Shift+Jto format instantly.
Why Jsonic
The in-editor commands cover the everyday JSON chores. When you need the heavier tooling — JSONPath playground, JSON Schema generator, visual diff, conversion to Zod / Swift / Kotlin / PHP / Ruby and more — Open in Jsonic.io hands off to the full web suite, with your data encoded in the URL fragment (client-side, never uploaded).
Requirements
- VS Code
^1.75.0
Links
- Jsonic.io — the full web suite
License
MIT