HTML-Minifier: Compress HTML Code by Removing Extra Objects

TehseenBaweja 14-03-2010

When designing a dynamic website, the code can get really messy. A lot of objects that are not really needed can get in your code and make it long and confusing. HTML Minifier lets you compress html code and remove all the extra things such as comments, removing blank attributes, collapsing white space, removing empty elements, etc.


You can also get rid of redundant attributes and choose to validate your HTML. Some or all of these options can be selected to compress your HTML. Once you click on Minify, the tool gives you a new HTML code and shows the savings you got by compressing your HTML.

Your resulting code might not look as clean as the original one but it definitely would be less confusing when reading or debugging it.

compress html code

compress html code


  • Compress HTML by removing unneeded objects.
  • Remove white spaces, blank and redundant attributes.
  • Remove optional tags and comments.
  • No registration required.

Visit HTML Minifier @

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

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

  1. Shruti- Mobile Application Development Company
    April 2, 2010 at 12:02 am

    Its Good to use. I have tried it with one of our website html page which is of 21.9 KB which is now reduced to 17.5 KB.