Devtools.supstudio.in

Tools/JSON

JSON beautifier

What this is

Beautify is parse, then stringify with indent. This page matches what people open jsonformatter.org for: paste a one-line API body, hit Beautify, read it. Smart wrap keeps short primitive arrays on one line (the jsoneditoronline trick) so a tags: ["a","b"] list does not eat four rows. Indent is 2, 3, or 4 spaces or tabs. If parse fails, the gutter highlights the line — Repair will try trailing commas and JS-ish syntax before you hand-edit.

Open the formatter — paste stays in this tab.

FAQ

Can I keep comments?
RFC 8259 JSON has no comments. Use Repair to strip // and /* */, or keep JSONC in an editor. Beautify itself only runs on valid JSON.
Does beautify change the data?
Key order is preserved unless you enable Sort keys. Numbers may normalize (1.0 → 1) because JSON.parse uses IEEE floats.

Related