JSON Formatter, Validator & Viewer
Paste JSON to pretty-print it, minify it, or read it as a tree. If it will not parse, you get the line and column of the problem rather than just "unexpected token".
JSON input
Output
Paste JSON above to format it.
What this does
- Pretty-print with your choice of indent
- Validation with the exact line and column
- Collapsible tree view for large responses
- Nothing is uploaded — the parsing happens on this page
Looking for an API to try it against? Browse APIs that need no key — you can call those straight from this page.