JSON Formatter & Validator
Paste JSON to pretty-print and validate it, or minify it down to one line.
Result
Frequently asked questions
Does this also validate my JSON?
Yes, if your JSON is invalid, the Format mode will show the parser's error message pointing at what's wrong, instead of silently failing.
What's the difference between Format and Minify?
Format pretty-prints your JSON with 2-space indentation for readability. Minify strips all unnecessary whitespace down to a single line, useful for reducing payload size or pasting into config files.
Is my JSON data sent anywhere?
No, parsing and formatting happen entirely in your browser using the standard JSON.parse/stringify APIs. Nothing is uploaded.