Paste minified or poorly formatted JSON and get back a properly indented, human-readable version. This tool also validates your JSON — syntax errors are shown with a clear error message rather than silently producing incorrect output. Useful for debugging API responses, reading config files, and cleaning up JSON from minifiers. Everything runs client-side with no data sent to any server.
Paste your JSON
Paste any JSON string into the left text area — minified single-line JSON, partially formatted JSON, or a JSON object copied from a browser developer tool.
Click Convert
The formatter parses your JSON with JSON.parse() and re-serializes it with 2-space indentation via JSON.stringify(). Validation errors are shown if the input is invalid.
Copy or download
Use the Copy button to copy the formatted JSON to clipboard, or Download to save as a .json file.
Fix errors and retry
If validation fails, the error message points to the problem. Common issues: trailing commas (not valid JSON), single quotes instead of double quotes, and unquoted property names.