UnQTools
AI Runs in your browser

AI TypeScript Interface Generator

Generate TypeScript interfaces from JSON samples. Pure-JS recursive type inference — nested objects extracted into separate interfaces, optional & nullable handling, union types, enum (string-literal) detection, multi-sample merging for accurate optional fields, runtime type guards, and JSDoc from keys. Configurable root name, interface vs type, export, readonly, optional style, and array style. Optional BYO-key LLM. 100% client-side, nothing uploaded.

100% Private Works Offline Instant

Generate TypeScript interfaces from JSON samples. Pure-JS recursive type inference — nested objects extracted into separate interfaces, optional & nullable handling, union types, enum (string-literal) detection, multi-sample merging for accurate optional fields, runtime type guards, and JSDoc from keys. Configurable root name, interface vs type, export, readonly, optional style, and array style. Optional BYO-key LLM. 100% client-side, nothing uploaded. Everything runs locally in your browser — your data never leaves your device.

How to use

  1. Enter your input in the tool above.
  2. Adjust any options to your preference.
  3. Use the Copy or Download buttons to save the result.
  4. Everything happens locally — your data never leaves your browser.