Developer tool
Standalone tool pageJSON Formatter
Format, validate, and minify JSON locally in your browser.
Result
Status
—
—
How It Works
The tool parses your JSON with the browser JavaScript engine. Valid JSON can be formatted with indentation or minified into one line.
Example
A compact JSON object can become a readable multi-line object in format mode.
Frequently Asked Questions
Does this validate JSON?
Yes. It parses your JSON and shows an error message if the input is invalid.
Is my JSON sent to a server?
No. Formatting, validation, and minifying run locally in your browser.