Data Processing · JSON & XML

JSON Schema Validator — process data locally.

Paste a JSON instance and a JSON Schema. Check data types, required fields, properties, constraints and combinators with readable errors.

Private data workspaceProcesses locally · up to 2 million characters per input
Ready

Note: Supports common type, required, properties, additionalProperties, items, enum, const, min/max, pattern, $defs local $ref, allOf, anyOf, oneOf and not. It is not a full JSON Schema 2020-12 implementation; external $ref, format assertions and advanced annotation features are unsupported.

How to use this tool

Process data in your browser

Paste your data or select a local UTF-8 file. Adjust the settings if available, then choose Validate JSON against schema. Copy the result or download the generated file. The input stays in your browser.

Supported behavior and limitations

Supports common type, required, properties, additionalProperties, items, enum, const, min/max, pattern, $defs local $ref, allOf, anyOf, oneOf and not. It is not a full JSON Schema 2020-12 implementation; external $ref, format assertions and advanced annotation features are unsupported.

Input is limited to 2 million characters per editor. If your file is larger, use a dedicated desktop data tool. This utility does not execute SQL or scripts embedded in your input.

Practical walkthrough

Catch a rule violation that valid JSON alone misses

An intake API requires a name and a non-negative integer age. The JSON is syntactically valid, but the data may still violate the rules.

JSON instance

{"name":"Mina","age":-1}

JSON Schema

{"type":"object","required":["name","age"],"properties":{"age":{"type":"integer","minimum":0},"name":{"type":"string"}}}

Expected behavior

The instance parses as JSON, but its age value is below the schema minimum of zero. The validator reports a violation on the age path.

Check before using the output

This utility supports a documented subset of JSON Schema. It does not resolve external references or implement all format assertions.

Next step: Check JSON syntax first.