JSON Formatter

Beautify and format messy JSON code into a readable, indented structure.

Loading JSON Formatter...

How to use

Paste minified or unformatted JSON. The tool will parse it and output neatly indented, human-readable JSON.

Example

Input
{"a":1,"b":2}
Output
{ "a": 1, "b": 2 }

Limitations

Input must be valid JSON. It cannot format incomplete or malformed JSON strings.

Frequently Asked Questions

Can it catch errors?

Yes, if the JSON is invalid, it will display a parsing error indicating where it failed.