JSON Schema Validator

Validate JSON against a JSON Schema with JSON-pointer error paths.

JSON Schema
Data
paste a schema and data, then click Validate

Related Tools

Documentation

Spec

json-schema.org — the JSON Schema specification

Frequently Asked Questions

What is JSON Schema?

A JSON-based format for describing the shape, types, and constraints a JSON document must satisfy — required fields, value ranges, string patterns, and more.

What does "instancePath" mean in an error?

It's a JSON pointer to the exact location in your data that failed validation, e.g. /age points to the top-level age field.

What JSON Schema draft is supported?

The tool uses Ajv, which supports draft-07 and 2019-09/2020-12 schemas depending on the $schema keyword — omit it to default to the latest supported draft.

Why does it say the schema itself is invalid?

Ajv compiles the schema before validating data against it — a malformed schema (e.g. an unknown keyword in strict mode) fails at compile time with its own error.

Is my data uploaded anywhere?

No — both the schema and the data are validated entirely in your browser using Ajv.