Paste sample JSON and get a draft 2020-12 JSON Schema with types and required fields. Runs locally in your browser.
Infers types (string, integer, number, boolean, null, object, array) from your sample. Every key seen is marked required; arrays of objects merge their properties and only keys present in every item stay required. Treat the result as a starting point and tighten it (formats, enums, min/max) by hand. Nothing is uploaded.
Related: JSON Formatter & Validator · Base64 Encode & Decode · URL Encoder & Decoder · SHA-256 / SHA-1 Hash Generator · Unix Timestamp Converter
A draft JSON Schema inferred from the sample JSON you paste in.
No, it infers types from one sample; tighten required fields, formats and enums by hand.
string, number, integer, boolean, null, object and array.
More free tools: 150+ free online calculators · Free printable planners