JSON Formatter
Paste minified or slightly broken JSON and get clean, indented, readable output — with automatic repair for common syntax mistakes.
Invalid JSON is auto-repaired when possible (missing ], trailing commas, etc.) then formatted.
Overview
Paste minified or slightly broken JSON and get clean, indented, readable output — with automatic repair for common syntax mistakes.
Benefits
- Auto-repairs trailing commas and missing brackets
- Instant, readable indentation
- Runs locally, safe for private data
- No account or install required
Use Cases
- Debugging malformed API responses
- Reading minified config files
- Cleaning up JSON pasted from logs
- Preparing JSON for documentation
Users Also Use
How to Use
- Paste your JSON in the input area.
- Click Repair & Format to fix common errors and prettify with indentation.
- Copy the formatted output.
FAQ
- Does it fix invalid JSON?
- Yes. The tool auto-repairs common issues such as missing closing brackets, trailing commas, and unclosed arrays before formatting.
- Is my JSON sent to a server?
- No. Formatting and repair both run locally in your browser, which makes it safe for private API keys or internal data.
- Can it minify JSON as well as beautify it?
- The main focus is beautifying and repairing minified or broken JSON into readable, indented output for debugging.
About JSON Formatter
Beautify minified API responses and config files with our free JSON Formatter. The built-in auto-repair handles the small syntax mistakes — trailing commas, missing brackets — that normally break a strict JSON parser.