JSON Schema Validator
Check a JSON document against a JSON Schema without leaving your browser. Paste your document and your schema, press Validate, and get a clear pass/fail result with every error shown as a JSON path. Supports a practical draft-07 subset of keywords.
Input
Result
Validation errors
| Path | Error | Keyword |
|---|
Supported keywords
This validator implements a practical JSON Schema draft-07 subset:
type— object, array, string, number, integer, boolean, nullproperties,required,additionalProperties— object keysitems— array element rulesenum— allowed valuesminimum,maximum— number rangesminLength,maxLength,pattern— string rules
Keywords outside this subset are ignored, so more complex schemas will not crash the tool.
How to use
- Paste your JSON document in the left box and your JSON Schema in the right box.
- Press Validate. A green result means the document passes; a red result lists every problem.
- Read the errors table: each row shows the JSON path of the problem, what went wrong, and which schema keyword failed.
- Use the Load Valid Example and Load Invalid Example buttons to see both outcomes instantly.
Frequently asked questions
It checks whether a JSON document follows the rules written in a JSON Schema — types, required fields, allowed values, number ranges, string lengths and patterns. It reports each failure with the exact JSON path, for example $.address.zip.
No. Validation runs fully in your browser using plain JavaScript. Nothing is sent to any server, so you can safely validate private or production data.
A practical draft-07 subset: type, properties, required, items, enum, minimum, maximum, minLength, maxLength, pattern, and additionalProperties. Keywords outside this list are ignored.
The tool checks JSON syntax first. If the document or the schema is not valid JSON, you get a clear message with the parser error instead of a validation result.
Yes. The Load Valid Example button fills in a user document and a schema that pass, and the Load Invalid Example button fills in a document that fails with several errors — a quick way to see how error paths look.