RealJSON
Try now

JSON Schema Validator

Validate JSON data against a JSON Schema and see every error with its path.

JSON Schema

JSON data

Result

Paste a schema and some JSON to validate.

In short: A JSON Schema validator checks that a JSON document has the structure and values your schema demands. Paste the schema and the data, and RealJSON lists every violation — missing required keys, wrong types, out-of-range numbers, bad formats — each with the JSON pointer to the exact value.

Validate JSON Against a Schema

Syntax validation only tells you that JSON parses. Schema validation tells you that it is correct: that age is an integer of at least 18, that email looks like an email, and that no unexpected keys sneak in.

Use it to debug API request bodies, config files and webhook payloads against the contract you are expected to follow — privately, since nothing leaves your browser.

What Gets Checked

Types and values

type, enum, const, numeric ranges (minimum, exclusiveMaximum, multipleOf), string length, pattern and format (date, date-time, email, uuid, uri, ipv4, hostname).

Objects and arrays

required, properties, additionalProperties, patternProperties, items, prefixItems, contains, uniqueItems and size limits.

Composition and references

allOf, anyOf, oneOf, not, if/then/else and local $ref to $defs.

Frequently Asked Questions

How do I validate JSON against a JSON Schema?

Paste your schema on the left and your JSON data on the right. RealJSON checks every keyword and lists each violation with the JSON pointer of the failing value, such as /address/zip.

Which JSON Schema keywords are supported?

type, enum, const, properties, required, additionalProperties, patternProperties, items/prefixItems, contains, min/max for numbers, strings, arrays and objects, pattern, format, uniqueItems, allOf, anyOf, oneOf, not, if/then/else, dependentRequired and local $ref references (including $defs).

Can it fetch remote $ref schemas?

No. Only local references such as #/$defs/address are resolved, because the tool never makes network requests. Inline remote definitions into $defs to validate against them.

How is this different from the JSON Validator?

The JSON Validator checks that text is syntactically valid JSON. The JSON Schema Validator checks that valid JSON also has the right structure and values.

Is my data sent to a server?

No. Validation runs in your browser; neither the schema nor the data is uploaded.

Related Tools

JSON to JSON Schema · JSON Validator · JSONPath Query · JSON Diff

Browse all free JSON tools →

Related tools