JSON utility
JSON Validator
Check JSON syntax and see clear parsing errors.
● This tool runs entirely in your browser. Your input is never uploaded to our servers.
Output
Your result will appear here…
How to use JSON Validator
- Paste the complete JSON value.
- Select Validate and read the success or error message.
- Validate required fields separately against your application's schema.
Example
Input / settings:
{"enabled":true,"retries":3}Output:
Valid JSON ✓
When to use
- Find syntax errors in configuration.
- Check copied request bodies.
- Distinguish a parsing failure from an API validation failure.
Overview
This validator checks whether input can be parsed as JSON. Syntax validity and application validity are different: a valid JSON value can still have missing fields or incorrect field types for your API.
Common mistakes
- Unquoted property names belong to JavaScript object syntax.
- NaN and undefined are not JSON values.
- A comma cannot follow the last element in an array.
Practical tips
- Test the complete payload, including brackets around arrays.
- Duplicate object keys can parse successfully; avoid them because earlier values may be overwritten.
Privacy and security
This tool runs entirely in your browser. Your input is never uploaded to our servers. Validation is local and does not submit the document to a schema service.
Frequently asked questions
Does success mean my API will accept it?
No. Only JSON syntax is checked, not required fields, business rules, or JSON Schema.
Can a top-level string or number be valid?
Yes. JSON values need not be objects or arrays.
Why is an empty input invalid?
An empty string contains no JSON value. Use null only when that value is intended.