JSON Schema Validator
Validate JSON data against a JSON Schema (draft-07, 2019-09, 2020-12). See all validation errors with paths. Runs entirely in your browser using ajv.
Frequently Asked Questions
What is JSON Schema?
JSON Schema is a vocabulary for annotating and validating JSON documents. It lets you define the expected structure, types, required fields, and constraints for a JSON document. It is widely used for API request/response validation and configuration file validation.
Which JSON Schema drafts are supported?
This tool uses ajv, which supports JSON Schema draft-07, 2019-09, and 2020-12. Specify the "$schema" key in your schema to target a specific draft.
What does the path in an error message mean?
The path (e.g. /users/0/email) shows exactly where in the JSON document the validation failed, using JSON Pointer notation. Each segment is a property name or array index.
Is my data private?
Yes — completely. Everything runs locally in your browser. Nothing is sent to any server, and nothing is retained after you close the tab.
Related Tools
JSONPath Tester
Test JSONPath expressions against JSON data. Paste your JSON, enter a path query, and see all matching values instantly. Uses jsonpath-plus. Runs in your browser.
JSON Diff
Compare two JSON documents and visualise the differences. Added, removed, and modified values are highlighted. Runs entirely in your browser — nothing is uploaded.
Validate JSON Files Online
Validate JSON file structure in your browser. Check null counts, distinct values, and data types for every column — no upload required.