FreeTool
Developer Tools

JSON to TypeScript

Paste JSON and instantly get TypeScript interfaces or type aliases with nested types

JSON Input
TypeScript Output

How it works

  • • Paste any valid JSON and get a TypeScript interface or type alias.
  • • Nested objects become inline types. Arrays are inferred from the first element.
  • • Change the root name to customize the top-level identifier.
  • • Everything runs locally in your browser — no data is sent anywhere.

Don't see what you need?

We build free tools based on community feedback. If there's a utility that would improve your workflow, suggest it today!