Switch tool

JSON to Types

Infer type definitions from JSON for TypeScript, Go, Java and Kotlin — auto-names nested types, merges object shapes across array items, and marks nullable fields.

Target
JSON input
344 chars · 17 lines
TypeScript interfaces
441 chars · 27 lines