100% Client-side · Your JSON never leaves your browser

Validate JSON Against a JSON Schema

Drop your JSON and your schema. We'll surface every violation with the exact path and reason. Supports Draft-07 essentials.

JSON Tools

Choose your method.

Beautify — pretty-print with 2-space indentation. Cmd+Enter to run
Input 0 chars
Output
Mode
Indent

Paste JSON and it updates live.
Or press Cmd+Enter.

FAQ

JSON Schema Validator — Frequently Asked Questions

Draft-07 support, $ref resolution, spec coverage and how we keep validation private.

What is a JSON Schema and why validate against one?
JSON Schema describes the shape of a JSON document — required keys, allowed types, value ranges, regex patterns. Validating against a schema catches contract drift between API producers and consumers, broken fixtures, and invalid configs before they hit production.
Which JSON Schema draft does this validator support?
We target the Draft-07 essentials most schemas in the wild rely on: type, required, properties, additionalProperties, items (including tuples), enum, const, minimum/maximum (and exclusive variants), minLength/maxLength, minItems/maxItems, uniqueItems, pattern, and format.
Does this JSON Schema validator handle $ref?
Local refs only. References like #/$defs/User or #/definitions/User resolve at validation time. External refs (URLs, other files) are not fetched — the validator silently skips them so a stray external $ref will not fail your check.
Is this JSON Schema validator fully spec-compliant?
No. This is a pragmatic subset for the 90% case — fast, dependency-free, and runs entirely in the browser. oneOf/anyOf/allOf/not, if/then/else, dependencies and patternProperties are not yet implemented. For full Draft 2020-12 conformance, use Ajv in your own pipeline.
Does my JSON or schema leave the browser?
Never. Validation runs entirely client-side. There are no servers, no logs of your data, and no behavioural analytics on your inputs — your JSON and schema stay in your tab.
How are violations reported?
Each violation includes the JSONPath of the offending value, the rule that failed, and the expected vs actual value. Click any error to jump to the line in the JSON editor — making this a practical JSON checker for fixing real-world data.