/
入力とオプション
本物の Terser エンジン (必要時に読み込み、このページが実行するときのみ約 350 KB) で JavaScript を最小化します: 名前のマングリング、圧縮、コメント除去。
結果
ツールを実行すると結果がここに表示されます。
JS 最小化 完全ガイドと仕様
100% ブラウザ内サンドボックスの安全性
すべての計算と変換は V8 エンジンまたは WebAssembly によりブラウザ内でローカルに実行されます。ファイルやテキストがデバイスの外に出ることはありません。
概要
Terser — the minifier behind most production bundlers — runs on demand in your browser: compression, name mangling and comment removal with a real parser, so code semantics survive.
使い方
1
Paste your JavaScriptES5 or modern syntax.
2
MinifyTerser loads on demand and runs locally.
3
Copy the outputMinified, semantics-preserving code.
形式と仕様
入力形式:
Plain text or file input
出力形式:
Converted or analysed output
FAQ
Why is the first run slower?
Terser downloads on demand and is cached afterwards; it never loads on other pages.
Is my code uploaded?
No — minification runs in the tab.
Does it handle modules?
Scripts are treated as classic scripts; use a bundler for import and export code.
制限事項
- No sourcemap generation in this release.