HTML圧縮
コメントと余分な空白を削除してHTMLを圧縮します。
ブラウザ内で動作します。ファイルは端末の外に出ません。 確認方法を見る
…
使い方
- 1項目を入力
数値を入力するか、必要なオプションを選びます。
- 2結果を見る
値を変えるとすぐに答えが更新されます。
- 3活用する
結果をコピーするか書き留めてください。何もどこにも送信されません。
About this tool
Paste your HTML to remove comments and collapse extra spaces and line breaks. Content inside pre, textarea, script and style blocks is kept as it is. Tick the aggressive option to also remove the spaces between tags, which makes the file smaller but can close the gap between inline words.
When to use it
Compress HTML by removing comments and extra spaces.
Tips
Check pre blocks, which keep spacing.
Privacy
Everything runs in your browser, so your data is not uploaded or stored.
Notes
Minifying removes comments and extra spaces, but not required spaces between inline elements. Keep a readable source and publish the minified copy.
最良の結果を得るためのヒント
結果を信頼する前にすべての項目を確認してください。数字がひとつ違うだけで答え全体が変わります。給与明細、請求書、証明書、契約書にある正確な数字を使い、計算した日付を控えておきましょう。税率、しきい値、ルールは随時変わるため、税金、手数料、法的な事柄については結果を概算とみなし、このページに記載された公式情報源で確認してください。シナリオは何度でも試せます。何も保存・送信されず、ページを再読み込みすると入力欄はクリアされます。
ポイント
- カテゴリ: ドキュメント
- ブラウザ内で動作し、登録もアップロードも不要です。
- 入力した情報は端末内にとどまります。
- 多くの言語で利用できます。
- 内容の最終確認日:
よくある質問
Is it safe to use?
Yes with the default settings. Check the page after using the aggressive option, because spaces between inline tags can matter.
Are conditional comments kept?
Yes. Conditional comments for old versions of Internet Explorer are left alone.
Are pre blocks kept?
Yes.
How much does it save?
Often 10 to 30 percent.
Does it minify inline CSS and JS?
This tool handles the HTML only. Use the CSS and JS minifiers for those.