JSON to TypeScript
Generate TypeScript interfaces or types from JSON. Arrays are merged and missing keys become optional.
JSON
TypeScript
Smart type generation
Objects inside arrays are merged into one interface. A key that is missing in some items becomes optional (replyTo?: number). Names come from the keys, and plural keys become singular (comments → Comment).
Guides
More free tools
JSON ViewerTree view, search, copy path. Handles huge files.JSON FormatterBeautify or minify JSON in one click.JSON ValidatorClear errors with exact line and column.JSON RepairFix broken JSON in one click.JSON to CSVFlatten nested JSON into a spreadsheet.JSON ⇄ YAMLConvert between JSON and YAML.JSON DiffSee what changed between two JSON files.JSONPath TesterQuery JSON with JSONPath expressions.