Toolzy

JavaScript Minifier

Basic JS minify — remove comments and blank lines.

Powered by terser; minifies in your browser.

Input
Output

Minify JavaScript with terser — safely removes comments and whitespace and shortens code. Runs in your browser.

How to use

  1. Paste JavaScript.
  2. Comments and blank lines are removed.
  3. Copy the result.

Frequently asked questions

Is it a full minifier?
No — for production, use a build-time minifier like Terser.
Will it break my code?
It is conservative, but always test the output.

Related tools