JSON Formatter & Validator
Format, minify and validate JSON, with the line and column of any error, sorted keys and a tree view.
How to use
- Paste JSON or open a .json file.
- Press Format, Minify or Sort keys; choose 2 spaces, 4 spaces or tabs.
- If the JSON is invalid, read the line and column and fix that spot.
- Copy the result or download it as a .json file. Switch to Tree to browse it.
Privacy
Runs in your browser. Nothing is uploaded.