Minify HTML output for clean looking markup and faster downloading.
As of April 2026, Minify HTML is a WordPress html plugin with 10K+ active installations and a 4.7/5 rating from 33 reviews. It has been downloaded 245K+ times in total. Requires WordPress 3.6.0+ and PHP 5.2.4+. Available on WordPress.org since 2016. Actively maintained — updated within the last month. Download volume is stable this week. Top alternative: Shortcoder — Create Shortcodes for….
Try it out on a free dummy site here => https://demo.tastewp.com/minify-html-markup
Ever look at the HTML markup of your website and notice how sloppy and amateurish it looks? The Minify HTML plugin cleans up sloppy looking markup and minifies, which also speeds up download time.
Make your website’s markup look professional by using Minify HTML. Easy to use, simply install and activate (with additional options for advanced settings).
Minify HTML also has optional specialized minification for JavaScript and internal CSS. It doesn’t mess with your textareas or preformatted text.
Settings options to removes HTML, CSS and JavaScript comments (leaving MSIE conditional comments), remove unneeded XHTML closing tags from HTML5 void elements and remove unneeded relative schemes and…
I have used this plugin before and found that it introduces many hidden bugs in the code. It often breaks CSS styles, but you only see these problems when comparing staging and production sites.
Other users have the same problems, and it’s hard to spot the little styling errors it creates.
If you’re using modern WordPress (Gutenberg), it’s better to find another minification plugin. I think it works fine for old-school non-Gutenberg sites.
What this plugin does is perfect. HTML minification is impressive and even in an ecommerce with many plugins, there were no problems on the front. Thanks for the excellent work. Please don’t abandon him!
Thank you for such a great and efficient plugin without any extra bloat!
Best plugin for compress HTML, CSS and Java Script code in WordPress website.
Very easy to use, clear improvement in load speed regardingless of what google says.
1 suggestion I do have in when inline JS and double slash comments causes the JS to break.
ex:
//arrows: true,
drag: true,
causes this:
//arrows: true,drag: true,
if the plugin could remove the // comments before inlining everything that would be amazing!
| WordPress | 3.6.0+ requiredTested up to 6.9.4 |
| PHP | 5.2.4+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.