JSONHint

Preparing your workspace…

JSON Schema Validator

Check JSON against supported schema keywords. Try a small API contract and understand the limits of this browser validator.

The interactive workspace loads with JavaScript. Instructions and limitations follow below.

Check an API contract

Use data {"id":42} with schema {"type":"object","required":["id"],"properties":{"id":{"type":"integer"}}}. Change 42 to "42" to test the difference between a number and a string.

What to check before using the result

This is a lightweight validator with a supported keyword subset, not a full conformance-certified JSON Schema implementation. Use a complete validator in production and test the keywords your contract requires.

Input privacy and troubleshooting

Tool input is processed in your browser. Optional URL imports, downloaded libraries and advertising may make network requests. Use non-sensitive samples on shared devices. If an operation fails, reduce the input to the smallest example that reproduces the issue and report the tool URL and expected result.

Read the related practical guide →