JSON Tools
Validator
Formatter
Diff
Merger
To CSV
To XML
To YAML
Schema
Editor
Stringify
JSON Validator
Validate
Clear
Sample
JSON Input
0 characters
1
Validation Result
Validation results will appear here...
Errors
0 errors
Validation Rules
Must comply with RFC 8259 JSON standard
All strings must be double-quoted
No trailing commas in objects/arrays
No comments or undefined values allowed
Supported types: string, number, object, array, boolean, null
Common Validation Errors
Error Type
Example
Solution
Syntax error
{'key': value}
Use double quotes
Malformed
{"nums": [1, 2, ]}
Remove trailing comma
Invalid value
{"flag": TRUE}
Use lowercase
true
Pro Tips
Validate before using in production code
Check for hidden characters from editors
Use our formatter to fix issues automatically
Pay special attention to API response validation