How to use the JSON Formatter & Validator
- 1
Paste JSON or open a .json file.
- 2
Choose indentation, then Format, Minify or Sort keys.
- 3
Browse the tree, then copy or download.
Precise error messages
When JSON is invalid the formatter points to the line and column of the problem and explains common causes such as trailing commas, single quotes and unquoted keys.
Frequently asked questions
Is my data sent to a server?
No. Everything runs in your browser as you type. Nothing is uploaded or logged, so it is safe to paste API responses, tokens and private text.