JSONToonPro
Schema validator

JSON Schema Validator Online

Validate JSON against a JSON Schema (draft-07) or generate a schema from any JSON data. Paste your schema and data, see validation results instantly with paths for every error, and export schemas for use in your projects — entirely in your browser.

100% client sideDraft-07Schema generator
Input/ JSON
223 chars13 lines
Output/ JSON Schema
907 chars57 lines

How to validate JSON against a schema

Three steps
01

Generate or paste a schema

Use the JSON → Schema tab to auto-generate a draft-07 schema from your JSON, or paste an existing schema directly in the Validate tab.

02

Paste your JSON data

Enter the JSON you want to validate in the left panel of the Validate tab. The validator checks it against your schema instantly.

03

Review validation results

See a clear pass or detailed error list with paths like root.user.email so you know exactly what to fix.

Built for API and data validation

Validate API responses, config files, and form data against a schema before they reach your application — with detailed error paths to fix issues fast.

100% client side

Your JSON and schemas stay in the browser. No upload, no server, no logs.

Live validation

Validation results update instantly as you edit JSON data or schema.

Detailed errors

Each error includes the full path and a clear description of the violated constraint.

Schema generation

Auto-generate a draft-07 schema from any JSON with required and additionalProperties options.

Draft-07 subset

Supports type, required, properties, pattern, enum, minimum, maximum, items, and more.

Download schema

Export the generated schema as a schema.json file for use in your projects.

Frequently asked questions

7 answers
Switch to the Validate JSON tab. Paste your JSON data in the left panel and your JSON Schema in the right panel. Validation results appear instantly below, showing which constraints are met or violated.

JSON Schema Validation — Draft-07 Subset

This validator checks JSON data against a JSON Schema (draft-07) schema. Supported keywords include: type (including integer), required, properties, additionalProperties, items, minItems, maxItems, uniqueItems, minLength, maxLength, pattern, minimum, maximum, exclusiveMinimum, exclusiveMaximum, multipleOf, enum, and const. Errors include the full JSON path to the failing value so you can identify exactly which field violates which constraint. The schema generator produces a draft-07 schema from any JSON value including nested objects and arrays.

More JSON Tools