
JSON Minifier: What It Is & How to Minify JSON to Reduce File Size (Online + Code)
JSON Minifier: Complete Guide to Reducing JSON File Size for Faster APIs You’re building an API. Everything looks …
Read moreValidate JSON data against a JSON Schema (Draft-07 subset) and see every violation
Click Validate to check the JSON data against the schema.
Table of Contents
Paste or load your JSON document into JSON Data and your JSON Schema into JSON Schema, then click Validate. If the data doesn't already have a schema, generate one first with our JSON to JSON Schema tool, then edit it to add the constraints you actually want enforced.
type (including type arrays for nullable fields)properties, required, additionalProperties, patternProperties, minProperties, maxPropertiesitems (single schema or tuple), additionalItems, contains, minItems, maxItems, uniqueItemsminLength, maxLength, pattern, basic format checks (email, date, date-time, uri, uuid, ipv4)minimum, maximum, exclusiveMinimum, exclusiveMaximum, multipleOfenum, constallOf, anyOf, oneOf, notThis validator does not resolve $ref/$defs references, conditional if/then/else schemas, or remote schema fetching. It's built for self-contained schemas covering the keywords listed above — for full Draft 2020-12 spec compliance with references, use a dedicated library like ajv in your own codebase.
Our JSON to JSON Schema tools go one direction: JSON data in, a schema out, describing the shape of that one example. This validator goes the other way: you supply both a schema (however it was written) and a JSON document, and it tells you exactly where the document violates that schema — the check you'd actually run against new incoming data.
No. Both the JSON data and the schema are validated entirely in your browser using JavaScript — neither is sent to a server.

JSON Minifier: Complete Guide to Reducing JSON File Size for Faster APIs You’re building an API. Everything looks …
Read more
You’re staring at a deeply nested JSON response from an API. It’s got arrays inside objects inside arrays, a…
Read more
You’ve got JSON coming in from a third-party API, and it looks nothing like the shape your database, your frontend…
Read more