Convert JSON to TypeScript interfaces, type aliases or a Zod schema. Handles nested objects, arrays, unions, null and optional keys, ready to paste into your project.
Paste the JSON response and copy the interfaces. Name the root type in the options.
If a key is missing in some objects of the same array, it is marked with a question mark.
A single sample cannot show the real type. Edit it to something like string | null.
Be the first to share your experience with this tool — your feedback helps others.