1001Tools

JSON to TypeScript

Turn JSON into TypeScript interfaces or type aliases. Nested objects become named types, arrays are merged into union types, and missing keys become optional.

JSON Input

Paste JSON below. Types update as you type.

TypeScript Output

Generated TypeScript declarations.

types.ts

Related tools

  • JSON to XML Converter

    Convert JSON documents to XML instantly. Supports attributes, nested elements, and repeated tags.

  • JSON to YAML Converter

    Convert JSON documents to YAML instantly. Supports nested objects, arrays, and common scalar types.

  • JWT Decoder

    Decode and inspect JSON Web Tokens (JWT) instantly. View the header, payload claims, and signature without any server-side processing.