JSON formatter

Beautify, validate and minify JSON with the exact error line, sort keys, accept comments, export to CSV.

Runs on your device. Nothing is uploaded.

Why not just any online formatter

JSON being formatted often holds API responses with access tokens, customers’ personal data or configs with passwords. Many formatter sites send what you paste to their server or store it “to share by link”. Here your browser does all the work, as the Network tab will confirm.

“Allow comments & trailing commas” reads JSONC (as in tsconfig.json or VS Code settings) and outputs clean standard JSON. An array of objects can be saved straight to CSV for Excel or Google Sheets.

More tools