DevTools Logo

TypeScript to JavaScript Converter

TypeScript to JavaScript Converter

Strip TypeScript types — annotations, interfaces, generics, enums — into runnable JavaScript.

TypeScript

client-side
type erasure
no network

Strips type annotations, interfaces, type aliases, generics, as/satisfies assertions, access modifiers, type-only imports, and converts enums to const objects. Strings, comments and regexes are preserved. It is a fast eraser, not a full compiler — review the output for unusual type expressions.