JSON Formatter & Validator
Pretty-print, minify and validate JSON with helpful error messages.
How it works
Paste minified or messy JSON, then pretty-print to add indentation and line breaks, or minify to shrink it for APIs and logs. Invalid JSON shows a clear parse error so you can fix syntax quickly.
Example: minified {"a":1,"b":[2]} becomes neatly indented, multi-line JSON.
Indent
Input
Output