{ } 2DevKit
Tools / Data & JSON

JSON Schema Validator

Validate JSON data against a draft 2020-12 JSON Schema entirely in your browser, with detailed property errors and no remote input upload.

Validates JSON with a local JSON Schema 2020-12 engine, including internal #/$defs references. Remote references are not fetched.

Processing occurs locally in your browser. DTD and ENTITY declarations are rejected for safety. Everything runs locally in your browser.

What is JSON Schema Validator?

JSON Schema describes constraints for JSON data, including required properties, types, numeric limits, arrays and reusable internal definitions. This validator uses draft 2020-12 with detailed validation errors and local # references. Remote schema references are not downloaded, and this tool cannot guarantee that an API complies with requirements beyond the supplied schema.

How to use this tool

  1. Paste the JSON document and a JSON Schema draft 2020-12 definition.
  2. Click Validate to inspect required fields, types, formats and constraint errors.
  3. Review reported JSON property paths or copy the structured validation result.

Example

Schema: {"type":"object","required":["name"],"properties":{"name":{"type":"string"}}}

Related developer tools