Document an API payload
Create an initial schema while documenting an existing request, response or event format.
Generate tool
Generate a practical JSON Schema from sample JSON locally in your browser. Review inferred types and required fields before use.
Your input and result are not sent to JSON Hearth or stored on a server.
When to use it
Schema inference turns a representative JSON example into a starting contract. It can save time, but the result should be reviewed against real business rules.
Create an initial schema while documenting an existing request, response or event format.
Generate a first draft before adding required fields, ranges, patterns and descriptions manually.
Summarize nested types and properties in a machine-readable form.
How it works
Paste a value, open a local file or begin with the working sample.
The transformation executes in your browser, not on our servers.
Check the output, then copy or download it for your next task.
Important limitations
One example cannot reveal every optional field, allowed value or future variation.
Inferred required fields and types must be reviewed before production validation.
Common questions
No. Your input is processed by code running in your browser and is not sent to an application server.
Yes. The tool is free, requires no account and can be used directly in the browser.
Treat it as a draft. Add domain rules and test it against multiple valid and invalid examples.
A single sample cannot reliably distinguish optional fields from fields that simply happened to be present.