JSON Formatter

Format, beautify, and validate JSON data.

0 characters
0 characters

{"name":"John","settings":{"theme":"dark"}} — good luck reading that.

This adds indentation, validates syntax, and shows you where the errors are.

Common JSON Mistakes

ErrorProblem
{"a": 1,}Trailing comma
{'a': 1}Single quotes
{a: 1}Unquoted keys
// commentComments not allowed