Stop wasting vertical screen space.
A "fractal" formatter that groups simple JSON lists and coordinates onto single lines, while keeping complex nested payloads expanded. Lightweight, width-aware, and super fast.
Fractal Formatting
Decides dynamically if lists or objects are compact enough to look clean on a single line.
Zero Dependencies
Written in 100% pure TypeScript. No external runtimes or Python required anymore.
Width Aware
Ensures no line exceeds your maximum configured width, scaling structures elegantly.
Interactive Playground
Paste your JSON below to see the formatting difference in real time.
How to Install in VS Code / IDE
Download
Get the latest compiled `.vsix` file from the repository releases page.
Install Extension
Run the install command in your terminal or install via the Extensions tab in your IDE.
code --install-extension smart-json-formatter-1.0.7.vsix
Format
Open a JSON file, right-click, select **Format Document With...** and make Smart JSON Formatter default.