The Util Box

JSON Schema Validator

Free online json schema validator for developers. Validate JSON against JSON Schema. Fast and private.

Embed this tool

Copy and paste the code below into your website to embed this tool for free. An attribution link to The Util Box is required.

<iframe src="https://www.theutilbox.org/embed/json-schema-validator" width="600" height="500" frameborder="0" style="border: none; max-width: 100%;" title="Free JSON Schema Validator tool from The Util Box"></iframe>
<!-- Free tool by The Util Box — https://www.theutilbox.org/tools/json-schema-validator -->
<a href="https://www.theutilbox.org/tools/json-schema-validator">JSON Schema Validator by The Util Box</a>

Frequently Asked Questions about JSON Schema Validator

JSON Schema Validator — Validate Against a JSON Schema

This JSON Schema validator checks your JSON data against a provided JSON Schema and reports whether it passes or fails, with a detailed list of every validation error. JSON Schema is the standard way to describe what valid JSON looks like — specifying required fields, types, allowed values, nested objects, arrays, and pattern constraints. The tool runs entirely in your browser with no data transmission.

Paste the document into JSON Data and the schema into JSON Schema. Both are parsed first, so invalid JSON in either box is reported as such. When everything passes the panel shows ✓ Valid; otherwise it lists every failure it found, one per line, and can be copied in one click.

Keywords It Checks

  • type — string, number, integer, boolean, array and object are all enforced
  • required — reports each missing required property by name
  • properties — validates nested objects recursively
  • items — validates every element of an array
  • enum — checks the value is one of the permitted options
  • minimum / maximum — numeric bounds
  • minLength / maxLength — string length bounds
  • pattern — validates a string against a regular expression

Each failure is reported with the JSON path to the offending value and a description such as $.age: expected number, got string or $: missing required field 'name'.

The checks are a focused subset of the full specification: composite keywords such as anyOf, oneOf, allOf, $ref, additionalProperties and format are not evaluated. For schemas that rely on those, treat a pass here as a first line of defence rather than a complete conformance check.

Common Use Cases

  • Checking an API request body — confirm a payload has the required fields and types before sending it.
  • Reviewing configuration files — make sure a config document still satisfies its published schema.
  • Testing fixtures — catch a fixture that has drifted out of shape before it reaches a test run.

Related JSON Tools