← Back to all browser tools
DEVELOPER TOOL / 95

Check the contract.
Before the request runs.

Validate a JSON value against a practical JSON Schema subset in your browser. See the exact paths that fail without sending fixtures or API payloads to a server.

How do I validate JSON against a schema? Paste your JSON and its JSON Schema; the tool reports every validation error locally.

JSON Schema validator

JSON data
JSON Schema

Supported keywords: type, required, properties, items, enum, minLength, maxLength, minimum, and maximum. This is a transparent local subset, not a full replacement for every JSON Schema draft or AJV.

How to validate JSON against a schema

  1. Paste the JSON document — and the JSON Schema to check it against.
  2. Validate — the failing path and rule are reported, not just “invalid”.
  3. Iterate — fix the data, or the schema if the contract was wrong.

Where schema validation pays off

Good to know

Syntax-valid JSON can still violate its schema — that is the whole point of checking both layers (see the JSON validator for syntax). This tool supports the common draft subset of JSON Schema described on the page; heavy conditional and remote-reference features belong in a full validator. Schema checks structure, types, and required fields — business rules still live in code.

Advertisement
QUICK ANSWERS
Is my data uploaded?

No. Both JSON documents are parsed and checked in this browser tab.

Does this support every JSON Schema feature?

No. The page deliberately lists its supported subset so you can tell when a full draft implementation is required.