About this tool
Infers TypeScript interfaces from the shape of your JSON. Arrays of objects are merged into a single interface, with fields that aren't present on every item marked optional. Nested objects get their own named interface based on the containing key. This covers common cases well but, unlike a full schema, can't know things like whether a "number" should really be a more specific literal type — review the output before relying on it.