Many configuration files like tsconfig.json, VS Code settings, and ESLint configs use JSONC or JSON5 formats that allow inline comments. Standard JSON parsers choke on these comments, but you still need to format the underlying data structure. Paste your commented JSON here: the formatter will parse the valid JSON content and present it in a clean, readable format while you keep your original commented file intact for reference.
Format, minify, and validate JSON — instantly, in your browser.
Your tidy JSON shows up here
Paste some JSON on the left and hit Format. We'll pretty-print and color-code it for you.
All processing happens entirely in your browser — no data is ever sent to a server.