JSON Schema Generator
Turn real API examples into a starting JSON Schema. Paste a sample object or array and get a draft 2020-12 schema you can refine for validation and docs.
Arrays are inferred from all items, object fields are merged across samples, optional fields get x-requiredConfidence, and strings can detect email, uri, date-time, date and uuid formats.
sample.json
schema.json
runtime
Browser-local execution
Inputs stay inside the current tab unless you copy, download or explicitly export.
memory
Session handoff
Magic Paste can pass input to a target tool through sessionStorage, never through the URL.
control
User-owned state
Favorites, recent tools and workflow history are local browser data you can clear from the browser.
smart handoff graph
session handoff readySuggested next moves
/web
OpenAPI Mini Inspector
List endpoints, methods and response codes from OpenAPI JSON or common YAML locally.
/json
JSON to TypeScript
Generate TypeScript interfaces from any JSON sample.
/json
JSON Tree Diff
Compare JSON structurally and report changed paths without whitespace noise.
/json
JSONPath Query
Query nested JSON with JSONPath-style selectors and copy matched values.
sponsor
Sponsor this toolFixed native slots for developer products. No third-party tracking, no popups, no layout shift.
01
How to use
- 01Paste representative JSON into the left editor.
- 02Set a schema title.
- 03Copy the generated schema from the right editor.
02
FAQ
- Can one sample produce a perfect schema?
- No. It gives a strong starting point. Arrays of multiple objects help infer optional fields and mixed primitive types.
- Is this uploaded to a server?
- No. JSON parsing and schema generation run in your browser.
03
Related tools
- /web→OpenAPI Mini InspectorList endpoints, methods and response codes from OpenAPI JSON or common YAML locally.
- /json→JSON to TypeScriptGenerate TypeScript interfaces from any JSON sample.
- /json→JSON Tree DiffCompare JSON structurally and report changed paths without whitespace noise.
- /json→JSONPath QueryQuery nested JSON with JSONPath-style selectors and copy matched values.