Task path / input to outcome
How to minify HTML
- 01
Paste the markup
Paste UTF-8 source up to 256 KiB. The indent control is disabled for Minify.
- 02
Try the sample first
Sample loaded. Run the local transformation when ready.
- 03
Press Minify
Press Minify to remove HTML comments without collapsing HTML whitespace. Inline CSS and JavaScript remain unchanged. Check the output in the target page.
- 04
Check the statistics
Compare UTF-8 input and output bytes and the savings percentage. A negative saving means the result grew; inspect it before copying or downloading.
- 05
Copy or download the result
Use Copy result for the clipboard or Download to save toolars.min.html. Reset clears the panes for the next document, and the statistics reset along with the workspace.