Paste one representative JSON object from an API response, fixture, or configuration file.
Local JSON type generator
JSON サンプルを TypeScript インターフェースに変換します。
API レスポンスや設定サンプルから、ブラウザーで TypeScript 型を生成します。
* The JSON is parsed locally. Nothing is uploaded, stored, or sent to an API.
Local JSON type generator
From API response to editor autocomplete
Choose a root type name and generate nested interfaces for the object shape.
Review the inferred types against more than one response before shipping them as a contract.
FAQ
What can TypeSift infer?
Does TypeSift upload my JSON?
No. JSON.parse and code generation run in this browser tab.
Does one sample describe every API response?
No. The output describes the sample you provide. Compare it with other responses before treating it as a complete contract.
Does TypeSift generate runtime validation?
No. It creates compile-time TypeScript declarations only. Use a runtime schema when untrusted data must be validated.