JSON Toolkit
Validate JSON
AJV schema validation
Schemas use JSON Schema (draft-07 compatible) validated in the browser with Ajv. Paste your instance and schema; the error list below is scrollable and updates as you edit.
1 Error
Common Schema Examples
JSON Data
Valid JSON
Loading...
JSON Schema
Valid JSON
Loading...
How this tool works
Your instance JSON and schema JSON are both parsed in the browser. Ajv compiles the schema and validates the instance; results and paths update as you type. The Errors tab shows instancePath, message, and schema keyword when available.
Tips
- Start from Common Schema Examples to see working schema/instance pairs.
- Invalid JSON on either side surfaces as parse errors—fix syntax before interpreting validation failures.
- Schema
$refand remote resolution depend on what Ajv is configured with in this build. - Validation is client-only; do not rely on it as the sole gate for production security.