Skip to content
Calciyums

JSON Validator

Check whether your JSON is valid and see what's wrong if it isn't.

Developer

Input

Calculated in your browser; what you enter is never sent to a server.

Result

Result

Valid JSON ✓

Type
Object
Keys
3

How does it work?

The JSON Validator checks whether a piece of text is syntactically valid JSON. The text you paste is parsed with the browser's own JSON parser; if it's valid, you get its type (Object, Array, String, Number or Boolean) plus the key count for objects or the item count for arrays. If it's invalid, you get the exact first error message the browser found — which usually points at the character or position near the problem. Example: paste {"name":"Calciyums","tools":[1,2,3],"free":true} and press Validate, and the tool reports it's a valid Object with 3 keys (name, tools, free). Add an extra trailing comma before the closing brace (e.g. ...true,}) and the tool instead reports it's invalid and where the error is. Use this tool to check whether hand-editing an API response or a configuration file broke it, quickly confirm whether a JSON sample someone sent you is actually valid, or rule out basic syntax errors before testing a JSON schema. For a tidy layout, paste the same JSON into the JSON Formatter.

Example

JSON: {"name":"Calciyums","tools":[1,2,3],"free":true} → Result: Valid JSON ✓

Similar Tools

Toolbox Get your Toolbox ready.

Star the tools you use most and, with an account, they follow you to every device.

Create account

Frequently asked questions

Why is my JSON invalid?

The usual culprits are trailing commas, single quotes, unquoted keys, comments and missing brackets.

Is my data sent to a server?

No. The JSON is processed in your browser and never leaves your device.

What's the difference between Validate and Format?

Validate only tells you whether the JSON is valid and its type, without changing the output. Format does the same validity check but also produces a readable or minified output.

What does the key or item count in the result show?

If the JSON is an object, it shows the top-level key count; if it's an array, the top-level item count. Nested objects and arrays aren't counted separately.

Can I validate a very large JSON?

Yes, the box accepts up to 2,000,000 characters, which is enough for most API responses.

Does this check my JSON against a schema?

No, this tool only checks syntactic validity — whether brackets, quotes and commas are placed correctly. It doesn't check a JSON schema, such as whether specific fields exist or have the right type.