Skip to main content
>_devtools

TypeScript to JavaScript Compiler

Transpile TypeScript or TSX to JavaScript in the browser with target, module, JSX and decorator options.

How to use it

Transpile TypeScript or TSX to JavaScript in the browser with target, module, JSX and decorator options. Paste TypeScript above, choose the output target and module format, and read the emitted JavaScript.

Example

Input: const count: number = 3;
Output: const count = 3;

Limits and behavior

  • The compiler removes types but does not run your program.
  • Input is limited to 1 MiB of UTF-8 text.