Paste a JSON sample, get clean, nested TypeScript interfaces. Runs entirely in your browser.
You've got the types — now get matching data. Spin up a live mock API that returns this shape, then simulate latency and errors to test your fetch + error handling.
Open the simulatorPaste a representative JSON object or array and click Generate interfaces. The generator infers field types, creates separate named interfaces for nested objects, merges keys across array items (marking inconsistent fields optional), and types arrays as T[]. Everything runs locally.
From their key, converted to PascalCase (e.g. address → interface Address). Arrays of objects produce a single merged element interface.
Fields absent from some array items become optional (field?:). A null value is typed as any | null so you can tighten it manually.
No — generation happens entirely in your browser.