Affiliate Disclosure: By buying the products we recommend, you help keep the lights on at MakeUseOf. Read more.
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 by removing unneeded objects.
- Remove white spaces, blank and redundant attributes.
- Remove optional tags and comments.
- No registration required.
Visit HTML Minifier @ www.kangax.github.com/html-minifier