Drag and drop HTML files into the box above to have them minified by html-minifier.
It runs html-minifier with the following options enabled:
HTML minification can be very worthwhile if you’re serving content to clients that don’t support gzip. If you’re serving static html assets, then there’s nothing to lose from minifying them as part of your build process, even if the savings is small.
The author of the html-minifier that powers this tool has a great breakdown of how the tool works and some examples of the potential savings on his blog. Definitely check out the costs and benefits section if you’re still unsure if minifying HTML makes sense for your use case: http://perfectionkills.com/experimenting-with-html-minifier