JSON Schema Validator
Validate a JSON document against a JSON Schema, with each failure reported by the path that broke it.
- 100% Free
- No account required
- Runs in your browser
- No data is uploaded
Not saved automatically
Private to this browser, not a cloud backup. Saves expire 7 days after the last save. Avoid saving sensitive data on shared devices.
Input
Paste the json data and the json schema, then click “Run tool”.
JSON data
Ln 1, Col 1Spaces: 2UTF-8JSON26 bytes
JSON Schema
Ln 1, Col 1Spaces: 2UTF-8JSON108 bytes
Output
Validation result (read-only).
Read-only
JSONLn 1, Col 1Spaces: 2UTF-80 bytes
Using the JSON Schema Validator
Overview
Validate a JSON document against a JSON Schema, with each failure reported by the path that broke it.
Check payloads and config against a contract before they reach a service that enforces it.
How to use it
- Paste or type your JSON into Input, drop a file onto it, or press Example to load a sample.
- Press Run tool, or ⌘ ↵ from anywhere on the page.
- Read the result in Output, then copy or download it. The Result tab has size, line counts and next steps.
Input
Data and schema.
Output
Validation result.
- Drafts 4, 7, 2019-09 and 2020-12
- Every failure reported
- Path to each failure
- Reads the draft the schema declares
Tips
- Formatting a document also validates it: if it will not format, it will not parse.
- Minify for transport, format again when you need to read it.
- Keep inputs under about 2 MB so the tab stays responsive.
Keyboard shortcuts
- ⌘ ↵
- Run the tool
- ⌘ K
- Search every tool
- /
- Filter the sidebar