CSS圧縮ツール
文字列、URL、重要なコメント、意味のある空白を保ちながらCSSをブラウザ内で圧縮します。
パーサーを使ってJavaScriptをブラウザ内で圧縮します。コードは実行されません。
このツールはブラウザ内で動作します。入力内容、ファイル、生成した値はこの端末に残ります。お気に入りと最近使ったツールを利用する場合も、ローカルストレージに保存されるのはツール名だけで、パスワード、文書、QR コードの内容は保存されません。 詳しくはプライバシーポリシーをご覧ください。
このツールの詳しい解説(使い方、例、よくある質問)は、現在英語のみでご用意しています。
Parse JavaScript with Terser, then compress and mangle it. Use it when a small script should be shorter and you want a parser rather than find-and-replace. The script is not run, and TypeScript comes back as an error.
function greet(name) { return "Hello, " + name; } is parsed, then shortened by removing whitespace and renaming locals where safe.
If the parser cannot read the file, you get an error. The tool does not try to “fix” broken JavaScript.
JavaScript cannot be minified safely with simple find-and-replace. This tool uses Terser in the browser to parse the source, then compress and mangle it. Your code is not executed with eval or new Function. Constant-expression evaluation is turned off so user expressions are not run during minify. Very large files are rejected so the tab stays responsive.
Terser parses the source, then compresses and mangles it. The script is not run. TypeScript, and JavaScript the parser cannot read, come back as an error rather than a shorter file. Constant expressions are not evaluated during the pass.
See the disclaimer for what these tools do not cover.
文字列、URL、重要なコメント、意味のある空白を保ちながらCSSをブラウザ内で圧縮します。
pre、textarea、script、styleの内容を保持する慎重な処理で、HTMLをブラウザ内で圧縮します。
JSONを読みやすく整形、圧縮、または妥当性を確認します。コメント、末尾のカンマ、シングルクォートは使えません。CSVへの変換はしません。
テキストをUTF-8でBase64にエンコード、またはデコードします。結果は誰でもデコードできるため、パスワードを隠す用途には使えません。ファイルは扱いません。
安全な乱数源を使い、ブラウザ内でUUID v4を1つまたは複数生成します。
encodeURIComponentでURLの構成要素をブラウザ内でエンコード・デコードします。