JSON formatter & validator
Pretty-print, minify, sort keys and pinpoint the error line.
Beautifies or minifies API responses and config files, and shows where invalid JSON breaks. Data never leaves your browser.
How does it work?
The input is parsed with the browser's JSON parser; errors are reported. Valid JSON is re-printed with the chosen indentation or minified.
No sign-up needed. Everything you enter is processed in your browser only; nothing is sent to our server or stored.