JSON Schema Validator
Validate a document against a schema you paste in.
Loading tool…
About this tool
Checks a document against a JSON Schema and reports each violation with the location that failed and the keyword that rejected it. The schema is interpreted rather than compiled to JavaScript, so nothing is evaluated and it works under a strict content security policy.
Limitations
- Remote $ref targets are not fetched. Local mode means local mode.
- Supports drafts 4, 7, 2019-09 and 2020-12 via an interpreting validator.
Questions
- Can it resolve remote $ref values?
- No. References to http or https URLs cannot be fetched, because nothing here makes network requests. Inline the referenced subschema to validate it.
- Which draft is supported?
- Modern drafts including 2020-12. A schema written for draft-04 may behave differently, particularly around how required and exclusiveMinimum are expressed.
Privacy
This page does its work in your browser. What you paste is processed by JavaScript running on your own device and is never sent to a DevToolery server — there is no server that could receive it. The page itself is a static file delivered by a CDN. See exactly what is stored.