Skip to content
Dispatching · New York Metro
(347) 262-9435
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
Free diagnosticsSame-day dispatchNamed techniciansDone or free
Need it built, not just checked

We write the software
behind tools like these

Anyone with a wall of minified JSON from an API and no patience left for it.

Or call and speak to someone who does the work(347) 262-9435inquiries@jcitsystems.com