Generate TypeScript, Go and Python types from JSON
Paste one JSON sample and get type definitions in ten formats. It runs in your browser only.
Good to know
- Types are inferred from one sample. A null value or an empty array gives a wide type.
- One sample is read at a time. Optional fields cannot be seen from one sample, so edit them by hand.
- The converter (about 1 MB) loads once on first use. It is quicktype-core, Apache-2.0.
Your input is processed in this browser only and never sent to a server. Results follow the standards and library behavior; check them before you put them in production.