# Check JSON against a JSON Schema

> Paste a schema and some JSON. Each error shows where it is in the data and which rule it broke.

Validate JSON data against a JSON Schema (drafts 2020-12, 2019-09 and draft-07) and see each error with its exact spot. Runs in your browser.

- Tool: [JSON Schema validator](https://fixmint.cc/json-schema-validator)
- Category: [Web & developer](https://fixmint.cc/developer-tools)
- Fixes: Does my JSON fit this schema?
- Runs in the browser: files and text stay on the device, no sign-up, free.

## How to validate JSON against a JSON Schema

1. Paste the schema on the left and the JSON data on the right.
2. Read the list of errors. Each one names the data spot and the schema rule.
3. Click an error to jump to that spot in the data.

## Questions

### Which drafts are supported?

The draft comes from the $schema keyword. 2020-12 is the default when there is none, and 2019-09 and draft-07 are read with their own rules. Draft-04 and draft-06 schemas are read with draft-07 rules.

### What does “Check formats” do?

With it on, date-time, date, time, email, hostname, IPv4, IPv6, uri, uuid, regex and json-pointer values are checked. With it off, the format keyword is only a note, as the specification allows.

### Why does a $ref say “not fetched”?

This tool never downloads anything. A reference to another file or web address is skipped and reported, so the rest of the schema still runs. Put the referenced schema in the same document under $defs to check it.

### Is my schema or data sent anywhere?

No. Both stay in your browser tab, and nothing is stored between visits except the Check formats setting.

## Related tools

- [Compare JSON](https://fixmint.cc/compare-json): What changed in this JSON?
- [Format JSON](https://fixmint.cc/json-formatter): JSON won’t parse
- [CSV to JSON](https://fixmint.cc/csv-to-json): Need CSV as JSON, or back
- [OpenAPI request builder](https://fixmint.cc/openapi-request-builder): Build a call to this API
