JSON is the format most web APIs, config files and apps use to exchange data. A single missing comma or stray quote makes a whole file invalid, and the error messages that tools give are often hard to read.
Paste or upload JSON and this tool checks it right away. If it is valid you can format it with 2 spaces, 4 spaces or tabs, minify it, sort the keys, browse it as a collapsible tree, copy it or download it. If it is not valid, you see the line and column of the first problem, a plain explanation and hints for common mistakes. Everything runs in your browser.
Paste or upload your JSON. The tool checks it as you type and tells you whether it is valid. If it is not, it shows the line and column of the first problem and explains what is wrong.
Trailing commas, single quotes instead of double quotes, property names without quotes, comments, and missing commas between items. JSON also does not allow values such as undefined, NaN, True, False or None.
Formatting adds line breaks and indentation so JSON is easy to read. Minifying removes all the extra whitespace so the file is as small as possible. The data stays the same.
No. It only changes the order of the properties inside each object, which makes two files easier to compare. Arrays keep their order.
No. Everything runs in your browser and nothing leaves your device.
Yes. Numbers and strings are copied as written, so long IDs and high-precision decimals are not rounded the way JavaScript would round them.