JSON Formatter
Format, minify and validate JSON. If it is broken, it tells you where.
Runs in your browser. Nothing you type is sent anywhere.
Format, minify and validate JSON. If it is broken, it tells you where.
Runs in your browser. Nothing you type is sent anywhere.
JSON Formatter makes JSON readable with consistent indentation, or minifies it onto one line. If the JSON is invalid, it says what is wrong and where, so you can fix it.
{"tool":"json-formatter","free":true} becomes a neatly indented block with one key per line. Minify turns it back into a single line.
Common causes are trailing commas, single quotes instead of double quotes, and unquoted keys. The error message shows the position.
No. Only whitespace changes; values and key order stay the same.
It runs in your browser and nothing is sent anywhere.