Dev Tools
Client-sidefiles never upload

JSON → TypeScript

Paste any JSON; **live-infer TypeScript types** — auto-named nested types (`users → User`), shape-merging across array elements, optional-field detection, mixed-type arrays as unions. Choose interface vs type, root name, and `readonly`. Runs entirely locally — no upload.

How to use
  1. Paste any JSON on the left (API response, config file, fixture — anything).
  2. TypeScript interface / type is generated instantly with smart nested-type naming (e.g. User_Address).
  3. Array with mixed-shape elements? Shapes are merged and optional is auto-marked.
  4. Toggle readonly and type vs interface at the top, then copy into your SDK / model file.
Tips
  • Want JSDoc comments? Add a _doc field in your JSON — it gets attached to the generated type.
  • Null values in the API response become T | null — never silently dropped.

Related tools