All tools

JSON → TypeScript

Turn any JSON sample into TypeScript interfaces, inferring types and nested shapes automatically.

Infers types from your sample, including nested objects, arrays, mixed unions and optional keys (when an array of objects has inconsistent fields). Runs entirely in your browser.