ホーム
Tom Utilities

JavaScript ミニファイアー

HTML・CSS・JavaScript

コメントと不要な空白を削除して JavaScript のサイズを削減します。

入力

結果

使い方

How to minify JavaScript

Press Minify to strip comments and collapse whitespace. Identifiers are never renamed.

  1. Paste JavaScript into the input editor.
  2. Press Minify.
  3. Copy the compressed code.

よくある質問

Does it rename variables?

No, renaming is not performed so the output stays predictable and safe.

Is the result still valid?

Yes, the minifier is newline safe and keeps automatic semicolon insertion working.