Minify your HTML output in WordPress.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial Commit Oct 11, 2013 v1.2.0 Mar 14, 2016 v1.2.0 Mar 14, 2016
html-minify-options.php v1.2.0 Mar 14, 2016
html-minify.php Updated veresion number Nov 3, 2016

HTML Minify

HTML Minify is a plugin for WordPress that compresses the HTML output to reduce file size and improve performance. It's forked from a script by DVS.

Download HTML Minify

Getting Started

Getting started with HTML Minify is as simple as installing a plugin:

  1. Upload the html-minify folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.

And that's it, you're done. Nice work! You change what gets minified under "Settings" in the Admin Dashboard.

It's recommended that you also install the GitHub Updater plugin to get automattic updates.

Known Issues

It's been reported that data URIs may break the minifier. This has not been consistently duplicated, nor is their a fix available, but is something to be aware of.

How to Contribute

Please read the Contribution Guidelines.


The code is available under the MIT License.