Make a compact JSON response readable, check its syntax and preserve its meaning. Open JSON Formatter to follow the example.
Work with a small, safe sample
Copy a sample response without API keys or customer data. Paste it into the formatter and select Process. The example in the screenshot contains a project name and an array called checks. Indentation makes it easy to see which result belongs to each check.
Read the shape before changing values
Curly braces enclose an object. Square brackets enclose an array. A name such as passed should be followed by a colon and its value. The Boolean false and the string consisting of the letters false have different meanings. Keep the quotes exactly where the receiving system expects them.

Fix one syntax problem at a time
If parsing fails, look near the reported position. Common mistakes include a trailing comma after the last item, an unquoted property name, or a missing closing bracket. For example, remove the comma after the last property in {"name":"Toolise",} and try again.
Validate against the receiving system
A parseable response can still contain a missing field or a value of the wrong type. Check the result against the API’s documented fields or schema before using it. Keep the original when exact numeric text matters, since JavaScript can lose precision on very large integers.
Debug the smallest response that reproduces the error
Imagine an integration returns a list of checks with one unexpected result. Start with a copy that contains only the relevant objects. Replace keys, identifiers and customer information with invented values while keeping the original field types. Paste the reduced sample into Toolise JSON Formatter and format it. Nested arrays become easier to scan, so you can see whether a field belongs to the response or to a single item.
Separate syntax errors from data errors
- If the formatter reports a syntax error, inspect the preceding separator or opening bracket. A missing comma between two properties often gets reported when the parser reaches the next property name.
- If parsing succeeds, compare the value types with the receiving system.
{"passed":false}contains a Boolean.{"passed":"false"}contains a string, which can behave differently in a filter. - Check how missing fields are represented. An absent property, a property set to
null, and an empty string each carry different information. - Retest against the real integration using authorized data in its own environment.
Recognize when formatting changes what you can inspect
Standard JavaScript parsing can silently keep only the last value of a repeated object key. If duplicate keys are suspected, inspect the original response or use a checker that explicitly detects them. Large numeric identifiers can also lose precision when parsed. If the contract allows it, send identifiers as strings so every digit can be preserved.
If the input starts with an HTML tag, inspect the HTTP status and response content type before editing anything. An expired login or a server error may return an HTML page where the application expected JSON. Fixing that response is more useful than trying to format it.