Free tool · No sign-up
JSON Formatter
Paste JSON and get it back formatted with the indentation you choose, minified to one line, or with a precise error pointing at the line and column where it broke. Sorts keys on request, and reports the depth and size so you can see what you are dealing with. Parsed in the browser, never uploaded.
Indent
Method & assumptions
- Validation is the JavaScript engine's own JSON parser, so what passes here is exactly what JSON.parse accepts — no more, no less.
- On a syntax error the line and column point at the character the parser choked on, with the offending line shown beneath.
- Depth counts nested containers — an object holding an array holding an object is depth three; key count sums every object's keys.
- Sort keys reorders every object alphabetically and recursively, which makes two documents diff cleanly against each other.
- Everything runs in your browser. Nothing you paste is transmitted anywhere.
Plate —Other tools
More on the bench
- 01Base64 Encode / DecodeText or files, both directions.
- 02URL Encode / DecodePercent-encoding, both directions.
- 03Supabase Security AuditorPoint it at your project, find the holes.
- 04JWT DecoderPaste a token, read what is inside.
- 05Secret & .env ScannerPaste code or a .env, catch the leaked keys.
- 06Security Headers ScannerEnter a URL, grade its headers.
- 07CORS TesterSee exactly what a URL allows cross-origin.
- 08UUID Generatorv4 and v7, one or a thousand.
Free diagnosticsSame-day dispatchNamed techniciansDone or free
Need it built, not just checkedWe write the software
We write the software
behind tools like these
Anyone with a wall of minified JSON from an API and no patience left for it.