Skip to main content
Develop Tools

JSON Schema Generator

Generate Draft 2020-12 or Draft-07 JSON Schema from one or more JSON samples directly in your browser.

Generate

Paste JSON or load one or more JSON files.

Input JSON

Direct input
0 characters

Generate

Read-only
0 characters

Enter JSON, or open a sample or JSON file.

About this tool

Generate a JSON Schema starting point from JSON samples such as API responses and configuration files.

Features

  • Draft 2020-12 · Draft-07
  • object · array · string · integer · number · boolean · null
  • Merge multiple samples, required determination, mixed types, tuples
  • Estimate formats such as date-time, email, UUID, IP, and URI

How to use

  1. Paste JSON or open one or more .json files.
  2. Select the Schema specification, required fields, arrays, and inference settings.
  3. Run by selecting "Generate Schema" or pressing Ctrl/Command + Enter.
  4. Review warnings, then copy or save the generated result.

Limitations

Privacy: JSON, files, generation settings, and generation results are processed only in your browser and are not sent to or stored on Develop Tools servers.