JSON Schema Validator
Free JSON schema validator: check a JSON document against a schema and see which property broke which rule. Runs in your browser.
JSON Schema
Stays in your browserJSON Document
Stays in your browserShortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)
Online JSON Schema Validator
Validate a JSON document against a JSON Schema and see exactly which property fails and why. Both inputs stay in your browser — nothing is uploaded. For plain syntax errors use the JSON Parser & Validator; to reformat a document use the JSON Formatter & Beautifier. This JSON schema validator checks a response against a schema without sending it to a server. It helps API developers, QA engineers, and frontend teams confirm that a JSON response follows a documented data contract.
What this validator checks and who uses it
JSON Schema Validator compares a JSON document against a JSON Schema — a separate JSON document describing which properties are required, what type each value should be, and constraints like a minimum number or string length. Two concrete situations: an API team confirming a webhook payload still matches its documented contract after a provider changes their response shape, and a backend developer checking a config file against its schema before deploying it, so a missing or mistyped field is caught locally instead of failing at runtime.
Worked example
With a schema requiring an object with a string name and a number age (minimum 18, both required), validating the document {"name": "Ada", "age": 15} reports exactly one error: $.age: must be at least 18. name passes because it's present and a string; only the age constraint fails, and the path tells you precisely which field to fix instead of comparing the whole document by eye.
Common mistakes and edge cases
- Confusing "required" with "not empty" — required only checks that the key exists. A required string set to
""or a required number set to0still passes unless you also add aminLength,minimum, orpatternconstraint. - The checker follows the draft named in
$schema(2020-12 when there is none). Pick a draft in the list to override it. A$refto a web address is not loaded; copy that schema into$defs. - If the schema and document are in the wrong panels, a hint says so when the document looks like a schema and the schema does not.