J
JSON to TypeScript
Convert JSON data to TypeScript interfaces with inferred types and nested support
JSON Input1 lines
TypeScript Output
TypeScript interfaces will appear here...How it works: Paste your JSON data and this tool generates TypeScript interfaces with inferred types. Nested objects create nested interfaces, arrays infer element types, and primitives map to
string, number, or boolean. Enable "Optional fields" to make all properties optional with ?.