Skip to content
Categories
JSON Validator
Validate whether JSON is correctly formatted.
Overview
- Checks whether the JSON you enter conforms to the standard JSON specification (RFC 8259).
- Unlike a formatter, the result is not formatted JSON but a validity verdict and, when invalid, the error details.
- Useful when you want to confirm that JSON data received from an external source is not broken, or when you need to pinpoint the cause of a syntax error.
Usage
- Enter the JSON you want to validate into the text area.
- Click the "Validate" button.
- If the syntax is correct, "Valid JSON." is displayed; otherwise, the error details are shown.
Example
Input
{"name": "Taro", "age": 20}Output
Valid JSON.
Use Cases
- Confirming that JSON data received from an external API or webhook is not broken before processing it
- Validating a manually edited configuration file (JSON format) before saving
- Checking JSON test data for syntax mistakes on the spot while authoring it
FAQ
Is the JSON I enter sent anywhere?
No. Validation happens entirely in your browser, and nothing is sent to an external server.
Can it tell me specifically what is wrong with my JSON?
Yes. It displays the error message returned by the browser's JSON parser, such as the details of the syntax error.
Does it support JSON5 or JSON with comments?
No. Only standard JSON syntax is supported. Comments or trailing commas will result in an error.
Notes
- The result only judges syntactic correctness. It does not check the meaning of values or whether required fields are present.
- JSONC and JSON5, which allow comments or trailing commas, are outside the standard JSON specification and will be reported as errors.
- Validating very large JSON data (several MB or more) may make browser processing slow.
Related Tools
Convert JSON into YAML format.
Convert a JSON array into CSV format.
Compare two JSON values regardless of key order and display the structural differences.