Guides
These articles use the same conversion engine as the tool. Each one includes JSON input, the generated TypeScript, and edge cases. They are not a substitute for the TypeScript handbook.
- How to Convert JSON to TypeScript Interfaces
Walk through converting a JSON object into TypeScript interfaces, including nested objects, arrays, and a root name you can paste into a project.
- How to Convert Nested JSON to TypeScript
See how nested JSON objects and arrays of objects are extracted into named TypeScript types instead of one giant inline shape.
- Optional vs Nullable Properties in TypeScript
Understand how this converter marks missing JSON keys as optional and null values as null, and when to flip Null fields to optional.
- How to Generate TypeScript Types from API Responses
Copy a real API JSON response, name the root type after the resource, and generate interfaces you can keep next to your client code.
- TypeScript Interface vs Type
Compare TypeScript interfaces and type aliases in the context of JSON conversion, and when to use each output mode on this site.