Validate JSON Against Schema
Validate a JSON document against a schema in your browser. Supported keywords are checked; the rest are listed as skipped, not passed.
What this validate json against schema does
The document and the schema are pasted in one box with the separator line between them. The page checks the supported subset — types with integer satisfying number, required keys, properties, enum, per-index items, numeric bounds and string lengths — and prints VALID or INVALID with one violation per line. Keywords outside the subset are listed as skipped rather than silently passed, so the report names its own ceiling instead of implying full-draft coverage.
How to use it
Validate JSON Against Schema: paste the document and schema into the box above, set Separator line (default "---SCHEMA---"), and press Run to get the validation report below.
Worked example
Input:
{"name": "Ada", "age": 36}
---SCHEMA---
{"type": "object", "required": ["name"], "properties": {"age": {"type": "integer", "minimum": 0}}, "patternProperties": {"^x-": {"type": "string"}}}
Output:
VALID
Skipped keywords: patternProperties
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads document and schema and returns validation report; reloading the page discards both.
The document and the schema are pasted in one box with the separator line between them. The page checks the supported subset — types with integer satisfying number, required keys, properties, enum, per-index items, numeric bounds and string lengths — and prints VALID or INVALID with one violation per line. Keywords outside the subset are listed as skipped rather than silently passed, so the report names its own ceiling instead of implying full-draft coverage.
Validate a JSON document against a schema in your browser. Supported keywords are checked; the rest are listed as skipped, not passed.
How to use it
Validate JSON Against Schema: paste the document and schema into the box above, set Separator line (default "---SCHEMA---"), and press Run to get the validation report below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads document and schema and returns validation report; reloading the page discards both.
What to Expect
Best for
- Converting document and schema to validation report when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
{"name": "Ada", "age": 36} ---SCHEMA--- {"type": "object", "required": ["name"], "properties": {"age": {"type": "integer", "minimum": 0}}, "patternProperties": {"^x-": {"type": "string"}}}
Sample output
VALID Skipped keywords: patternProperties
Frequently asked questions
How do I use the validate json against schema?
Validate JSON Against Schema: paste the document and schema into the box above, set Separator line (default "---SCHEMA---"), and press Run to get the validation report below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.