Toolvist

JSON Schema Generator

Analyse a JSON sample and generate a JSON Schema describing its structure and types. Free online schema generator with draft-07 output to copy.

Paste JSON to analyse.

Ready.

Root type

—

Properties

0

Max depth

0

Formats detected

0

JSON Schema Generator

Paste a sample JSON document and get a JSON Schema that describes it. Array items are merged so a schema built from a list of records captures every field, and common string formats like dates, emails and UUIDs are detected automatically.

How It Works

The generator walks your sample recursively. For arrays of objects it merges the schemas of every item, so fields that appear in only some records are still represented and required keys are the ones present in all of them.

  • Draft-07 and 2020-12 output
  • Merges array item schemas
  • Required keys inferred across records
  • String format detection (date, email, URI, UUID)
  • Enum detection for small value sets

Related Developer Tools

Browse all Developer Tools →

You might also need

Tools from other categories that people pair with the JSON Schema:

Browse the full tool directory →