Format & check JSON

Make JSON readable and find formatting errors.

Good to know

How do I make JSON readable?

Paste valid JSON and choose the indentation. The formatted result updates beside your input.

Will formatting repair invalid JSON?

No. Fix the syntax error shown below the input first, such as a missing quote, comma or bracket.

Does formatting preserve every original detail?

It parses and writes the JSON again. Duplicate object keys and numbers beyond JavaScript’s safe precision may change, so keep the original when those details matter.