JSON Validator
Validate and format any JSON string and see detailed error messages.
JSON syntax checker
Validate JSON and inspect errors
Paste JSON on the left and review validation status, parser details, hints, and formatted preview on the right.
Paste API responses, webhook payloads, logs, or config JSON.
Valid JSON. No syntax errors found.
Validation status
Valid JSON
JSON is parsed as data only and is never executed.
Formatted preview
Preview appears only when JSON is valid.
Primary status
Valid JSON
Valid JSON. No syntax errors found.
Error location
None
Estimated from parser position where available.
Input size
131
Characters in the input.
Line count
1
Lines in the input editor.
Object count
2
Detected after successful parsing.
Array count
1
Detected after successful parsing.
Key count
7
Object keys detected after parsing.
Validation mode
Standard JSON
Syntax validation, not JSON Schema validation.
Copy formatted JSON
Copy readable JSON after successful validation.
Copy minified JSON
Copy compact JSON for transport, storage, or embedding.
Privacy note
Validation is designed to run locally in your browser without storing user input.
Accuracy note
This validates standard JSON syntax, not business rules or JSON Schema.
Security note
JSON is parsed as data only and is never executed with eval or Function.
Reset examples
Load a valid or invalid example to test validation behaviour.
Validation options
Compact controls for validation workflow and formatted preview.
Strict JSON mode
This validator checks standard JSON syntax. Comments, trailing commas, single quotes, and unquoted property names are not valid standard JSON.
Related tools