WP Minify HTML

It compresses the HTML output and removes all new lines, extra spaces, HTML comments, CSS and JS comments single and multi-line both and delivers only one single line of HTML code to the client side. This will help you reduce the page size and apparently the load time.
This plugin will help you increase your SEO score.


  1. Activate plugin.Activate plugin
  2. Go to settings.Go to settings
  3. Enable HTML compression.Enable html compression
  4. Html compression enables for the currently active theme.Html compression enables for the currently active theme
  5. Compressed HTML output.Compressed HTML output

Stable version:-

  • 2.0

Installation instructions:-

  • Extract the zip file in the plugins directory and activate it from the dashboard.
  • You will see a new menu added in Settings named “Sr Html Minify”.
  • Goto Setting → Sr Html Minify, and activate the HTML compression for the currently active theme.


  • PHP 5.2 or later.
  • WordPress 4.7 or higher.

Tested up to:-

  • WordPress 4.9.8


This plugin will work perfectly if your theme is created in the standard way.

  • The Target template should start with get_header() before outputting.
  • Your theme footer or end of file should have wp_footer() just before closing body tag.

Donate to support 

Super Rishi

Super Rishi - Just Another Programming Geek

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *