Toolzy

HTML Minifier

Minify HTML by removing comments and whitespace.

输入
输出

Reduce HTML size by stripping comments and collapsing whitespace between tags.

使用方法

  1. Paste HTML.
  2. The minified output appears.
  3. Copy the result.

常见问题

Is it lossless?
It removes comments and inter-tag whitespace; significant whitespace in content is largely preserved.
Does it minify inline CSS/JS?
No, only HTML structure.

相关工具