Skip to content

Developer tools

JSON formatter and minifier

Paste JSON, get readable indent or a one-line payload, and see parser errors immediately — still on this device.

Processed in your browser — nothing is uploaded

Last reviewed 2026-09-10.

FAQ

Questions, answered

Does this send my JSON anywhere?

No. `JSON.parse` and `JSON.stringify` run in your browser. Use it on tokens, fixtures, and private payloads.

Pretty or minify?

Pretty prints with two-space indent. Minify removes optional whitespace. Both validate first.

What if the JSON is invalid?

The original text stays in the output pane and the parser message appears above the stats. Fix the input and it restyles live.

Are comments allowed?

Standard JSON does not allow comments. If you need JSONC, strip comments first or wait for a later JSONC mode.

Related

Keep going

Browse all tools