JSON Formatter
Free online JSON formatter and beautifier. Format, indent, and pretty-print your JSON data with syntax highlighting.
Valid JSON
How It Works
- 1
Paste your raw JSON into the input area.
- 2
The formatter pretty-prints it with proper indentation.
- 3
Copy the formatted output or download it.
Formula
JSON.parse() then JSON.stringify(obj, null, indent)Examples
Minified to formatted
{"name":"John","age":30} becomes properly indented JSON.