Frequently asked questions
Is my JSON uploaded anywhere?
No. The JSON is parsed and the types are generated entirely in your browser. Nothing you paste is sent anywhere or stored.
What can it generate?
TypeScript interfaces, Python Pydantic models and Zod schemas, from a single JSON sample. Switch between them with the tabs and copy the result.
How does it handle nested objects and arrays?
Nested objects become their own named types, and arrays use the element type. If an array holds several objects, their fields are merged and any field missing from some of them is marked optional.
Why is a field marked optional or nullable?
A field is optional when it appears in only some objects of an array, and nullable when a value was null. This keeps the generated types honest about what your data actually contains.
Is this useful for structured LLM outputs?
Yes. Paste an example of the JSON you expect a model to return and you instantly get a Pydantic model or Zod schema to validate it against, or a TypeScript interface for your code.