JSON Schema Validator
Free online JSON Schema validator. Check any JSON document against a draft-07 or 2020-12 schema and get instant errors with path, keyword and message — powered by Ajv, entirely in your browser.
How to Use JSON Schema Validator
This tool checks whether a JSON document conforms to a JSON Schema. It bundles both Ajv draft-07 and Ajv 2020-12 validators, so you can pick the draft version your schema targets. The left pane holds your JSON instance, the right pane your schema, and validation runs automatically with a short debounce as you type. Results appear as a green valid badge or a detailed error list with the path into your data, the failed keyword and the original Ajv message. Everything runs locally in your browser — nothing is uploaded.
- Paste your JSON data into the left textarea, or press its Example or Load file button to fill it.
- Paste your JSON Schema into the right textarea, or use its Example / Load file buttons.
- Pick the schema draft from the dropdown: Draft-07 (the most widespread) or Draft 2020-12.
- Wait a moment — validation runs automatically about 300 ms after you stop typing and re-runs on every edit.
- Read the result: a green Valid banner means the instance conforms; otherwise each error shows the path (like /tags/0), the keyword (required, type, minimum…) and the original Ajv message.
- Clear wipes both panes and the saved state; your inputs are kept in this browser's local storage between visits.
The required keyword reports the error on the parent object, so the path shown is the object that is missing a property, not the property itself. A schema's own $schema and $id keys are ignored — the version is controlled only by the Draft dropdown. Switch drafts to compare how a legacy draft-07 schema behaves under 2020-12.
Related Tools
- JSON Validator Validate JSON syntax instantly with detailed error messages and line numbers. Free online tool that runs 100% in your browser.
- JSON Prettify Format and beautify JSON with customizable indentation. Instantly prettify compressed JSON online in your browser.
- JSON to TypeScript Instantly convert JSON to TypeScript interfaces and type definitions. Supports nested objects, arrays, and union types.
- Chmod Calculator Free online chmod calculator to visualize and calculate Linux file permissions with checkboxes. Instantly convert between numeric (755, 644) and symbolic notation (rwxr-xr-x). Supports special permissions like setuid, setgid, sticky bit.
- ASCII Table Complete ASCII character encoding reference with decimal, hexadecimal, octal, binary codes, HTML entities, and character descriptions. Search and filter instantly.
- HTTP Request Tester Test REST APIs directly in your browser. Send GET, POST, PUT, DELETE requests with custom headers, body, and query parameters. View response status, headers, and JSON body instantly.
- .htaccess Generator Generate Apache .htaccess rules for redirects, rewrites, security headers, caching, compression, and more.
- Robots.txt Generator Free online robots.txt generator. Create and customize robots.txt files to control search engine crawling, manage crawler access, and optimize your site's SEO with an easy visual editor.