JSON Schema Validator
Check a JSON document against a JSON Schema and see every error, in your browser.
Runs in your browser. Nothing is uploaded — your input is processed on this device and discarded when you close the tab.
JSON Schema Validator
How to use this tool
- Paste the JSON document in the first box and its schema in the second.
- Click Run to see a pass message or a list of every error, each with its location.
- Load the sample to try a document that fails on purpose, then fix it and re-run.
Worked example
The sample document is {"name": "Ada", "age": -3} against a schema requiring age to be an integer of at least 0. The validator reports exactly one error: $.age: must be >= 0 — and name passes, so you know the rest of the document is fine.
What this tool does not do / Limits
This validator covers the commonly used JSON Schema keywords: type, required, properties, additionalProperties, items, min/max items and length, pattern, minimum/maximum, enum, const, allOf/anyOf/oneOf and simple formats (email, date, date-time). It does not fetch remote $ref targets, and it does not support if/then/else, patternProperties or contentEncoding. A pass here means the document matches this subset, not every possible dialect.
Frequently asked questions
Does a pass mean my document is valid everywhere?
It means it matches the schema under the keywords this tool checks, listed under Limits. If your schema relies on a keyword outside that list, check it separately.
Why do I get several errors for one bad value?
Each failed keyword is reported separately (for example a wrong type and a failed pattern), so you can fix everything in one pass instead of fixing one error at a time.
Related tools
JSON Studio
Format, validate, minify, query and compare JSON in your browser, with precise line-and-column errors.
LiveRegex Tester
Test patterns against sample text with match highlighting, capture groups and a safe one-second timeout.
LiveSecurity Header and DNS Checker
Check HSTS, CSP and other security headers, TLS details, and DNS/email authentication records (SPF, DKIM, DMARC).
Live