Data Formatters & Converters Processed locally

JSON Schema Validator

Validate a JSON instance against a JSON Schema with Ajv (Draft-07 / 2019-09 / 2020-12, plus OpenAPI modes) — humanized errors, schema lint, coverage, and generated negative cases. Runs in your browser.

Inputs
Advanced options

Auto-validates as you type. Ctrl+Enter to re-run. Document A is the instance; Document B is the schema.

Need a schema from a sample? Use the Schema Inspector. Need example data that satisfies a schema? Use the Synthetic Data Generator.

How to use the JSON Schema Validator

Validate any JSON payload — an API response, webhook body, fixture, config file, or OpenAPI component example — against a JSON Schema (Draft-07, 2019-09, or 2020-12). Powered by Ajv in the browser, the validator reports precise JSON Pointer error paths, supports $ref resolution, and can infer a starter schema from a sample with the companion Schema Inspector. Use it to test API contracts, confirm fixtures, and harden CI validation.

What it does

When to use it

How to use it

  1. Paste your JSON payload on the left and the JSON Schema on the right.
  2. Pick the schema draft (or leave it on auto-detect via $schema).
  3. Validation runs automatically — passing payloads show a success indicator; failures list each error with the JSON Pointer path.
  4. Don't have a schema yet? Use the Schema Inspector to generate a starter draft from your sample, then edit and tighten.
  5. Copy the report to a ticket, or copy the schema once you're satisfied.
  6. Send the validated payload to JSONPath Tester for query checks, or use the Schema Inspector to explore structure.

Tips & pitfalls

FAQ

Related tools

Use-case guides

Runs locally in your browser. Powered by Ajv. No uploads. No analytics on pasted JSON.

Common tasks solved by this tool

Continue in a JSON/API workflow

Chain this into related tools, or build it as a saved workflow in Workflows.

  1. Format or inspect JSON
  2. Compare two JSON documents
  3. Generate and apply a JSON Patch
  4. Validate the result against a schema — this tool

Part of the JSON and API contract toolkit

Validate schemas, compare JSON responses, generate JSON Patch operations and debug API contract examples with related privacy-first tools.