Boring JSON to TypeScript
Infers TypeScript interfaces from a JSON sample.
About this tool
Generate TypeScript interfaces from a JSON sample. Merges array elements, marks missing keys optional, names nested types.
Nothing is uploaded. This page makes no network requests with your data, and its Content-Security-Policy forbids them.
This tool is built from Sandbox blocks. Use “Take it apart” to change how it works.