kitzos

JSON to TypeScript

Convert JSON objects to TypeScript interfaces automatically. Nested objects become named interfaces.

How to use

  1. 1

    Paste JSON

    Enter a JSON object or array.

  2. 2

    Set root name

    Name the top-level TypeScript interface.

  3. 3

    Convert and copy

    Generate nested interfaces and copy the TypeScript.

Frequently Asked Questions

Each nested object becomes a named interface derived from its key.