JSON to TypeScript

JSON
TypeScript
How to use
  1. 1.

    Paste a JSON object into the Input panel

  2. 2.

    The TypeScript interface is generated instantly, with inferred types for all fields

  3. 3.

    Copy and paste it into your project

Common uses
  • Typing API response objects when building TypeScript applications

  • Generating interfaces for configuration files or stored data structures

  • Bootstrapping types from sample data before writing full models