Which JSON Schema drafts are supported?
Draft 7, Draft 2019-09, and Draft 2020-12 are supported. Choose the draft explicitly; if the schema declares a different one, validation stops with a mismatch error.
Validate JSON against Draft 7, 2019-09, or 2020-12 schemas. Review exact instance paths, schema keywords, source locations, and the parsed object without uploading data.
The selected draft is applied exactly. Validation does not add defaults, coerce values, remove properties, or contact remote schema URLs.
Internal $ref, $defs, definitions, anchors, and recursive schema structures are supported. Remote $ref URLs are blocked so validation stays in this browser tab.
The validation result will appear here
Run validation to see the matching draft, schema failures, exact JSON locations, and the parsed instance tree.
DecodeLens keeps validation non-mutating: defaults are not inserted, strings are not coerced to numbers, and unknown properties are not removed. Each diagnostic points back to its instance range and schema keyword.
Continue with tools that decode, convert, inspect, or verify the same data.
Format, minify, validate, and explore JSON in a collapsible Object View without uploading data.
Open toolRun JSONPath queries against JSON and inspect matched values with their paths.
Open toolConvert JSON and YAML in either direction, validate syntax, and inspect the result as a tree.
Open toolAnalyze HAR requests, failures, timing, transfer sizes, bodies, and sensitive fields; export a separate redacted copy.
Open toolPaste the payload and schema, select the matching draft, then run validation. Select a diagnostic to reveal the exact value in the JSON editor or browse the complete instance in Object View.
{ "id": 0, "email": "not-an-email" }$.id · minimum · line 1
$.email · format · line 1Draft 7, Draft 2019-09, and Draft 2020-12 are supported. Choose the draft explicitly; if the schema declares a different one, validation stops with a mismatch error.
No. DecodeLens does not add defaults, coerce types, or remove additional properties. It only reports whether the original instance matches the schema.
No. Internal fragment references work, but remote references are blocked to prevent network access and keep the result reproducible.