JSON Formatter
Format, validate, minify and sort JSON, with precise error locations.
Loading tool…
Runs locally in your browser. Your files are never uploaded.
About this tool
Pretty-print or minify JSON and sort keys. When the JSON is invalid, it shows the exact line and column of the error.
How to use it
- Paste JSON or load a file.
- Format, minify or sort keys.
- Copy or download the result.