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.
Other tools
More on the bench
- 01
Base64 Encode / Decode
Text or files, both directions. - 02
URL Encode / Decode
Percent-encoding, both directions. - 03
Supabase Security Auditor
Point it at your project, find the holes. - 04
JWT Decoder
Paste a token, read what is inside. - 05
Secret & .env Scanner
Paste code or a .env, catch the leaked keys. - 06
Security Headers Scanner
Enter a URL, grade its headers. - 07
CORS Tester
See exactly what a URL allows cross-origin. - 08
UUID Generator
v4 and v7, one or a thousand.
Software engineering
We write the software
behind tools like these
Anyone with a wall of minified JSON from an API and no patience left for it.
- Free diagnostics
- Same-day across most of the metro
- Named technicians
- No fix, no labour charge