JSON tools

JSON Schema Generator & Validator

Create a practical schema from sample JSON, or validate data against a schema with paths, rules and actual values.

Input JSON

All data is processed locally in your browser. Nothing is uploaded or sent to analytics.

Most tools work locally. Background removal and Document to Markdown upload selected files for server processing and delete them afterwards.

How to use

  1. Choose Generate or Validate.
  2. For generation, paste sample JSON and choose the draft and required-field option.
  3. For validation, paste both JSON and Schema to see every detected error.

Great for

  • Documenting an API contract
  • Checking imported data
  • Creating a starting schema for a project

Good to know

Generation infers types from one sample. Validation covers common type, required, enum, length, pattern and nested property rules.

Frequently asked questions

Which drafts are available?

Draft-07 and 2020-12 identifiers are available for generated schemas.

Does validation stop at the first error?

No. All supported nested errors are collected and shown together.

You may also like