Data Tools

Validate JSON Against Draft-07 Schema

Validate JSON instances against JSON Schema Draft-07 in your browser with Ajv. Check required fields, types, and bounds, then review a clear validation result—useful for API debugging and sample verification.

JSONSchemaValidator

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Check whether a request body matches a schema
  • Verify documentation samples pass validation
  • Catch required-field and type issues before integration

How to use

  1. Paste the JSON Schema on the left
  2. Paste the JSON instance on the right
  3. Validate and review the result

Example input and output

Schema + data

{"type":"object","required":["id"]} + {"id":1}

Result

Valid

FAQ

Which schema draft is supported?

Draft-07, compiled and validated with Ajv loaded in the browser.

How is this different from JSON syntax validation?

Syntax checks only ask whether the text is valid JSON. This tool also checks structure, types, and constraints from the schema.

Tools

Related tools

Continue with another translated tool for a nearby task.

JSON Validator

JSON Validator and Syntax Checker

Available

Validate JSON syntax, locate parsing errors, inspect structure, and try safe repairs locally in your browser.

JSON Validator Debugging

JSON to Zod Schema

Generate Zod Schemas from JSON Samples

Available

Infer a Zod schema from sample JSON in your browser and emit TypeScript validation code. Nested objects and arrays are supported, with optional strict mode and z.infer type export—useful for API validation work.

JSON TypeScript Zod

JSON Formatter

JSON Formatter and Validator Online

Available

Format, minify, sort, and validate JSON in your browser. Parsing errors include location details, and your data never leaves the page.

JSON Formatter Developer