JSON Formatter
Format and validate JSON. Paste minified JSON, get pretty-printed output.
Result
—
Related tools
How it works
- 1Paste any JSON string (minified or already formatted) into the input area.
- 2The tool parses the JSON and validates its structure.
- 3Valid JSON is reformatted with proper indentation and line breaks for readability.
- 4Invalid JSON displays an error with the parse position. Copy the formatted output when ready.
Example
Input: {"name":"Alice","age":30}
Output: {
"name": "Alice",
"age": 30
}