Schema input
- Input chars
- 1274 / 61440
- Output limit
- 122880
- Worker timeout
- 4000 ms
Paste a schema, choose a type name and generate reviewable TypeScript declarations. The MVP stays in the browser, blocks remote refs and treats generated output as plain text.
Use curated presets or paste your own schema. The converter supports common object, array, enum, union, allOf and local ref patterns without importing Node-only tooling.
Object schema with $defs, local refs, required properties and enum role values.
JSON Schema often starts in API contracts while TypeScript types live in application code. This playground makes the shape visible before copying declarations into a repository: required fields, optional fields, enum values, local refs, unions and index signatures are easy to inspect.
The converter does not fetch remote refs, run arbitrary JavaScript, read files, execute CLI behavior or claim full draft 2020-12 compatibility. Unsupported validation keywords are surfaced as diagnostics so the generated declaration stays honest.