Skip to main content
Develop Tools

JSON Schema Validator

Validate JSON against Draft 2020-12 or Draft-07 schemas and inspect errors with JSON Pointers directly in your browser.

JSON Schema validation

Enter the JSON to validate and its JSON Schema in the two editors.

JSON Schema validation settings
Display settings

JSON to validate

Direct input
0 characters

JSON Schema

Direct input
0 characters

Enter JSON and a JSON Schema, or load the sample.

About this tool

Validate API requests, configuration files, stored data, and other JSON against a JSON Schema entirely in your browser.

Features

  • Draft 2020-12, Draft-07, and boolean schemas
  • Major type, required-property, string, number, array, and object constraints
  • allOf, anyOf, oneOf, not, and if/then/else
  • Local $ref and $defs, strict format validation, and error locations

How to use

  1. Enter the JSON on the left and the JSON Schema on the right.
  2. Choose the Schema specification, format mode, Schema self-validation, and error limit.
  3. Select Validate or press Ctrl/Command + Enter.
  4. Select an error to jump to the corresponding source location.

Limitations

Privacy: JSON, schemas, files, settings, and results are processed only in your browser and are never sent to or stored on Develop Tools servers.