JSON Formatter
Pretty-print, minify, or validate JSON in your browser.
How to use
Invalid JSON shows a parse error with the message from the browser parser.
Examples
- Paste API responses, config files, or log output to format or validate.
Frequently asked questions
Does this change my data on a server?
No. Everything stays in your browser tab.
Can I minify JSON?
Yes. Choose Minify to remove whitespace and line breaks.
Do you store the numbers I enter?
Calculations run in your browser. Inputs are not sent to our servers.