sinikoding

JSON to TypeScript

Turn a JSON sample into a TypeScript interface you can paste into your code.

Through the API
curl -X POST https://sinikoding.dev/api/v1/json-to-types \
  -H 'content-type: application/json' \
  -H 'x-api-key: tk_live_…' \
  -d '{"input":"…","name":"…"}'

Need json to typescript from your own code? Create a free account to get an API key. This page stays free without one.

Create account