Experiment

JSON Schema Validator

Paste a schema on the left and a JSON or YAML document on the right. Both are formatted as they land, every block folds, and errors sit on the line they belong to. Nothing leaves the browser.

Schema

Document

Hover a line to light its block · hovering the document also lights the matching subschema · click a triangle to fold · double-click to edit at that line · switching JSON and YAML converts the content

Validation

Result
·
Errors
0
Dialect
·

    Validation runs on Ajv with formats enabled. The dialect follows the schema's $schema: 2020-12, 2019-09, draft-07 and draft-06 are supported, and draft-07 is assumed when it is missing. Remote $refs are not fetched.