JSON Schema Explorer

Generate TypeScript, JSON Schema, Zod, Python, or Go types from JSON samples.

Types are inferred from this sample JSON. Missing keys in your real data may be required here, and nested values use the shapes shown in the sample.

JSON Input

Generated code

Interfaces and type aliases

interface User {
  id: number;
  name: string;
  email: string;
  active: boolean;
}