← All JSON tools

Inspect tool

JSON Schema Validator

Validate JSON data against JSON Schema in your browser using AJV. Check required fields, types and constraints privately.

✓ Free to use✓ No signup✓ Runs locally
33 bytes · local only
Waiting
Processed entirely in this tab

Your input and result are not sent to JSON Hearth or stored on a server.

When to use it

What Schema Validator helps you do

Schema validation checks whether a JSON value follows an explicit contract, including field types, required properties and supported constraints.

1

Test API contracts

Validate request or response examples before integrating them into application code.

2

Check configuration files

Catch missing fields and invalid types before configuration reaches a runtime environment.

3

Develop a schema

Try valid and invalid fixtures while refining constraints and error messages.

Important limitations

What to check before using the result

Common questions

About Schema Validator

How is schema validation different from syntax validation?

Syntax validation checks whether text is JSON. Schema validation also checks the parsed value against declared rules.

Why can valid JSON fail a JSON Schema?

The document may parse correctly but still have missing properties, incorrect types or values outside schema constraints.