Beautify, minify and validate JSON with precise error locations โ runs entirely in your browser
JavaScript Object Notation โ the standard data format of the web. APIs, config files and databases all speak it. It's just objects {}, arrays [], strings, numbers, booleans and null.
When your JSON is invalid, this tool points at the exact line and column of the first problem โ far faster than staring at a wall of text looking for the missing comma.
Trailing commas ([1,2,]), single quotes instead of double, unquoted keys, and comments โ all fine in JavaScript, all invalid in strict JSON.
Formatting adds indentation for humans; minifying strips every unneeded byte for machines. Same data either way โ minified JSON is typically 20โ40% smaller.
Sorting object keys alphabetically makes two JSON documents comparable line-by-line โ great before pasting into a diff tool or committing config to git.
Everything happens in your browser โ API responses, config files and payloads you paste here are never uploaded, logged or stored.