JSON to JSON Schema Generator | 2lus

Infer a Draft 2020-12-compatible structural schema from sample JSON with merged array variants.

What it does

Infer a basic schema from sample JSON. Format code, inspect JSON or generate developer text.

What this tool accepts

text, a URL, or values entered in the tool

What it produces

HTML, CSS, JS, JSON, TXT, CONF

How to use it

  1. Choose json-view and paste valid JSON.
  2. Run, expand objects and copy values or paths.

Example

Input:
{"count":2}

Options:
mode: json-schema

Output:
object / count: integer

Tips and notes

Privacy and processing

Processing runs locally in your browser until you explicitly choose to share a result.

Open this tool or browse all 2lus tools.