Skip to content
Spellkit
All guides

How to minify & transpile JS/TS

Run esbuild right in your browser to transpile TypeScript to JavaScript and minify it — fast, and nothing leaves your device.

Steps

  1. Paste your code (JavaScript or TypeScript).
  2. Toggle Minify on or off, then click Bundle / minify. The first run loads the esbuild engine (a one-time wasm load).
  3. Copy or download the result as bundle.js.

Type annotations and modern syntax are transpiled down to ES2017. Syntax errors are reported with a clear message.