JavaScript圧縮ツール
ページの読み込みを速くするためにJavaScriptコードを圧縮
JavaScript Minifier Online
Minify JavaScript code to reduce file size — removes whitespace, comments, and shortens variable names. Paste your JS and get the minified version instantly, all in your browser.
FAQ
What does JavaScript minification do?
It removes whitespace, comments, and newlines, and may rename local variables to single characters. The resulting code is functionally identical but much smaller.
Can minified JavaScript be reversed?
Not perfectly. You can run a JS beautifier to re-add whitespace, but original variable names are lost. Use source maps in production to link minified code back to the original for debugging.
How much does JS minification save?
Typically 30–70% file size reduction. A 100 KB script often minifies to 30–60 KB, and further compresses with gzip to 10–20 KB.
さらに探す
おすすめのその他の 開発者ツール…
JSONフォーマッター
構文ハイライトとエラー検出でJSONを整形、検証、圧縮
Base64エンコーダー/デコーダー
テキストやファイルをBase64にエンコードし、Base64文字列を読めるテキストにデコード
URLエンコーダー/デコーダー
URLコンポーネントとクエリ文字列パラメータをエンコード・デコード
UUIDジェネレーター
ランダムUUID(v1、v4)を生成するか、複数のUUIDを一括生成
ハッシュジェネレーター
テキストやファイルからMD5、SHA-1、SHA-256、SHA-512ハッシュを生成
正規表現テスター
リアルタイムのマッチハイライトとグループ抽出で正規表現をテスト
JWTデコーダー
JSON Web Tokenをデコードして検査 — ヘッダー、ペイロード、署名を確認
HTMLフォーマッター
適切なインデントと構文ハイライトでHTMLコードを整形・美化