DEVELOPER TOOL · PRIVATE
JSON Validator Online
Validate JSON syntax and report parsing errors.
Check whether JSON text is syntactically valid before using it in an application or API. Paste the input, make the change, then read the result before you copy it elsewhere.
JSON requires double quotes around property names.
Ready — input is processed locally.
This utility runs on the current device for the supported workflow. Kaazo does not need the pasted input to calculate the result.
The useful scope of JSON Validator
Check whether JSON text is syntactically valid before using it in an application or API.
Valid JSON is stricter than JavaScript object syntax
Quoted property names, legal escape sequences and balanced arrays/objects matter. Comments, trailing commas or unquoted keys may look familiar in code but aren’t valid JSON.
A valid JSON document can still contain the wrong fields or values for your application. Syntax validation isn't schema validation.
validate request payloads
Use it when you need to validate request payloads; it also fits when you need to check configuration files. If the job asks for more than that, split the workflow rather than making one tool do two different things.
When JSON Validator isn’t the right endpoint
Use a JavaScript formatter when the input is JavaScript rather than JSON. Formatting can improve readability, but it can’t make semantically wrong data correct.
FAQ
What does JSON Validator actually do?
Check whether JSON text is syntactically valid before using it in an application or API.
What is the easy mistake to make here?
Quoted property names, legal escape sequences and balanced arrays/objects matter. Comments, trailing commas or unquoted keys may look familiar in code but aren’t valid JSON. A valid JSON document can still contain the wrong fields or values for your application. Syntax validation isn't schema validation.
Does formatted or converted output prove the data is valid for my application?
No. JSON Validator can perform the syntax or data operation described here, but your application can still impose its own schema, business rules, encoding or security requirements.
Related tools
After JSON Validator, validate the output before feeding it into another transform. The data-format guide has broader context if you need it.