Developer
JSON Formatter & Validator
Pretty-print, minify and validate JSON.
Free forever.
How to format JSON
- Paste a JSON document into the editor.
- Format it with indentation, minify it onto one line, or sort object keys.
- Copy or download the result. If the document is invalid, the error stays on screen and the input is left unchanged.
Questions
Does this accept JavaScript object notation?
No. The tool uses the JSON parser, so keys must be in double quotes and trailing commas are rejected. That is the point of validation.
Is my JSON sent anywhere?
No. Parsing and formatting happen locally. Do not paste secrets into a shared screen, but the page itself does not transmit the text.
This runs entirely in your browser. Nothing you type is sent to a server.

