Aller au contenu
Aucun envoi · Traité dans le navigateur

JSON vers TypeScript

Générez des interfaces TypeScript d’une charge utile JSON, prêtes à coller dans un fichier de types.

Marquez-le comme favori pour le retrouver vite sur l’accueil

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.

Questions fréquentes

Does it mark optional fields?

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

Outils associés

Tout voir →