TypeScript <-> C# DTO Converter

Convert a TypeScript interface or C# class/record to the other language.

Paste a TS interface/type/enum or a C# class/record to convert.

About this tool

Paste a TypeScript interface/type/enum or a C# class/record/struct/enum and get the equivalent declaration in the other language. Handles primitives, nullable types, arrays, generics, nested objects and enums.

An unhandled error has occurred. Reload ×