HTML Compressor

Minify your HTML files online

How to Compress HTML ?

Simply copy and paste the unminified (or minified) html code in the textbox and click on compress button to get the compressed result. Any error while minification will appear on Errors tab. You can also empty the textarea via Reset button. The compressor is enabled with the best option and HTML5 doctype.

Why Compress HTML ?

Though compressing html code now-a-days doesn't matter a lot due to functionality like code-splitting. But it is still useful if you have a static page website or blog or you're touching up an old website where you're too lazy to setup build tools. Every byte count for performance.

Privacy Note: 

HTML data sent to server is short lived and stored only in memory till compressor does its job. Not any kind of database is used for this tool.