Loading…
Generate TypeScript types from JSON.
Paste a JSON sample and get TypeScript types inferred from its structure — nested objects and arrays included. Great for quickly typing API responses.
Runs entirely in your browser — nothing is uploaded.
Array element types are inferred from the first item; empty arrays become unknown[].
Nested objects are inlined as structural types for simplicity — extract them into named interfaces as you like.