JS Compress & Format

JS Optimization Lab

JS Compress & Format

Paste JS code, choose minify or beautify, and optionally mangle names.

Paste JS
Input chars: 0Output chars: 0
Result

No result yet. Click minify or beautify to generate.

MinifyBeautify

No result yet. Click minify or beautify to generate.

About

Online JS compressor/beautifier powered by Terser. Supports mangling variable and function names with one-click copy output.

How to Use

  1. Paste or type your original JS code
  2. Toggle mangling options, then click Minify or Beautify
  3. Review the output and copy or clear to start over
No result yet. Click minify or beautify to generate.
JS Compress & Format - Online Minify/Beautify