Menu
PDF Tools
Image Tools
Converters & Utilities
Seller & Print Tools
Accounting & Business
Calculators
Text & Writing Tools
Developer & Web Tools
Creator & Social Tools
Browser Utilities & Games
Document & Design Makers
Text & Developer Tools
Exam & Form Tools

JSON Schema Validator

This tool validates JSON data against a JSON Schema. It lists each problem with its path, such as a wrong type, a missing key or a value out of range.

How to use JSON Schema Validator online

  1. Paste the data. In the first box.
  2. Paste the schema. In the second box.
  3. Read the answer. See Yes or No and the problems.
  4. Fix and retry. Change the data or the schema.

Why use this free JSON Schema Validator

  • Path for each problem
  • Common keywords supported
  • anyOf, oneOf and allOf
  • Local references
  • Names which text is invalid
  • Share by link

What a schema is

A JSON Schema is a JSON document that describes what other JSON should look like: which keys are needed, what type each value has, which ranges and patterns are allowed. APIs and configuration files use schemas to check data before they use it. A schema turns a vague expectation into a check that anyone can run.

How to use the page

Paste your data in the first box and the schema in the second. The tool reports whether the data is valid and, if not, lists each problem with the path to the value, such as $.age, and what is wrong. Both texts must be valid JSON, and the tool names which one is not if there is a syntax error.

A worked example

The data has a name, an age of -3 and an email without an at sign. The schema asks for a name and an age, an integer age of at least 0, and an email in email form. The tool finds 2 problems: the age must be at least 0, and the email must be an email address. Fix them and the answer turns to Yes.

Supported keywords

The tool supports the common keywords: type, enum, const, required, properties, additionalProperties, items, minimum, maximum, exclusive limits, multipleOf, minLength, maxLength, pattern, format email, minItems, maxItems, uniqueItems, allOf, anyOf, oneOf, not, and references that start with #. Other keywords are ignored, so a rule outside this list is not checked.

Limits

Schema drafts differ in small details, and full validators support more formats and remote references. This tool is for quick checks while you write a schema or a sample. Results are shown for up to 200 problems. For a production check, use a full validator in your own code, and use this to understand why data fails.

Using the tool

Change the text or any option of the JSON Schema Validator and the answer moves straight away. Undo and redo step back through your earlier text.

JSON Schema Validator: frequently asked questions

What is JSON Schema?
A JSON document that describes the shape that other JSON must have.
Which keywords are supported?
The common ones, such as type, required, properties, items and limits.
What does the path mean?
It points to the value: $ is the top, then dots and brackets.
Does it fetch remote references?
No. Only references inside the schema are followed.
What if my schema is invalid JSON?
The tool says the schema is not valid JSON.
Does the JSON Schema Validator keep a copy of my text?
The JSON Schema Validator works locally, and clearing the site data removes anything the editor saved.
Can I save what the JSON Schema Validator gives me?
Yes. Copy the JSON Schema Validator result, or press Use result as input and carry on with the new text.

Related searches for JSON Schema Validator

  • JSON Schema Validator online
  • free JSON Schema Validator
  • JSON Schema Validator online free
  • JSON Schema Validator for mobile
  • JSON Schema Validator without sign up
  • JSON Schema Validator – Text & Writing Tools

JSON Schema Validator is a free online tool on MAITBOX, in the Text & Writing Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.

More tools in Text & Writing Tools →

Search tools