Saltar al contenido
Sin subidas · Procesado en el navegador

JSON a TypeScript

Deduce interfaces de TypeScript a partir de un JSON, listas para pegar en un archivo de tipos.

Márcala como favorita para encontrarla rápido en el inicio

How to use it

1Step 1Paste your text into JSON input to start
2Step 2Press Convert and the result appears below
3Step 3Use the copy button to take the result anywhere

If the result looks off

The result looks cut off

Use the copy button to get the full result.

My input disappeared

It is saved on this device. Clearing browser storage removes it too.

Preguntas frecuentes

Does it mark optional fields?

Keys missing from some array items are inferred as union types. Adjust required/optional by hand after generating.

Herramientas relacionadas

Ver todo →