JSON Developer Tool
Turn any JSON sample into ready-to-use TypeScript interfaces, including nested types.
Paste a real JSON response — from an API, a fixture file, or a database export — and get
ready-to-use TypeScript interface declarations. This saves the tedious, error-prone work of
hand-typing interfaces for large or deeply nested payloads, and gives your frontend or Node.js code proper
type safety from day one.
address field produces an Address interface).string[] or number[].(number | string)[].Item[].null values are typed as null — widen them to string | null etc. by hand if a field is sometimes populated.RootList type alias for the array itself.null in your sample is typed as null. If you know a field can be either a value or null across different responses, manually widen it to something like string | null.