JSON Schema Validator

Validate JSON against a documented Draft 07 keyword subset in your browser. Combinators and remote $ref are rejected, not ignored. Nothing is uploaded.

Last updated: October 2, 2026

Tool

This tool will load here.

What JSON Schema validation does

JSON Schema validation checks a JSON instance against a schema. This JSON Schema Validator evaluates a documented Draft 07 keyword subset: type, properties, required, additionalProperties, items, enum, const, length and numeric bounds, pattern, minItems, maxItems, uniqueItems, and local $ref under #/. It runs in the browser. Nothing is uploaded.

This is not a full JSON Schema implementation. Combinators such as allOf, anyOf, oneOf, not, if/then/else, patternProperties, tuple items arrays, and remote $ref are rejected with a named keyword. They are not silently ignored. Silent ignore would mark invalid data as valid.

Syntax-only checks belong on the JSON Validator. Schema checks whether a value matches a contract. Generate a starting schema on the JSON Schema Generator if you do not have one yet.

How to use

  1. Paste the JSON instance and the schema. Both must be JSON.
  2. Choose Validate. Example loads a small object and a matching schema.
  3. Copy output writes Valid or the error list. Clear empties all boxes.

Parse errors name the box. Schema errors use paths such as users[0].age. A missing required property is reported on the object path.

Example

A schema that requires id as a number and name as a string, with additionalProperties: false, accepts {"id":1,"name":"Ada"} and rejects an extra email or a string id.

Supported vs unsupported

Supported keywords are listed in the first section. Annotation keywords such as title, description, and $schema are ignored. Unsupported evaluation keywords abort validation so you do not get a false pass. Local $ref must point at a schema object in the same document; cycles are refused.

Type checks accept a string or an array of types, including ["string","null"]. integer matches finite whole numbers. additionalProperties may be true, false, or a nested schema for extra keys. items must be one schema, not a tuple list. pattern is a browser regular expression; invalid patterns fail the schema, not the instance.

Use this for the schemas this site can generate and for hand-written object/array contracts of the same shape. Do not paste a large vendor schema that is built from allOf and external $ref and expect a useful result. Take that file to Ajv or your language’s schema library.

A valid instance is reported as Valid. Failures list every problem found under the node budget. The instance is never executed. Strings that look like HTML stay strings. If you only needed to know whether the instance is legal JSON, you already have that answer from parse; do not treat a schema pass as a security review of the payload.

Empty input is not validated. A schema that is a JSON array is refused. Boolean schemas true and false follow the spec: true accepts any instance, false accepts none.

Limits

  • Not Ajv, not every JSON Schema draft, not OpenAPI exclusive.
  • format (email, uri) is not evaluated.
  • pattern uses the browser regular expression engine.
  • Traversal stops after 4000 nodes. Validation is then incomplete and the output is cleared.

Generate then edit first: how to generate and check a JSON Schema. Background: what JSON Schema is.

Privacy

Parse and validation run in this browser. Instance and schema are not sent to YallaSolve for this tool.

On this page

Related guides

Related solutions

Need another tool ?

Open the free tools — no signup.

FAQs

newsletter signup

Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Innovative Solutions For Modern Needs
Copyright © 2026 Yallasolve. all rights reserved.