Make compact JSON easier to inspect with indentation, or minify formatted JSON. Parsing happens in the browser, so the tool can also identify malformed input before formatting it.
How to use this tool
For example, paste {"name":"Ari","active":true} and format it to inspect the object hierarchy. Minifying the same value removes display whitespace; it does not encrypt the data or make it smaller in every case.
- Paste a JSON document.
- Choose the available formatting or minification action.
- Review keys, numbers and nesting before copying the output.
How to interpret the result
The tool parses and reserializes JSON. Duplicate keys may be collapsed and very large integers may lose precision under JavaScript number rules. JSON does not allow comments, trailing commas or single-quoted strings. Keep the original when byte-for-byte preservation matters.
Frequently asked questions
Does it check an API schema?
No. A syntactically valid JSON document can still have missing fields or incorrect types for your API.