Processed locally

JSON Schema Validator Online

Validate JSON against JSON Schema draft-07, 2019-09, or 2020-12 with detailed paths, standards errors, local history, and fix context.

What this tool does

JSON Schema Validator checks JSON data against a supplied schema using the selected schema draft. It reports keyword failures with detailed instance and schema paths so invalid values can be located quickly.

How to use

Follow the core workflow below. Use “Show in tool” to locate the real control in the live tool above.

  1. Add the schema and JSON data

    Put the validation rules in JSON Schema and the document you want to check in JSON Data. Both editors must contain valid JSON before schema validation can run.

    JSON SchemaJSON Data
  2. Confirm which schema draft is being used

    Check the Draft badge before validating. The tool detects the draft from the schema’s $schema value; if no supported draft is declared, the current build uses 2020-12 as the default.

    Draft: …
  3. Run validation

    Use Validate to compare JSON Data with the JSON Schema. The tool reports whether the instance is valid and lists standards errors when a rule fails.

    Validate
  4. Follow the error path

    Read Validation Results when validation fails. Select an error to jump back to the relevant JSON data location, then correct the mismatch and validate again.

    Validation ResultsStandards validation
Success

You now know whether the JSON satisfies the schema and, when it does not, which rule and path need attention.

Copy errorsCopy validation reportCopy Fix Context

Examples

Validate an API fixture

Check required properties, value types, formats, and nested object constraints before a fixture enters a test suite.

Debug a nested payload

Follow the instance path from an error directly to the object or array item that violates the schema.

Common errors

  • The data or schema editor contains invalid JSON before schema validation can begin.
  • The selected draft does not match the vocabulary used by the schema.
  • A schema is valid JSON but structurally invalid or references an unavailable external resource.

AI workflow

Copy the failing instance path, schema keyword, expected constraint, and a minimal redacted data example. This gives a coding agent enough evidence to propose a fix without the full payload.

Learn with this tool

Understand the concept, inspect a testable example, then open it in the tool above.

JSON & SchemaJSON Schema ArraysJSON & SchemaJSON Schema Pattern

Frequently asked questions about JSON Schema Validator